Update with error 0x80070002 in VDI machinme

Peter Haslow 0 Reputation points
2023-05-17T10:34:35.6033333+00:00

Hi all,

I have a virtual machine rolling back som specific update with this error msg:

Windows failed to install the following update with error 0x80070002: 2023-04 Cumulative Update for Windows 10 Version 21H2 for x64-based Systems (KB5025221).

Other updates are installed fine, in the same machine.

Pls, any idea?

Microsoft Security | Intune | Configuration Manager | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Wesley Li-MSFT 4,576 Reputation points Microsoft External Staff
    2023-05-18T09:40:26.2766667+00:00

    Hello

    Please perform the procedures below and check if the problem persists.

    1. Press Windows + R, type Notepad and click OK;
    2. Copy and paste the commands below into this new notebook:

    SC config trustedinstaller start=auto

    net stop bits

    net stop wuauserv

    net stop msiserver

    net stop cryptsvc

    net stop appidsvc

    Ren %Systemroot%\SoftwareDistribution SoftwareDistribution.old

    Ren %Systemroot%\System32\catroot2 catroot2.old

    regsvr32.exe /s atl.dll

    regsvr32.exe /s urlmon.dll

    regsvr32.exe /s mshtml.dll

    netsh winsock reset

    netsh winsock reset proxy

    rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN

    dism /Online /Cleanup-image /ScanHealth

    dism /Online /Cleanup-image /CheckHealth

    dism /Online /Cleanup-image /RestoreHealth

    dism /Online /Cleanup-image /StartComponentCleanup

    Sfc /ScanNow

    net start bits

    net start wuauserv

    net start msiserver

    net start cryptsvc

    net start appidsvc

    1. Click the File tab> Save as> Select the desktop;
    2. Define the name as Wufix.bat and in the field below under Type select all files;
    3. Click save;
    4. Right-click on the Wufix file and click Run as administrator;
    5. Wait until the end of the procedure on the black screen;
    6. Restart the PC and see if the error persists.

  2. Peter Haslow 0 Reputation points
    2023-06-16T09:28:18.75+00:00

    Got blue screen on my machines after run these commands :(

    0 comments No comments

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.