Sign in to follow this  
Followers 0
sgufa

Automating devices detection and installation

6 posts in this topic

I'm trying to make a script that can detect unknown devices and install drivers from a folder that contains all derivers i need. suggestions?

Share this post


Link to post
Share on other sites



#4 ·  Posted (edited)

With the help of Devcon http://support.microsoft.com/kb/311272 you could manually install each inf like this:

devcon install drivername.inf

You can also scan for new hardware using:

devcon rescan

Edited by weaponx

Share this post


Link to post
Share on other sites

yeah but i heard that it can be done with a dllcall to a windows dll...

Share this post


Link to post
Share on other sites

Paths for device drivers can be added in to the registry key

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\DevicePath

All entries are separated with a semicolon eg c:\drivers\network\onboard;c:\drivers\audio;c:\drivers\audio\onboard

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  
Followers 0