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

How to fix 0x8007012a installation error in Windows 11

PHPz
PHPz forward
2023-04-17 18:07:03 1952browse

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. PressWindowsIto launch the Settings app and click on the right side of the System tab TheTroubleshooting.How to fix 0x8007012a installation error in Windows 11
  2. Next, clickAdditional Troubleshootersto view all issues.How to fix 0x8007012a installation error in Windows 11
  3. Find theWindows UpdateTroubleshooter 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. PressWindowsRto start the run command. Enterservices.mscin the text field and click OK or hitEnterto start theServicesapplication.How to fix 0x8007012a installation error in Windows 11
  2. Find and double-clickBackground Intelligent Transfer Service.How to fix 0x8007012a installation error in Windows 11
  3. SelectAutomaticfrom 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 theWindows Updateservice.How to fix 0x8007012a installation error in Windows 11
  6. As you did before, selectAutomaticfrom 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. PressWindowsSto launch the search menu. EnterWindows Terminalin 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. ClickYeson 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 selectCommand Promptfrom the list menu. Alternatively, you can pressCtrlShift2to 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 hitEnterafter each command to stop theWindows Updateservice and BITS.net stop wuauservnet stop bitsHow to fix 0x8007012a installation error in Windows 11
  5. After the service is stopped, pressWindowsRStartRuncommand, enter the following address in the text field and click OK.C:\Windows\SoftwareDistributionHow to fix 0x8007012a installation error in Windows 11
  6. PressCtrlAto select all files listed here, Then press theDelkey 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. PressWindowsRto start the Run command, typewtin the text field, Hold down theCtrlShiftkey and click OK or hitEnterto launch an elevatedWindows Terminal.How to fix 0x8007012a installation error in Windows 11
  2. ClickYeson 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 selectCommand Promptfrom the list of options.How to fix 0x8007012a installation error in Windows 11
  4. Type/paste the following command and hitEnterto run theSFCscan.sfc /scannowHow to fix 0x8007012a installation error in Windows 11
  5. After the SFC scan is complete, type/paste the following command and hitEnterRunDISMtool.DISM /Online /Cleanup-Image /RestoreHealthHow 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. PressWindowsXto launch the Quick Access/Power User menu, then click here SelectWindows Terminal (Administrator)from the options listed.How to fix 0x8007012a installation error in Windows 11
  2. ClickYeson the UAC (User Account Control) prompt that appears.How to fix 0x8007012a installation error in Windows 11
  3. Click the down arrow and selectCommand Promptfrom the menu.How to fix 0x8007012a installation error in Windows 11
  4. Now, type/paste the following commands and hitEnterafter each command to execute them. The following command will stop the BITS and Windows Update services:net stop bitsnet stop wuauserv
  5. Execute the following command to delete qmgr*.dat file:Del "%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat"
  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.Ren %Systemroot%\SoftwareDistribution\DataStore DataStore.bakRen %Systemroot%\SoftwareDistribution\Download Download.bakRen %Systemroot%\System32\catroot2 catroot2.bak
  7. Paste the following commands andEnterclick after each command to reset BITS and Windows Update Services :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)
  8. Now, execute the following command:
  9. cd /d %windir%\system32
  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.dllregsvr32.exe urlmon.dll
regsvr32.exe mshtml.dll
regsvr32.exe shdocvw.dll
regsvr32.exe browseui.dll
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe scrrun.dll
regsvr32.exe msxml.dll
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
regsvr32.exe actxprxy.dll
regsvr32.exe softpub.dll
regsvr32.exe wintrust.dll
regsvr32.exe dssenh.dll
regsvr32.exe rsaenh.dll
regsvr32.exe gpkcsp.dll
regsvr32.exe sccbase.dll
regsvr32.exe slbcsp.dll
regsvr32.exe cryptdlg.dll
regsvr32.exe oleaut32.dll
regsvr32.exe ole32 .dll
regsvr32.exe shell32.dll
regsvr32.exe initpki.dll
regsvr32.exe wuapi.dll
regsvr32.exe wuaueng.dll
regsvr32.exe wuaueng1.dll
regsvr32.exe wucltui.dll
regsvr32.exe wups.dll
regsvr32.exe wups2.dll
regsvr32.exe wuweb.dll
regsvr32.exe qmgr.dll
regsvr32.exe qmgrprxy. dll
regsvr32.exe wucltux.dll
regsvr32.exe muweb.dll
regsvr32.exe wuwebv.dll

9. Execute the following command to reset

Winsock:netsh winsock reset

10. Finally, paste the following command and hit

Enterto restart the BITS and Windows Update services:net start bitsnet start wuauserv

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 hitEnter.How to fix 0x8007012a installation error in Windows 11
  3. Click theDownloadbutton 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