search
HomeSystem TutorialWindows SeriesSolution to Win10 upgrade failure error code 0x8007042b

Solution to Win10 upgrade failure error code 0x8007042b

Jan 02, 2024 pm 04:52 PM
upgradeerror codesolve

When we use the win10 operating system, some friends may encounter some problems when upgrading the operating system. So for the problem of win101809 upgrade 1909 error code 0x8007042b, the editor thinks it may be because there is some damage inside our system. You can try to perform relevant code operations in the command prompt of the computer. Let’s take a look at how the editor did it for detailed steps~

Solution to Win10 upgrade failure error code 0x8007042b

How to solve win101809 upgrade 1909 error code 0x8007042b

1 .You can go to the following route and try to run "DiagPackage.diagpkg"

C:\Windows\diagnostics\system\WindowsUpdate\DiagPackage.diagpkg

2. If the above does not work, try pressing Search> ;Powershell (select ISE)>Right click>Run as administrator>Copy the following into it

Run>Restart the computer after running>Then try again

Solution to Win10 upgrade failure error code 0x8007042b

$arch = Get-WMIObject -Class Win32_Processor -ComputerName LocalHost | Select-Object AddressWidth

Write-Host "1. Stopping Windows Update Services..."

Stop-Service -Name BITS

Stop-Service -Name wuauserv

Stop-Service -Name appidsvc

Stop-Service -Name cryptsvc

Write- Host "2. Remove QMGR Data file..."

Remove-Item "$env:allusersprofile\Application Data\Microsoft\Network\Downloader\qmgr*.dat" -ErrorAction SilentlyContinue

Write-Host "3. Renaming the Software Distribution and CatRoot Folder..."

Rename-Item $env:systemroot\SoftwareDistribution SoftwareDistribution.bak -ErrorAction SilentlyContinue

Rename-Item $env: systemroot\System32\Catroot2 catroot2.bak -ErrorAction SilentlyContinue

Write-Host "4. Removing old Windows Update log..."

Remove-Item $env:systemroot\WindowsUpdate.log - ErrorAction SilentlyContinue

Write-Host "5. Resetting the Windows Update Services to defualt settings..."

"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)"

Set-Location $env:systemroot\ system32

Write-Host "6. Registering some DLLs..."

regsvr32.exe /s atl.dll

regsvr32.exe /s urlmon.dll

regsvr32.exe /s mshtml.dll

regsvr32.exe /s shdocvw.dll

regsvr32.exe /s browseui.dll

regsvr32.exe / s jscript.dll

regsvr32.exe /s vbscript.dll

regsvr32.exe /s scrrun.dll

regsvr32.exe /s msxml.dll

regsvr32.exe /s msxml3.dll

regsvr32.exe /s msxml6.dll

regsvr32.exe /s actxprxy.dll

regsvr32.exe /s softpub .dll

regsvr32.exe /s wintrust.dll

regsvr32.exe /s dssenh.dll

regsvr32.exe /s rsaenh.dll

regsvr32.exe /s gpkcsp.dll

regsvr32.exe /s sccbase.dll

regsvr32.exe /s slbcsp.dll

regsvr32.exe /s cryptdlg.dll

regsvr32.exe /s oleaut32.dll

regsvr32.exe /s ole32.dll

regsvr32.exe /s shell32.dll

regsvr32. exe /s initpki.dll

regsvr32.exe /s wuapi.dll

regsvr32.exe /s wuaueng.dll

regsvr32.exe /s wuaueng1.dll

regsvr32.exe /s wucltui.dll

regsvr32.exe /s wups.dll

regsvr32.exe /s wups2.dll

regsvr32.exe / s wuweb.dll

regsvr32.exe /s qmgr.dll

regsvr32.exe /s qmgrprxy.dll

regsvr32.exe /s wucltux.dll

regsvr32.exe /s muweb.dll

regsvr32.exe /s wuwebv.dll

Write-Host "7) Removing WSUS client settings..."

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f

Write-Host "8) Resetting the WinSock..."

netsh winsock reset

netsh winhttp reset proxy

Write-Host "9) Delete all BITS jobs..."

Get-BitsTransfer | Remove-BitsTransfer

Write-Host " 10) Attempting to install the Windows Update Agent..."

if($arch -eq 64){

wusa Windows8-RT-KB2937636-x64 /quiet

}

else{

wusa Windows8-RT-KB2937636-x86 /quiet

}

