"Load Driver" from a Script: How?

  • Thread starter Thread starter Auto
  • Start date Start date
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
 
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,
 
Back
Top