Jump to content
Sign in to follow this  
probedrone

Disabling a system device automatically

Recommended Posts

I have a device installed on the system that sometimes crash when running certain programs, I need to make a autoit script that can disable and enable that device whenever i want. The thing is that I dont want to use mouseclicks (unreliable) since I might use this program on different computers, so does anyone know a way to access device manager and working with it without mouseclicks? Or even better, is there some value I can change in the registry that will do the same thing?

Share this post


Link to post
Share on other sites

The DevCon utility is a command-line utility that acts as an alternative to Device Manager.

Using DevCon, you can enable, disable, restart, update, remove, and query individual

devices or groups of devices. DevCon also provides information that is relevant to the

driver developer and is not available in Device Manager.

Link : http://support.microsoft.com/default.aspx?...b;EN-US;Q311272

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...