enable/disable hardware by programme.

Posted on 2007-07-30
Medium Priority
Last Modified: 2013-12-17
I need to write an application in either .NET 2.0 or Visual C++ 6.0, which can gather the list of all devices attached on a system and enable/disable them. I know that device manager is there, but I need to do it through my code.
Question by:ashu01
  • 2
LVL 15

Assisted Solution

qz8dsw earned 450 total points
ID: 19595030
LVL 11

Accepted Solution

Jase-Coder earned 1050 total points
ID: 19596946
to disable hardware I think you need the device driver development kit. If you have this library then source code for a tool called devcon will be in the source directory. You should look at the source code as this application can disable hardware
LVL 11

Expert Comment

ID: 19596955

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question