"Load Driver" from a Script: How?

Posted: 07-13-2007, 10:46 PM
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


Reply With Quote

Responses to ""Load Driver" from a Script: How?"

Andrew McLaren
Guest
Posts: n/a
 
Re: "Load Driver" from a Script: How?
Posted: 07-14-2007, 12:08 AM
"Auto" <Auto@Auto.com> wrote ...
> 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,
--
Andrew McLaren
amclar (at) optusnet dot com dot au


Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
XPe PE can't load NIC driver, "tools" via setup.exe can't find fil robinasu Windows XP Embedded 1 11-28-2007 12:41 AM
"Load Driver" from a Script: How ? Auto Windows Vista Hardware & Devices 2 07-16-2007 05:24 PM
"Windows can not load the device driver for this hardware (code 39)" and "RUN DLL32 EP252" Yogiv Windows XP Embedded 5 10-08-2004 06:08 PM
"can not load the device driver for this hardware - code 39" and "RUN DLL32 EP 252" Yogiv Windows XP Embedded 1 10-07-2004 11:05 PM
cannot load device driver "access denied" Freddy Windows XP Security & Administration 1 02-07-2004 03:15 PM