How to fix error 0x80070543 in windows 10?

Chris Jordon 1 Reputation point
2020-10-06T13:53:31.753+00:00

The automatic Windows update is failing with error 0x80070543. I reboot and try again but the same error occurs.
I had similar problems on my laptop about three months ago. Windows eventually got so unstable on my laptop that I had to re-install Windows.

Does anyone have any ideas on what might be happening and what I can do to resolve it?

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,955 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MotoX80 34,776 Reputation points
    2020-10-06T21:11:37.23+00:00

    Here is my IsWindowsHealthy.ps1 file. It tests some of the basic areas that might impact Windows Update. Save it and run it from an admin Powershell prompt. Let's see if it produces any errors.

    Update: .ps1 works better than a .bat file.

    cls
    $color = "Yellow"                  # Your favorite color 
    while ($true) {
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	Write-Host -ForegroundColor $color "    Run check disk "
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	chkdsk.exe c:
    	Write-Host ""
    	Write-Host -ForegroundColor $color "Chkdsk RC=$LASTEXITCODE"
    	if ($LASTEXITCODE -ne 0) {break}
    	Write-Host ""
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	Write-Host -ForegroundColor $color "     Dism CheckHealth  "
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	Dism.exe /Online /Cleanup-Image /CheckHealth
    	Write-Host ""
    	Write-Host -ForegroundColor $color "CheckHealth RC=$LASTEXITCODE"
    	if ($LASTEXITCODE -ne 0) {
    		Write-Host ""
    		Write-Host -ForegroundColor $color " Try running 'Dism.exe /Online /Cleanup-Image /RestoreHealth'"
    		Write-Host -ForegroundColor $color " See if that fixes the dism problem."
    		Write-Host ""
    		break
    	}
    	Write-Host ""
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	Write-Host -ForegroundColor $color "    Dism ScanHealth"
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	Dism.exe /Online /Cleanup-Image /ScanHealth 
    	Write-Host ""
    	Write-Host -ForegroundColor $color "ScanHealth RC=$LASTEXITCODE"
    	if ($LASTEXITCODE -ne 0) {
    		Write-Host ""
    		Write-Host -ForegroundColor $color " Try running 'Dism.exe /Online /Cleanup-Image /RestoreHealth'"
    		Write-Host -ForegroundColor $color " See if that fixes the dism problem."
    		Write-Host ""
    		break
    	}
    	Write-Host ""
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	Write-Host -ForegroundColor $color "    Dism AnalyzeComponentstore"
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	Dism.exe /online /cleanup-image /AnalyzeComponentstore
    	Write-Host ""
    	Write-Host -ForegroundColor $color "AnalyzeComponentstore RC=$LASTEXITCODE"
    	if ($LASTEXITCODE -ne 0) {
    		Write-Host ""
    		Write-Host -ForegroundColor $color " Try running 'Dism.exe /Online /Cleanup-Image /RestoreHealth'"
    		Write-Host -ForegroundColor $color " See if that fixes the dism problem."
    		Write-Host ""
    		break
    	}
    	Write-Host ""
    	Write-Host ""
    	Write-Host -ForegroundColor $color "  If you see 'Component Store Cleanup Recommended : Yes'"
    	Write-Host -ForegroundColor $color "  Run 'Dism.exe /online /Cleanup-Image /StartComponentCleanup'"
    	Write-Host ""
    
    	
    	Write-Host ""
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	Write-Host -ForegroundColor $color "     System File Checker "
    	Write-Host -ForegroundColor $color "------------------------------------------"
    	sfc.exe /scannow
    	Write-Host ""
    	Write-Host -ForegroundColor $color "SFC RC=$LASTEXITCODE"
    
    	
    	Write-Host ""
    	Write-Host -ForegroundColor $color "--------------------------------------------------"
    	Write-Host -ForegroundColor $color " Folders in your system path.     "
    	Write-Host -ForegroundColor $color " Remove duplicate entries and to be safe,"
    	Write-Host -ForegroundColor $color " put the %systemroot% entries first in the list."
    	Write-Host -ForegroundColor $color "--------------------------------------------------"
    	$env:Path.split(";")
    
    	Write-Host ""
    	Write-Host -ForegroundColor $color "---------------------------------------------"
    	Write-Host -ForegroundColor $color "  Run the WindowsUpdate Troubleshooting Pack." 
    	Write-Host -ForegroundColor $color "---------------------------------------------"
    
    	
    	Get-TroubleshootingPack -path C:\Windows\diagnostics\system\WindowsUpdate | Invoke-TroubleshootingPack 
    	break
    }
    Write-Host -ForegroundColor $color "Complete"
    
    0 comments No comments

  2. Joy Qiao 4,901 Reputation points Microsoft Employee
    2020-10-07T02:20:53.43+00:00

    Hi,

    I found there is a same thread with your issue which was resolved at last. So please refer to the link below and check if the marked answer is helpful for your issue.

    Windows Update Fails With Error 0x80070543

    Bests,

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.