Home  >  Article  >  How to fix 0x8007012a installation error in Windows 11

How to fix 0x8007012a installation error in Windows 11

PHPz
PHPzforward
2023-04-17 18:07:032038browse

While Windows 11 is Microsoft’s latest version, and probably the most advanced, it’s still not entirely bug-free. And, worst of all, it prevents you from updating installed components or the operating system. One of them is the 0x8007012a installation error in Windows 11.

Users are encountering errors on the Windows Update screen where updates are listed but cannot be installed. Along with the updates listed is a Retry button, clicking which usually won't resolve the error unless you troubleshoot.

In the following section, we have listed the root causes of 0x8007012a installation error in Windows 11 and their solutions. By the end of this article, your system will have all pending updates installed.

What causes the 0x8007012a installation error in Windows 11?

0x8007012a Installation errors can have many causes, most of which indicate a problem with the software and rarely with the hardware.

  • Problems updating components
  • Internet connection issues
  • Malware or viruses
  • Corrupted system files
  • Peripherals Faults

Listed above are the most common potential problems, and once you understand them, it will be easier to eliminate errors on your system. If you can identify the error, just go to the relevant fix and perform it. Alternatively, you can continue using them in the order listed.

How to fix 0x8007012a installation error in Windows 11?

1. Disconnect Peripheral Devices

Peripheral devices connected to the PC often conflict with their functionality, so it is recommended that you disconnect non-critical devices. These include printers, headphones, speakers, and other similar peripherals.

After disconnecting these connections, restart your computer and check if the 0x8007012a installation error in Windows 11 is eliminated.

2. Run the Windows Update Troubleshooter

  1. Press Windows I to launch the Settings app and click on the right side of the System tab The Troubleshooting. How to fix 0x8007012a installation error in Windows 11
  2. Next, click Additional Troubleshooters to view all issues. How to fix 0x8007012a installation error in Windows 11
  3. Find the Windows Update Troubleshooter and click the Run button next to it. How to fix 0x8007012a installation error in Windows 11
  4. Let the troubleshooter diagnose the computer problem, and then follow the instructions listed on the screen.

Whenever you encounter an error in Windows, it is recommended to run the relevant troubleshooter for it. Microsoft provides several built-in troubleshooters that automatically diagnose and resolve problems, and in some cases list steps to fix them.

After the troubleshooter has finished running, check whether the 0x8007012a installation error in Windows 11 has been eliminated.

3. Run Windows Update and BITS

  1. Press Windows R to start the run command. Enter services.msc in the text field and click OK or hit Enter to start the Services application. How to fix 0x8007012a installation error in Windows 11
  2. Find and double-click Background Intelligent Transfer Service. How to fix 0x8007012a installation error in Windows 11
  3. Select Automatic from the Startup type drop-down menu. How to fix 0x8007012a installation error in Windows 11
  4. Click the "Start" button. After the service is running, click "OK" to save the changes. How to fix 0x8007012a installation error in Windows 11
  5. Next, find and double-click the Windows Update service. How to fix 0x8007012a installation error in Windows 11
  6. As you did before, select Automatic from the Startup Type drop-down menu. How to fix 0x8007012a installation error in Windows 11
  7. Finally, click the "Start" button and then click "OK" to save the changes. How to fix 0x8007012a installation error in Windows 11
  8. Check if the 0x8007012a installation error in Windows 11 is fixed and you can download the update.

4. Clear the software distribution folder

  1. 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. How to fix 0x8007012a installation error in Windows 11
  2. Click Yes on the UAC (User Account Control) prompt that appears. How to fix 0x8007012a installation error in Windows 11
  3. Click the down arrow at the top and select Command Prompt from the list menu. Alternatively, you can press Ctrl Shift2 to launch a Command Prompt tab in Windows Terminal. How to fix 0x8007012a installation error in Windows 11
  4. Now, type/paste the following commands and hit Enter after each command to stop the Windows Update service and BITS. <strong>net stop wuauserv</strong><strong>net stop bits</strong>How to fix 0x8007012a installation error in Windows 11
  5. After the service is stopped, press Windows RStart Run command, enter the following address in the text field and click OK. <strong>C:\Windows\SoftwareDistribution</strong>How to fix 0x8007012a installation error in Windows 11
  6. Press Ctrl A to select all files listed here, Then press the Del key to delete them. How to fix 0x8007012a installation error in Windows 11

The software distribution folder contains files temporarily required for the update process. However, if these become corrupted for any reason, you may encounter Windows update errors.

Although you delete these files manually, the system will automatically re-download a new set of files, but the update history will be lost. Also, the next update process will take longer.

5. Run SFC and DISM

  1. Press Windows R to start the Run command, type wt in the text field, Hold down the Ctrl Shift key and click OK or hit Enter to launch an elevated Windows Terminal. How to fix 0x8007012a installation error in Windows 11
  2. Click Yes on the pop-up UAC (User Account Control) prompt. How to fix 0x8007012a installation error in Windows 11
  3. Next, click the down arrow at the top and select Command Prompt from the list of options. How to fix 0x8007012a installation error in Windows 11
  4. Type/paste the following command and hit Enter to run the SFC scan. <strong>sfc /scannow</strong>How to fix 0x8007012a installation error in Windows 11
  5. After the SFC scan is complete, type/paste the following command and hit EnterRunDISMtool. <strong>DISM /Online /Cleanup-Image /RestoreHealth</strong>How to fix 0x8007012a installation error in Windows 11
  6. Once completed, restart your computer and check if the 0x8007012a installation error in Windows 11 has been fixed.

