- Several users have reported encountering the 0x8007012a install error, which prevents them from downloading and installing updates.
- It could be due to corrupt system files, problems with the Windows Update components, or critical services not running, amongst other issues listed below.
- Also, find out how you can reset Windows 11 to its factory settings.
Windows 11, though the latest and probably the most advanced iteration from Microsoft, is still not completely free of errors. And, the worst are the ones that prevent you from updating the installed components or the OS. One such is the 0x8007012a install error in Windows 11.
Users encounter the error on the Windows Update screen where, though the update is listed but it can’t be installed. Along with the listed update is a Retry button, clicking on which generally doesn’t eliminate the error unless you go for troubleshooting.
In the following sections, we have listed the underlying causes for the 0x8007012a install error in Windows 11 and the methods to resolve it. By the time you reach the end of this article, your system would have installed any pending updates.
What causes the install error 0x8007012a?
There can be a bunch of causes for the 0x8007012a install error, most of which indicate a problem with the software, and rarely does it have to do with the hardware.
- Problems with the update components
- Issues with the Internet connection
- Malware or virus
- Corrupt system files
- Malfunctioning external peripherals
Listed above are the most common underlying issues and once you have an understanding of these, it would be easier to eliminate the error on your system. If you can identify the error, simply head to the relevant fix and execute it. Or, you can go ahead with them in the listed sequence.
How can I fix the 0x8007012a Windows Update error?
- What causes the install error 0x8007012a?
- How can I fix the 0x8007012a Windows Update error?
- 1. Disconnect external peripherals
- 2. Run Windows Update troubleshooter
- 3. Run Windows Update & BITS
- 4. Clear Software Distribution folder
- 5. Run SFC and DISM
- 6. Reset Windows Update components
- 7. Manually download the update
- How can I reset Windows 11 if the methods listed above don't fix the 0x8007012a install error?
1. Disconnect external peripherals
External devices connected to your PC are often known to conflict with its functioning, thus it’s recommended that you disconnect the non-critical ones. These include the printer, headphones, speakers, and other similar peripherals.
How we test, review and rate?
We have worked for the past 6 months on building a new review system on how we produce content. Using it, we have subsequently redone most of our articles to provide actual hands-on expertise on the guides we made.
For more details you can read how we test, review, and rate at WindowsReport.
After disconnecting these, restart the computer and check if the 0x8007012a install error in Windows 11 is eliminated.
2. Run Windows Update troubleshooter
- Press Windows + I to launch the Settings app, and click on Troubleshoot on the right in the System tab.
- Next, click on Other troubleshooters to view all of them.
- Locate the Windows Update troubleshooter and click on the Run button next to it.
- Let the troubleshooter diagnose issues with the computer, and follow the instructions listed on the screen.
Whenever you encounter an error in Windows, it’s recommended to run a relevant troubleshooter for it. Microsoft offers several built-in troubleshooters that automatically diagnose and resolve the problems, and in some cases list out the steps to fix them.
Once the troubleshooter is done running, check if the 0x8007012a install error in Windows 11 is eliminated. If that did not help, we recommend Fortect which is more advanced and has higher chances of fixing your PC.
3. Run Windows Update & BITS
- Press Windows + R to launch the Run command. Enter services.msc in the text field, and either click on OK or hit Enter to launch the Services app.
- Locate and double-click on the Background Intelligent Transfer Service.
- Select Automatic from the Startup type dropdown menu.
- Click on the Start button and once the service is running, click on OK to save the changes.
- Next, locate and double-click on the Windows Update service.
- As you did earlier, select Automatic from the Startup type dropdown menu.
- Finally, click on the Start button and then on OK to save the changes.
- Check if the 0x8007012a install error in Windows 11 is fixed, and you are able to download updates.
4. Clear Software Distribution folder
- Press Windows + S to launch the Search menu. Enter Windows Terminal in the text field at the top, right-click on the relevant search result, and select Run as administrator from the list of options.
- Click Yes on the UAC (User Account Control) prompt that appears.
- Click on the downward-facing arrow at the top, and select Command Prompt from the list menu. Alternatively, you can press Ctrl + Shift + 2 to launch the Command Prompt tab in Windows Terminal.
- Now, type/paste the following commands and hit Enter after each to stop the Windows Update service and BITS.
net stop wuauserv
net stop bits
- Once the services have been stopped, press Windows + R to launch the Run command, enter the following address in the text field and click on OK.
- Press Ctrl + A to select all the files listed here and then hit the Del key to delete them.
The software distribution folder contains files that are temporarily required for the update process. However, if these are corrupted due to any reason, you may encounter errors with Windows Update.
Though you manually delete the files, the system will automatically redownload a fresh set of these but the update history will be lost. Also, it would take a little longer for the update process to go through the next time.
5. Run SFC and DISM
- Press Windows + R to launch the Run command, type wt in the text field, hold the Ctrl + Shift keys, and either click on OK or hit Enter to launch an elevated Windows Terminal.
- Click Yes on the UAC (User Account Control) prompt that pops up.
- Next, click on the downward arrow at the top and select Command Prompt from the list of options.
- Type/paste the following command and hit Enter to run the SFC scan.
- After the SFC scan is complete, type/paste the following command and hit Enter to run the DISM tool.
DISM /Online /Cleanup-Image /RestoreHealth
- Once done, restart the computer and check if the 0x8007012a install error in Windows 11 is fixed.
6. Reset Windows Update components
- Press Windows + X to launch the Quick Access/Power User menu, and select Windows Terminal (Admin) from the options listed here.
- Click Yes on the UAC (User Account Control) prompt that appears.
- Click on the downward-facing arrow and select Command Prompt from the menu.
- Now, type/paste the following commands and hit Enter after each to execute them. The following commands will stop the BITS and Windows Update service:
net stop bits
net stop wuauserv
- Execute the following command to delete the qmgr*.dat files:
Del “%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat”
- Next, execute the following commands to rename a few critical folders. If this the first attempt at resetting Windows Update comments, you can skip this step.
Ren %Systemroot%\SoftwareDistribution\DataStore DataStore.bak
Ren %Systemroot%\SoftwareDistribution\Download Download.bak
Ren %Systemroot%\System32\catroot2 catroot2.bak
- Paste the following commands and hit Enter after each to reset the BITS and Windows Update service:
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
- Now, execute the following command:
cd /d %windir%\system32
- Paste the following commands one a time and hit Enter after each to reregister to BITS and Windows Update files and fix the 0x8007012a install error in Windows 11:
9. Execute the following command to reset Winsock:
netsh winsock reset
10. Finally, paste the following command and hit Enter to restart the BITS and Windows Update service:
net start bits
net start wuauserv
If the Windows Update components have corrupted, you are likely to encounter issues while downloading and installing updates. In this case, you should reset these to fix the 0x8007012a install error in Windows 11.
7. Manually download the update
- Head to the Windows 11 update history, and note down the KB (Knowledge Base) number for the update you are having trouble installing. The one in the screenshot below is for the latest update at the time this article was first written.
- Next, go to the Microsoft Update Catalog, paste the KB number you copied earlier in the search box near the top-right, and hit Enter.
- Click on the Download button next to the relevant update.
- Now, click on the link to start the download.
- Once downloaded, double-click on the file to launch the setup, and follow the on-screen instructions to complete the installation process.
The above method will help you manually download updates for the OS. In case you are encountering an error when downloading driver updates, learn how to manually update them. Amongst the methods listed in the linked guide, follow the one to get the updated version from the manufacturer’s website.
How can I reset Windows 11 if the methods listed above don’t fix the 0x8007012a install error?
If the fixes listed above don’t work, though highly unlikely, you can reset Windows 11 to its factory settings. There are a bunch of ways you can proceed with each having its advantages. So, choose the one that best suits you and get done with the process. When resetting the PC, you have the option to keep the files or remove them.
But, resetting the PC will remove the installed applications and configured settings. Therefore, it should be your last resort, only after all the others listed above didn’t work.
That’s all there’s to the 0x8007012a install error in Windows 11 and the most relevant fixes for it. We believe that these should have fixed the error on your PC.
Tell us which fix worked for you in the comments section below.