Write-Host "11) Starting Windows Update Services.. ."

Start-Service -Name BITS

Start-Service -Name wuauserv

Start-Service -Name appidsvc

Start-Service -Name cryptsvc

Write-Host "12) Forcing discovery..."

wuauclt /resetauthorization /detectnow

Write-Host "Process complete. Please reboot your computer."

The above is the detailed content of Solution to Win10 upgrade failure error code 0x8007042b. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:系统家园. If there is any infringement, please contact admin@php.cn delete
8 Ways to Clear the Clipboard on Windows 118 Ways to Clear the Clipboard on Windows 11Apr 21, 2025 pm 12:13 PM

This guide provides multiple ways to clear your Windows 11 clipboard, ensuring your copied data remains private. Your clipboard stores various items, including text, images, and videos. Let's explore several methods to erase its contents. Method 1:

Logitech's G515 Lightspeed keyboard is 25% offLogitech's G515 Lightspeed keyboard is 25% offApr 21, 2025 pm 12:06 PM

Logitech G515 Lightspeed TKL Mechanical Gaming Keyboard Review The Logitech G515 Lightspeed TKL uses low profile keys and feels very similar to the Apple Magic Keyboard, but has an additional mechanical switch, which is slim overall and has a rechargeable battery. Amazon Link This keyboard is perfect for users who both work and games. Amazon currently sells for $119.99, down from its original price of $159.99, only once before it reached this price. G515 Lightspeed TKL is slim in size, 14.49 inches long and 5.91 inches wide,

How to Enable TPM 2.0 to Get Windows 11How to Enable TPM 2.0 to Get Windows 11Apr 21, 2025 am 11:17 AM

Many users with powerful desktops were initially blocked from upgrading to Windows 11 due to a simple BIOS setting being disabled by default: TPM 2.0. This guide explains how to enable it. Checking for TPM Compatibility Windows has a built-in tool t

How to Download a Website as an App on the DesktopHow to Download a Website as an App on the DesktopApr 21, 2025 am 10:37 AM

Quickly Access Your Favorite Websites: Two Methods for Adding Websites to Your Desktop Tired of hunting through bookmarks? Windows offers easy ways to add frequently visited websites directly to your desktop for instant access. This guide details tw

8 Ways to Open the Run Dialog Box on Windows 118 Ways to Open the Run Dialog Box on Windows 11Apr 20, 2025 am 06:01 AM

Windows 11's Run dialog box (Run) provides a convenient way to quickly access various system features and installed applications. The way to start this dialog is simple, just use keyboard shortcuts or select menu items. This article will describe several ways to start this utility. Use keyboard shortcuts to open the run dialog The quickest way to start a Run dialog on Windows 11 is to use keyboard shortcuts. This method opens the dialog box instantly. To do this, press the Windows R key on the keyboard. No matter where you are currently on your computer, Windows 11 will immediately open the Run dialog box. You can then enter the name of the utility you want to start.

Samsung's 32-inch Odyssey G7 IPS Gaming Monitor Is $270 Off TodaySamsung's 32-inch Odyssey G7 IPS Gaming Monitor Is $270 Off TodayApr 20, 2025 am 03:01 AM

Samsung Odyssey G7 (G70D) 32-inch Esports Monitor Special Offer! Original price is $800, current price is only $530, saving $270! This Odyssey G7 sports monitor has 4K resolution, IPS panel, 144Hz refresh rate, AMD FreeSync Premium support, and smart Tizen capabilities. Samsung's official website priced at $530 If you need a monitor that supports high refresh rate gaming, this Samsung 32-inch Odyssey G7 monitor is ideal for you. Currently on sale, priced at $530, $270 less than the original price, and comes with 4K resolution, IPS panel and smart software capabilities. 32-inch Odyss

6 Tasks You Should Do Regularly on Your Windows Computer6 Tasks You Should Do Regularly on Your Windows ComputerApr 19, 2025 am 03:01 AM

Maintaining a Windows computer requires regular upkeep to ensure smooth operation and prevent performance issues, security risks, and unnoticed hardware problems. Here's a routine maintenance checklist to keep your computer running smoothly: 1. Run

How to Right-Click With No MouseHow to Right-Click With No MouseApr 18, 2025 pm 12:03 PM

The mouse is a vital component to getting work done on your PC. But when you’re stuck with a faulty mouse, you can run into a few problems including the inability to right-click. But the good news is that there are definitely ways t

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software