Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Reinstall Graphics Driver from Command Line?

06 Nov 2014   #1

Windows 7
Reinstall Graphics Driver from Command Line?

I have a Lanix Win7 laptop which starts to boot and then goes to a grey screen. I can boot the Windows 7 system repair disk, and a Knoppix Recovery CD I have, from the optical drive, and things including graphics look fine, so I think the machine itself is working.

I can download the (Intel) driver for this system from the Lanix website, and I can boot the Win7 system repair disk and get a command prompt, but I've never installed a graphics driver from the command prompt. The zip file for the downloaded driver includes a .inf file, which seems to invoke a setup.exe, also in the zip file. The zip file also includes .dlls and other stuff I assume constitute the driver. My questions are:

-Whats the form of the command to install the driver from the command prompt (I believe Win7 is on the D: drive when booted to the command line)?

-Will the install overwrite the installed (bad) graphics driver, or do I need to remove it prior to the new install?

-Is there an easier way to do this, like causing the system to revert to some standard VGA driver, and then booting in some presumably low resolution Win7 graphics interface, from which I can install the correct driver per "normal" procedures?

Thx, Gus

My System SpecsSystem Spec
07 Nov 2014   #2

Microsoft Community Contributor Award Recipient

Microsoft Windows 10 Pro Insider Preview 64-bit

I am not entirely sure, but you need to have the graphics adapter active during the driver installation, and it is not active in command prompt.

It is not active in Safe mode, too. You may try to boot in Safe mode. Use display driver uninstaller there to uninstall teh display driver.

Now try to boot back normally. If display was the issue, then you can boot to windows noe, with generic display driver vgapnp active.

In that position you may try to install the other version of the display driver.

Let us know how everything goes and what it resulted.
My System SpecsSystem Spec

 Reinstall Graphics Driver from Command Line?

Thread Tools

Similar help and support threads
Thread Forum
Command line - Some questions
I've created a batch file for zipping selected items in a folder. (The file is placed in 'Send to'). If I use the following code: for %%* in (.) do set CurrentFolder=%%~n* "C:\Program Files\WinRar\WinRar" a -afzip "%CurrentFolder%.xpi" The file name is that of the current folder...
General Discussion
Command Line - Help
Hi Guy's and Girls, Just first off I've never been too good with CMD and only an Apprentice in my company I work for. Now something I've wanted to do for awhile was to make the following but I don't necassirealy I know how to do this in one batch file: I would need a Batch file that is...
General Discussion
Command line csc not working.
I am trying to use csc.exe from the command prompt to run a program called c:\code\helloworld.cs. I know the program works as I tested it using 'compile online dot com'. When I run csc, I get the following error (see jpg). How may I solve this problem, please? When I set the 'Path' to the...
General Discussion
Graphics problem upon reinstall and driver update
Reformatted my computer and reinstalled all the updates and drivers that came with it and the quality of the graphics or monitor did not return to how they were. Rounded edges look scratchy and choppy and text is basically stupid trying to read. Before i reformatted i first booted up this comp & i...
Graphic Cards
libraries and the command line
I am a long time programmer and computer science professor, since 1979. I grew up with the command line and like it just fine. But Windows 7 seems to change the GUI way of doing things and not mess with the command line. Yesterday I was at the command prompt and went to C:\users\Stockwell and...
Performance & Maintenance
Command Line
Is there a cmd.exe /switch for “run as administrator” ? Thanks-
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 01:01.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App