"Load Driver" from a Script: How?

A

Auto

Hello,

Is there a way to "Load Driver" from a Script / Batch File / Command Line /
WMI / API ?
If yes: how ?

Per example: Load a Driver for Intel SATA RAID.
With diskpart.exe i saw that i can RESCAN the disks, also using a script,
but What about Load a Driver ?

Thanks
 
A

Andrew McLaren

Auto said:
Is there a way to "Load Driver" from a Script / Batch File / Command Line
/
WMI / API ?


Loading drivers in a script or from the command line is not a very common
type of operation. But ... the Devcon.exe tool in the Windows Device Driver
Kit (DDK) lets you load and configure drivers from the command line. You
could call it in a batch file or script as well. There is info about DevCon
and a download link, here:

http://support.microsoft.com/kb/311272/

Devcon has not been tested or supported on Vista, as far as I know. So if
you totally trash your box, youcan't turn to Microsoft for help. But I
believe it works okay on Vista, same as on XP and Windows 2003.

Hope it helps,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top