How to Fix update or download error 0X80004002

Egor Slepov 20 Reputation points
2026-07-23T14:23:49.4966667+00:00

The error occurs when attempting to download via Windows Update or the Microsoft Store. What can be done, and how can this problem be resolved?User's image

User's image

Windows for home | Windows 11 | Windows update
0 comments No comments

Answer accepted by question author
Ramesh 181.4K Reputation points Volunteer Moderator
2026-07-24T10:43:40.6333333+00:00

From Command Prompt (admin), run:

reg add "HKLM\SYSTEM\CurrentControlSet\Services\DoSvc" /v Start /t REG_DWORD /d 3 /f

Post the output.

Restart Windows and check for updates.

Was this answer helpful?

3 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Ramesh 181.4K Reputation points Volunteer Moderator
    2026-07-24T10:22:14.5633333+00:00

    Please reset the Windows Update cache using this batch file to see if that fixes the issue:

    https://gist.github.com/winhelponline/af9296c106448a664a6229d8146a85fd

    1. Download the zip file and extract the batch file to the desktop.
    2. Right-click on the batch file, click Properties, click "Unblock" (if present), and OK.
    3. Double-click the batch file to run it.
    4. After it completes execution, don't close it yet.
    5. Right-click on that Command Prompt window, click "Edit" and click "Select all"
    6. Right-click on that Command Prompt window, click "Edit" and click "Copy" (This copies the output to the clipboard.)
    7. Paste the info (Ctrl + V) into your reply window.

    Was this answer helpful?


  2. Ramesh 181.4K Reputation points Volunteer Moderator
    2026-07-23T15:41:30.1166667+00:00

    Please upload your CBS logs to OneDrive or GoFile.io for analysis.

    The logs are available in the following folder. Copy the following folder to the desktop.

    c:\windows\logs\cbs
    

    Zip the folder and share the file on OneDrive or GoFile.io.

    Was this answer helpful?


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.