6. Reset Windows Update Components

  1. Press Windows X to launch the Quick Access/Power User menu, then click here Select Windows Terminal (Administrator) from the options listed. How to fix 0x8007012a installation error in Windows 11
  2. Click Yes on the UAC (User Account Control) prompt that appears. How to fix 0x8007012a installation error in Windows 11
  3. Click the down arrow and select Command Prompt from the menu. How to fix 0x8007012a installation error in Windows 11
  4. Now, type/paste the following commands and hit Enter after each command to execute them. The following command will stop the BITS and Windows Update services: <strong>net stop bits</strong><strong>net stop wuauserv</strong>
  5. Execute the following command to delete qmgr*.dat file: <strong>Del "%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat"</strong>
  6. Next, execute the following command to rename several key folders. If this is your first time trying to reset Windows Update notes, you can skip this step. <strong>Ren %Systemroot%\SoftwareDistribution\DataStore DataStore.bak</strong><strong>Ren %Systemroot%\SoftwareDistribution\Download Download.bak</strong><strong>Ren %Systemroot%\System32\catroot2 catroot2.bak</strong>
  7. Paste the following commands and Enterclick after each command to reset BITS and Windows Update Services :<strong>sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC; ;;PU)</strong>##sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;; ;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)<strong></strong>
  8. Now, execute the following command:
  9. cd /d %windir%\system32<strong></strong>
  10. Paste the following commands one at a time and hit
  11. Entereach command to re-register to BITS and Windows update files and fix 0x8007012a installation error in Windows 11:

regsvr32.exe atl.dll<strong>regsvr32.exe urlmon.dll<br>regsvr32.exe mshtml.dll<br>regsvr32.exe shdocvw.dll<br>regsvr32.exe browseui.dll<br>regsvr32.exe jscript.dll<br>regsvr32.exe vbscript.dll<br>regsvr32.exe scrrun.dll<br>regsvr32.exe msxml.dll<br>regsvr32.exe msxml3.dll<br>regsvr32.exe msxml6.dll<br>regsvr32.exe actxprxy.dll<br>regsvr32.exe softpub.dll<br>regsvr32.exe wintrust.dll<br>regsvr32.exe dssenh.dll<br>regsvr32.exe rsaenh.dll<br>regsvr32.exe gpkcsp.dll<br>regsvr32.exe sccbase.dll<br>regsvr32.exe slbcsp.dll<br>regsvr32.exe cryptdlg.dll<br>regsvr32.exe oleaut32.dll<br>regsvr32.exe ole32 .dll<br>regsvr32.exe shell32.dll<br>regsvr32.exe initpki.dll<br>regsvr32.exe wuapi.dll<br>regsvr32.exe wuaueng.dll<br>regsvr32.exe wuaueng1.dll<br> regsvr32.exe wucltui.dll<br>regsvr32.exe wups.dll<br>regsvr32.exe wups2.dll<br>regsvr32.exe wuweb.dll<br>regsvr32.exe qmgr.dll<br>regsvr32.exe qmgrprxy. dll<br>regsvr32.exe wucltux.dll<br>regsvr32.exe muweb.dll<br>regsvr32.exe wuwebv.dll<br></strong>

9. Execute the following command to reset

Winsock:netsh winsock reset<strong></strong>

10. Finally, paste the following command and hit

Enter to restart the BITS and Windows Update services:net start bits<strong></strong>net start wuauserv<strong></strong>

If a Windows Update component is corrupted, you may have problems downloading and installing updates. In this case, you should reset these to fix 0x8007012a installation error in Windows 11.

7. Download Updates Manually

  1. Go to Windows 11 Update History and note the KB (Knowledge Base) number of the update that you are having trouble installing. One of the screenshots below is the most recent update when this article was first written. How to fix 0x8007012a installation error in Windows 11
  2. Next, go to Microsoft Update Catalog, paste the KB number you copied earlier into the search box near the upper right corner, and hit Enter. How to fix 0x8007012a installation error in Windows 11
  3. Click the Download button next to the relevant update. How to fix 0x8007012a installation error in Windows 11
  4. Now, click on the link to start downloading. How to fix 0x8007012a installation error in Windows 11
  5. After downloading, double-click the file to launch the installer and follow the on-screen instructions to complete the installation process. How to fix 0x8007012a installation error in Windows 11

The above method will help you download operating system updates manually. If you encounter errors when downloading driver updates, learn how to update them manually. Follow the method on the manufacturer's website to get an updated version of the method listed in the linked tutorial.

How do I reset Windows 11 if the methods listed above don’t fix the 0x8007012a installation error?

If the fixes listed above don't work (although it's highly unlikely), you can reset Windows 11 to its factory settings. There are many ways to proceed, each with its own advantages. So, choose the one that suits you best and complete the process. When you reset your PC, you can choose to keep your files or delete them. How to fix 0x8007012a installation error in Windows 11

However, resetting your PC will delete installed applications and configured settings. Therefore, it should be your last resort, only after all other methods listed above have failed.

That’s all about the 0x8007012a installation error in Windows 11 and its most relevant fixes. We believe these should have fixed the error on your PC.

The above is the detailed content of How to fix 0x8007012a installation error in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete