Featured Resource:

line

Newsletter

Email Address:


line

Ask the Expert

Have a question for our resident expert? Email your questions to Bob or post in the Forum.

« Complete PC Backup | Main | Dell Vista Upgrade Arrives (Finally!) »

Drvload for Windows PE

I wrote before about the Peimg tool and its ability to let you inject drivers into an offline Windows PE image. There is another tool provided for installing drivers to a booted Widnows PE image. This tool is Drvload and it can be helpful in loading drivers that might give you trouble when trying Peimg.

If you are automating things in your image startnet.cmd is a logical place for this command-- before or after the wpeinit call would depend upon if you were loading a nic driver or not.

The only parameter you need pass it is the path to an .inf file (which should obviously be in a folder with any required source files it depends upon). If the driver. sys file requires a reboot, you won't be able to use Drvload, but if it is the inf you supply that is requesting a reboot, Drvload will ignore it.

One cool thing about it is that you can load multiple drivers in a single command line, but specifying multiple .inf files (separated by comma's). Wildcards are not supported.

As you would expect, if any drivers failed to install non-zero %errorlevel% value (zero for success).

Note: This tool replaces the earlier drvinst command line tool from earlier releases of Windows PE.

For [very little] more on Drvload, see Add a Device Driver to an Online Windows PE Image

Library Resources

line
line

Bob Kelly's Bio:

Bob Kelly is the founder of AppDeploy.com — a resource focused on desktop management products and practices. He is author of the Start to Finish Guide to Scripting with KiXtart and The Definitive Guide to Windows Desktop Administration. He is also president and co-founder of iTripoli, Inc. who provide AdminScriptEditor.com, home to an integrated suite of scripting tools and a shared library of scripts and language help. Not enough? For more on Bob click here.