Medium Operating Systems ✓ Solution Verified by Community (1+ upvotes)

Error Code 0x80070005 — Windows 11

Error code 0X80070005 — community-reported fix.

70% úspěšnost
👥 1+ uživatelů ověřilo
📅 Aktualizováno: 2026-08-12
⏱️ 15 min čtení
Zdroj: StackExchange Community · Jak ověřujeme opravy
Error Code0x80070005
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time15 min
Requires Admin Rights⚠️ Yes
Requires Reboot🔄 Yes

Postup řešení

  1. 1 Running sfc /scannow command in command prompt, since I've read that it might fix corrupted windows files. It found everything to be in order.
  2. 2 Running memtest (3 passes), since I've read that it might be an issue related to RAM failing. I doubted that it would find something, since the issues were related to non-essential, for Windows execution, applications, and I wasn't getting any BSODs. It didn't find any issues either.
  3. 3 Then, I thought that there may be some kind of virus infecting the computer. So, I created a Live Rescue USB stick with antivirus scanner on it, and booted the laptop from it, and ran full hard drive, In-Depth scan. No infected files detected.
  4. 4 Then, I thought that there may be issues with hard drive itself. So I ran chkdsk C: /F /R . No issues.
  5. 5 Then, I wanted to check S.M.A.R.T records of the hard drive, to see if it is failing. I downloaded a portable app which can check that. And then I realized that I can't run it, since it crashes, on startup like any other app. Then, I boot to safe mode, where, apparently, everything works fine, and a
  6. 6 Then I tried to use tools such as Process Monitor to figure out what is happening before the applications crash. It had the same problem as any other application.
  7. 7 Then I tried to run System Restore to restore to a point before those updates. After doing the restore, and a reboot of a laptop, it said that it wasn't able to complete the process to to the error code 0x80070005 which stands for General access denied error , so it is more or less the same as the o
  8. 8 I started googling again, and found this article . But, since my Windows boot loader path doesn't contain xOsload.exe , but rather winload.efi , I assumed that it wouldn't help in my case.

Alternativní řešení

Metoda 2 (0 upvotes)

  1. Press Windows key + R to open the Run dialog. Type 'services.msc' and press Enter. In the Services window, scroll down to 'Windows Update'. Right-click it and select 'Stop'. This halts the update service so we can safely clean its temporary files.
  2. Press Windows key + E to open File Explorer. Navigate to C:\Windows\SoftwareDistribution. Select all files and folders inside (Ctrl+A) and delete them. If some files are in use, restart your PC and try again. This folder stores temporary update files; clearing it forces Windows to download fresh copies.
  3. Press Windows key + R, type 'cmd', then press Ctrl+Shift+Enter to run Command Prompt as administrator. Type 'net stop wuauserv' and press Enter. Then type 'net stop bits' and press Enter. These commands stop the Windows Update and Background Intelligent Transfer services, which might be holding locks on files.
  4. In the same Command Prompt, type 'takeown /f C:\Windows\SoftwareDistribution /r /d y' and press Enter. Then type 'icacls C:\Windows\SoftwareDistribution /grant administrators:F /t' and press Enter. This gives your administrator account full control over the folder, fixing any corrupted permissions.
  5. Restart the services by typing 'net start bits' and 'net start wuauserv' in the Command Prompt. Then go to Settings > Windows Update and click 'Check for updates'. The update should now proceed without the access denied error.

Metoda 3 (0 upvotes)

  1. Press Windows key + R to open the Run dialog. Type 'sysdm.cpl' and press Enter. In the System Properties window, click the 'System Protection' tab, then click 'Create'. Give the restore point a name like 'Before Update Fix' and click Create. This creates a safety net so you can undo any changes if something goes wrong.
  2. Press Windows key + I to open Settings. Go to 'Update & Security' > 'Windows Update'. Click 'Pause updates' for 1 week. This stops Windows from trying to update while you fix the underlying issue, preventing the error from recurring during the repair process.
  3. Press Windows key + X and select 'Windows Terminal (Admin)' or 'Command Prompt (Admin)'. Click Yes if prompted. Type the following commands one by one, pressing Enter after each: 'net stop wuauserv', 'net stop cryptSvc', 'net stop bits', 'net stop msiserver'. These stop the Windows Update services that are currently holding onto files. Think of it as stopping the workers before you can clean the room.
  4. In the same command prompt, type 'ren C:\Windows\SoftwareDistribution SoftwareDistribution.old' and press Enter. Then type 'ren C:\Windows\System32\catroot2 catroot2.old' and press Enter. This renames the folders where Windows stores update files. If they are corrupted or have wrong permissions, renaming forces Windows to create fresh ones. The '.old' suffix keeps the old folders as backup.
  5. Restart the services you stopped by typing: 'net start wuauserv', 'net start cryptSvc', 'net start bits', 'net start msiserver'. Press Enter after each. This restarts the update services with the new folders in place.
  6. Press Windows key + I to open Settings, go to 'Update & Security' > 'Windows Update', and click 'Resume updates'. Then click 'Check for updates'. Windows will now attempt to download and install updates using the fresh folders, bypassing the permission issue.
  7. If the error persists, run the built-in System File Checker. Open Command Prompt as admin (as in step 3) and type 'sfc /scannow' then press Enter. This scans all protected system files and replaces corrupted ones. It may take 15-20 minutes. After it finishes, restart your PC and try updating again.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Stále máte problémy?

Popište svůj přesný problém Error Buddymu a získejte personalizovanou opravu během několika sekund.

🛠️ Vyzkoušet Error Buddy — Zdarma