Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Command line update driver in Windows 7

Posted on 2010-11-22
3
Medium Priority
?
2,100 Views
Last Modified: 2012-06-27
Hey

In WinXP i used devcon - when updating drivers from command line.

How to in Windows 7?

Mike
0
Comment
Question by:mikeydk
3 Comments
 
LVL 10

Accepted Solution

by:
moon_blue69 earned 668 total points
ID: 34186562
Found in this link

http://social.answers.microsoft.com/Forums/en-US/w7hardware/thread/9abcc12c-d7db-4249-aec4-fc4ff0ea6ee8

see if it helps.

OK, I've now managed to use devcon.exe to disable/enable my WiFi adapter. Here's what I did.

1. I DL'ed the “Windows Driver Kit (WDK) 7.1.0¿ from MS, it is an ISO image several hundreds meg

2. Using UniversalExtractor (http://legroom.net/software/uniextract) I extracted the ISO to a temporary folder on my HD

3. Again using UniversalExtractor, I extracted the install file "WDK\setuptools_x64fre.msi" to a temporary dir

4. In that temporary dir you will find "WinDDK\7600.16385.win7_wdk.100208-1538\tools\devcon\amd64\devcon.exe". This devcon works fine (as far as I've tested) for me under W7x64 Pro.

Along the way UniversalExtractor will prompt you with some warnings, just click OK.

*phew* so much time wasted for such a simple thing...

Note: devcon MUST be run from an administrator cmd win.
0
 

Assisted Solution

by:bja32810
bja32810 earned 664 total points
ID: 34197679
depends on how your drivers are packaged.   I've used DPINST64.exe to install drivers from the command line.  Can't say it works perfectly with all drivers, but 90% work great.

It does not require an elevated command prompt, just a regular one, but you must be logged in with an admin account.  It's great for scripting multiple driver installations.

DPINST64.exe is a MS tool that uses INF files in the driver packages to install the drivers.  
http://blogs.technet.com/b/svengruenitz/archive/2008/07/02/driver-installation-and-updating-made-easy-dpinst-exe.aspx
0
 
LVL 2

Assisted Solution

by:vernony
vernony earned 668 total points
ID: 34203403
the old DevCon at http://support.microsoft.com/kb/311272/ may not be compatible with Windows 7, The new DevCon is included in the WDK in the \tools\devcon directory. There are separate versions for 32-bit applications for Windows (\tools\devcon\x86) and 64-bit applications for Windows (\tools\devcon\ia64) systems. WDK V7.1.0 is available at http://www.microsoft.com/downloads/en/details.aspx?FamilyID=36a2630f-5d56-43b5-b996-7633f2ec14ff&displaylang=en
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Suggested Courses
Course of the Month12 days, 12 hours left to enroll

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question