Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to completely automate driver installation in Windows 7?

I need to: 1. Completely uninstall previous driver including its software 2. Restart computer 3. Install new drivers from specified folder 4. Restart computer again

Maybe there are some programs that can do this. Or it can be done somehow by DevCon (points 1 and 3).

share|improve this question

You can try using two scripts:

  1. The first one uninstalls the old driver, writes the second script path in Software\Microsoft\Windows\CurrentVersion\Run registry key and triggers a reboot.
  2. The second one (launched automatically by Windows) removes the registry entry, launches the new driver installation and triggers another reboot at the end.
share|improve this answer
Good idea for realization of automatic installation after computer restart, but I'm mostly interested in implementation of driver installation scripts. – xCOREx May 19 '11 at 7:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.