Graphics driver installation fails
If you are experiencing the symptom “Graphics driver installation failed”, candidates for the cause include incorrect driver package, existing driver conflict, etc. Check step 1 in order, starting with ‘Check whether the package matches your GPU model and Windows version.’
First, check that this guide matches your problem
Do you have these symptoms?
- Graphics driver installation failed
- NVIDIA driver won't install
- AMD driver error
Common causes
- Invalid driver package
- Existing driver conflict
- Windows update or system file issues
How to fix
5 steps, 1 hr 10 min–2 hr 20 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
A package for a different GPU family or the wrong Windows version stops with a message like no compatible graphics hardware was found. Some laptops only accept the OEM driver customized by the laptop maker.
- Check the GPU name under Device Manager → Display adapters. If it only shows Microsoft Basic Display Adapter, open Properties → Details → Hardware Ids and identify the maker: VEN_10DE (NVIDIA), VEN_1002 (AMD), VEN_8086 (Intel).
- Press WinR and enter winver to check your Windows version, then confirm on the download page that the package supports that version and your GPU generation.
- If a laptop keeps refusing the GPU maker's official driver, install the graphics driver from the laptop maker's support page first.
What to check
If the correct package installs, you are done. If it fails even with the right package, check the error message and the install log.
Did this step fix it?
The error message often reveals why the install failed. Repeating the same steps without reading it makes it easy to miss the cause.
- Record the exact error message or error number the installer shows when it stops, by photo or note.
- Open C:\Windows\INF\setupapi.dev.log in Notepad and look near the bottom, around the time of the install, for lines containing '!!!' or failed.
- Search the GPU maker's support pages or the web for the error message together with your GPU model.
What to check
If the error points to a specific cause, such as no compatible hardware, another installation in progress, or not enough disk space, go straight to the matching step. If the cause is unclear, continue in order from the next step.
Did this step fix it?
If Windows Update is installing a graphics driver at the same time or is waiting for a restart, it can clash with the maker's installer and make it fail.
- In Settings → Windows Update, finish any updates that are installing or need a restart, and restart first.
- On the same screen, pause updates for 1 week so Windows does not swap the driver during your install.
- Disconnect from the internet during the install, and make sure drive C has several GB or more of free space.
What to check
If it installs after the updates are settled, resume updates. If it keeps failing, clean out the existing driver.
Did this step fix it?
Leftover files from a previous driver or another vendor's driver can prevent the new package from overwriting them, so the install fails.
- In Settings → Apps → Installed apps, uninstall the NVIDIA Graphics Driver or AMD Software and restart.
- If it still fails, hold Shift while clicking Restart → Troubleshoot → Advanced options → Startup Settings to enter Safe Mode, and remove that vendor's driver with DDU (Display Driver Uninstaller). Download the driver you will install beforehand and stay offline.
- After restarting, run the downloaded package as administrator and select the clean installation option if offered. Also make sure third-party antivirus is not blocking the installer.
What to check
If it installs from a clean state, you are done. If it still fails at the same point, repair the system files.
Did this step fix it?
If the driver store or Windows components are damaged, every package can fail at the same stage of installation.
- Reconnect to the internet, run
DISM /Online /Cleanup-Image /RestoreHealthin an administrator terminal, and wait for it to finish. - Then run
sfc /scannowand check whether the result says corrupt files were found and repaired. - Restart, then reinstall the driver the same way as in step 4.
DISM /Online /Cleanup-Image /RestoreHealthsfc /scannowWhat to check
If it installs after the repair, you are done. If it still fails, contact GPU or PC maker support with the error message and the setupapi.dev.log contents, or back up important files and consider a Windows repair install.
Did this step fix it?
Frequently asked questions
Related problems
If the symptoms do not match exactly, please check the issue below.
Related error codes
If the code below appears on the screen, refer to the confirmation procedure for each error.
Code 52Driver signature verification failed
Windows could not verify the digital signature of the device driver.
Device ManagerCode 39Windows cannot load the device driver
Windows could not load a corrupt or missing device driver.