Share via

Download error - 0x80070002

Usman Ahmad 0 Reputation points
2026-03-30T13:52:30.8133333+00:00

2026-02 Security Update (KB5077181) (26200.7840)

Download error - 0x80070002

Surface | Surface Pro | Install and update
0 comments No comments

2 answers

Sort by: Most helpful
  1. Clary-N 9,850 Reputation points Microsoft External Staff Moderator
    2026-03-31T03:46:47.8066667+00:00

    Hi Usman Ahmad,

    I can see that Q&A Assist has already shared some initial guidance, and I’d recommend trying those steps first if you haven’t already. I’d also like to add a couple of additional suggestions that may help based on what we’ve seen with this update.

    To help move things forward, please try the following step:

    Step 1: Reset the Windows Update components

    This clears out any broken or incomplete update files and forces Windows to download a fresh copy. It’s a safe step and won’t affect your personal files or apps, and it often resolves errors like 0x80070002, especially if the update didn’t download correctly the first time.

    Please open Command Prompt as administrator, then run the following commands one by one:

    net stop bits
    net stop wuauserv
    ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
    ren %systemroot%\System32\catroot2 catroot2.bak
    net start bits
    net start wuauserv
    
    

    After running these commands, restart your device and try checking for updates again.

    Step 2: Try installing the update manually

    If the update still fails through Windows Update, you can download KB5077181 directly from the Microsoft Update Catalog and install it manually. This bypasses the Windows Update download process and has helped many users in similar situations.

    Please make sure you select the correct package:

    • ARM64 => Surface Pro X or Snapdragon‑based Surface Pro models
    • x64‑based => Intel‑based Surface Pro models

    *Note: How to check whether your Surface Pro is ARM or x64

    1. Go to Settings > System > About
    2. Look for System type
    • If it says ARM‑based processor, choose the ARM64 package
    • If it says 64‑bit operating system, x64‑based processor, choose the x64‑based package

    Once downloaded, open the .msu file, follow the on‑screen instructions, and restart the device if prompted. This method bypasses Windows Update and often works when download errors occur.

    Please keep me updated on the results, and feel free to let me know if you’d like help with any of the steps. I’m happy to assist further.


    If you have extra questions about this answer, please click "Comment".  

    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.


  2. Q&A Assist
    2026-03-30T13:52:49.9266667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Error 0x80070002 during Windows Update generally indicates missing or corrupt files required for the update, or an inconsistent state from previous updates.

    For KB5077181 (a Windows 11 cumulative/security update), use the following steps that align with known causes and fixes for 0x80070002:

    1. Back up the OS disk
      • Before deeper repair, ensure the system drive is backed up, as recommended for troubleshooting this error.
    2. Check CBS and Windows Update logs for missing files
      • Open C:\Windows\Logs\CBS\CBS.log and C:\Windows\WindowsUpdate.log.
      • Look for entries mentioning ERROR_FILE_NOT_FOUND (0x80070002) or missing DLLs or system files.
      • If the logs show specific missing DLLs in C:\Windows\WinSxS (Side-by-Side store), follow step 3.
    3. Restore missing DLLs in WinSxS (if logs show missing files)
      1. Identify the exact missing DLL path from CBS log entries similar to:
              Failed to find file: x86_microsoft-windows-<component>... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
        
      2. From an identical, working Windows 11 machine with the same build, copy the missing DLL(s) to a temporary folder on the affected device (for example, C:\Windows\Temp\missing.dll).
      3. Take ownership and grant permissions on WinSxS, then create the missing folder and copy the file:
              takeown /f c:\windows\winsxs
              icacls c:\windows\winsxs /grant administrators:F
              cd c:\windows\winsxs
              mkdir <folder_name_from_log>
              copy c:\windows\temp\missing.dll c:\windows\winsxs\<folder_name_from_log>
        
      4. Repeat for each missing file reported in the logs.
    4. Repair component store
      • Run an elevated Command Prompt and execute:
             DISM.exe /Online /Cleanup-image /Restorehealth
        
      • Wait for it to complete, then restart the device.
    5. Reattempt installing KB5077181
      • After the DISM repair and any DLL restoration, try Windows Update again.
      • If available, download and install the standalone package for the cumulative/security update from the Microsoft Update Catalog and run it manually.
    6. If CBS logs show registry entries pointing to missing .NET optimization services
      • If the logs indicate failures related to clr_optimization_v4.0.30319_32 or _64 and C:\Windows\Microsoft.NET\Framework\v4.0.30319 is empty:
        1. Open Registry Editor and navigate to:
          • HKLM\System\CurrentControlSet\services\clr_optimization_v4.0.30319_32
          • HKLM\System\CurrentControlSet\services\clr_optimization_v4.0.30319_64
        2. Back up these keys.
        3. Delete the keys.
        4. Retry the update.
      • Editing the registry is risky; ensure the registry is backed up first.
    7. If logs show missing Start Menu System Tools folder
      • Verify C:\ProgramData\Microsoft\Windows\Start Menu\Programs\System Tools exists.
      • If missing, copy the System Tools folder (with all shortcuts) from a working Windows 11 machine to the same path on the Surface, then retry the update.

    If, after these steps, 0x80070002 persists and logs do not clearly show missing files or folders, collect the CBS and WindowsUpdate logs and contact Microsoft Support for Surface/Windows Update with those logs for deeper analysis.


    References:

    0 comments No comments

Your answer

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