Invoking a Windows 2000 wizard from the command prompt

  • Thread starter Thread starter Greg
  • Start date Start date
G

Greg

I am looking for a way to install a device driver from the
command prompt or while running a batch file. I am
assuming the hardware is already detected, but the driver
is not installed. To do this, I would like to invoke the
Upgrade Driver wizard to go through the steps of
installing the driver using an existing custom driver.inf
file.

In general is there a way to invoke any of the Windows
wizards from the command prompt?

Thanks,
Greg
 
Hi Greg,

According to KB311272, you can use the DevCon command line utility (devcon.exe) to
(among other things) manually install a device. For more information see the
following Microsoft Knowledge Base Article:

KB311272 - FILE: DevCon Command Line Utility Alternative to Device Manager
http://support.microsoft.com/?scid=311272

--
Carrie Garth, Microsoft MVP for Windows 2000
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- c x g

: "Greg" <greg.davis AT gdds DOT com>
: Wrote in message : Sent: Tuesday, September 02, 2003 12:42 PM
: I am looking for a way to install a device driver from the
: command prompt or while running a batch file. I am
: assuming the hardware is already detected, but the driver
: is not installed. To do this, I would like to invoke the
: Upgrade Driver wizard to go through the steps of
: installing the driver using an existing custom driver.inf
: file.
:
: In general is there a way to invoke any of the Windows
: wizards from the command prompt?
:
: Thanks,
: Greg
 

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

Back
Top