Using a command to open the Device Manager

  • Thread starter Thread starter jayderk
  • Start date Start date
J

jayderk

I was wondering if anyone knows of a way to open the device manager, OR
system properties?


thanks in advanced,
Jay
 
jayderk,

Device Manager is enabled through the Microsoft Management Console.
Because of this, you can just execute the msc file that is used for device
manager, in this case "devmgmt.msc". You can just create a new instance of
the Process class and pass "devmgmt.msc" as the program to execute:

// Show the device manager.
Process.Start("devmgmt.msc");

Hope this helps.
 
Back
Top