Hello there, I'm Gopal an Independent Advisor. I w...

생성일: 2026년 7월 30일

답변에 사용된 모델 GPT-5.6 Thinking by Chat01

질문

Hello there, I'm Gopal an Independent Advisor. I will try my best to help you.

The Windows update is stuck at 97% due to corrupted or missing system files and wrong update service settings. Please try the following steps and see if that fixes

Step 1: Run the Windows update troubleshooter

Select Start > Settings > System > Troubleshoot > Other troubleshooters. Next, under Most Frequent, select Windows Update > Run.

Step 2: Reset Windows Components

Type the Command Prompt in the search box of Windows. Right-click it and choose Run as administrator to continue.
Once the command prompt opened. Type these commands in the command prompt and press Enter each time:
net stop bits

net stop wuauserv

net stop appidsvc

net stop cryptsvc

Ren C:\Windows\SoftwareDistribution.old

Ren C:\Windows\System32\catroot2 Catroot2.old

net start bits

net start wuauserv

net start appidsvc

net start cryptsvc

Exit the command prompt and restart the computer.

Step 3: Run SFC and DISM Tools

Type the Command Prompt in the search box of Windows. Right-click it and choose Run as administrator to continue.
In the command prompt type the below command and hit Enter to continue.
sfc /scannow

Please do not close the command line window until you see the message verification is 100% completed.
After that, type the following commands and hit Enter to continue.

DISM /online /Cleanup-Image /ScanHealth

DISM /Online /Cleanup-Image /RestoreHealth

When it is finished, restart the computer and try again to update Windows to see if the issue still occurs.

I hope this will help you to sort out the issue. Please let me know if you need further assistance. Thank you!

사고

Clarifying the request

I’m seeing a Windows Update troubleshooting guide, but I’m not sure whether the user wants proofreading, technical verification, or a shorter rewrite. I’m asking for the intended transformation before changing the instructions.

Clarified the request

Worked for 18s

답변

Here’s a polished version with clearer wording and corrected command syntax:

:::writing{variant="chat_message" id="48217"} Hello, I’m Gopal, an Independent Advisor. I’ll do my best to help you.

The Windows update may be stuck at 97% because of corrupted or missing system files or an issue with the Windows Update services. Please try the following steps.

Step 1: Run the Windows Update troubleshooter

  1. Select Start > Settings > System > Troubleshoot > Other troubleshooters.
  2. Under Most frequent, locate Windows Update and select Run.
  3. Follow the on-screen instructions.

Step 2: Reset the Windows Update components

  1. Type Command Prompt in the Windows search box.
  2. Right-click Command Prompt and select Run as administrator.
  3. Enter the following commands one at a time, pressing Enter after each command:
cmd
net stop bits net stop wuauserv net stop appidsvc net stop cryptsvc ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 Catroot2.old net start bits net start wuauserv net start appidsvc net start cryptsvc
  1. Close Command Prompt and restart your computer.

Step 3: Run the SFC and DISM tools

  1. Open Command Prompt as an administrator again.
  2. Enter the following command and press Enter:
cmd
sfc /scannow

Please do not close the Command Prompt window until the verification reaches 100%.

After the scan is complete, run these commands one at a time:

cmd
DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth

Once the process is complete, restart your computer and try installing the Windows update again.

I hope these steps help resolve the issue. Please let me know if you need further assistance. Thank you! :::

질문

Windows 11 Insider Preview 29634.1000 (rs_prerelease) Failed to install on ‎7/‎29/‎2026 - 0x80070005
what hppened and how to fix it? i tried two times for installing the update, but fail, and after restarting, showing "rety all in windows update" please help me to fix it

사고

Searching support.microsoft.com

Worked for 3m 57s

답변

What happened

Error 0x80070005 means Access Denied. Windows Update could not access a required system file, folder, or registry entry. Common causes include damaged permissions in WinSxS or SoftwareDistribution, corrupted update files, third-party antivirus software locking files, or an update-related policy restriction. (Microsoft Learn)

Build 29634.1000 is an official Windows 11 Insider build released on July 27, 2026, for the Experimental (Future Platforms) channel. Microsoft’s release notes do not list 0x80070005 as a widespread build issue, so this is most likely a problem on the PC rather than the update being withdrawn. This build also renews the Insider flight certificate that otherwise expires on August 11, 2026. (Windows Blog)

The Retry all button simply means Windows Update is ready to retry the failed installation. Repair Windows Update first, then select it.

Fix it in this order

Before proceeding, back up important files. Disconnect unnecessary USB drives, printers, docks, and external storage. Turn off any VPN, and temporarily pause third-party antivirus protection. Re-enable the antivirus afterward. Microsoft notes that external hardware and non-Microsoft security software can interfere with Windows upgrades. (Microsoft Support)

1. Run the Windows Update troubleshooter

Go to:

Settings → System → Troubleshoot → Other troubleshooters → Windows Update → Run

Apply any recommended repairs and restart the computer. (Microsoft Support)

2. Reset the Windows Update cache

Right-click Start, select Terminal (Admin), and choose Yes.

Run these commands one at a time:

cmd
net stop wuauserv net stop bits net stop cryptsvc if exist "%windir%\SoftwareDistribution.old" rd /s /q "%windir%\SoftwareDistribution.old" if exist "%windir%\System32\catroot2.old" rd /s /q "%windir%\System32\catroot2.old" ren "%windir%\SoftwareDistribution" SoftwareDistribution.old ren "%windir%\System32\catroot2" catroot2.old net start cryptsvc net start bits net start wuauserv

If a service says it was not running, continue with the next command. Restart the computer after completing the commands. This recreates the Windows Update download and signature databases. (Microsoft Learn)

3. Repair Windows system files

Open Terminal (Admin) again and run:

cmd
DISM /Online /Cleanup-Image /RestoreHealth

Wait until it completes, then run:

cmd
sfc /scannow

Restart the computer when both commands finish. Microsoft specifically recommends DISM and SFC for repairing the Windows component store and system files involved in update installation. (Microsoft Learn)

Now open:

Settings → Windows Update → Retry all

4. Repair update-folder permissions

Only perform this step if the update still fails with 0x80070005.

Open Terminal (Admin) and run:

cmd
icacls "%windir%\WinSxS" /reset /t /c /q icacls "%windir%\SoftwareDistribution" /reset /t /c /q

Restart the computer and retry the update.

If it fails again, restore ownership of the component store to TrustedInstaller:

cmd
icacls "%windir%\WinSxS" /setowner "NT SERVICE\TrustedInstaller" /t /c /q

Restart and retry once more. These are Microsoft’s specific permission-repair steps for Windows Update error 0x80070005. (Microsoft Learn)

5. Reinstall your current Windows version as a repair

If none of the above works, go to:

Settings → System → Recovery → Fix problems using Windows Update → Reinstall now

This reinstalls your currently installed Windows version, repairs system components, and preserves your applications, personal files, and settings. After it finishes, restart and try build 29634.1000 again. (Microsoft Support)

If it still fails

Open PowerShell as administrator and generate the update log:

powershell
Get-WindowsUpdateLog -LogPath "$env:USERPROFILE\Desktop\WindowsUpdate.log"

A file named WindowsUpdate.log will appear on the desktop. Search it for 0x80070005; the nearby entries should identify the exact folder, file, registry key, antivirus driver, or policy that denied access. (Microsoft Learn)

질문

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\Users\NatMinGyi> net stop wuauserv
The Windows Update service is not started.

More help is available by typing NET HELPMSG 3521.

PS C:\Users\NatMinGyi> net stop bits
The Background Intelligent Transfer Service service is not started.

More help is available by typing NET HELPMSG 3521.

PS C:\Users\NatMinGyi> net stop cryptsvc
The following services are dependent on the Cryptographic Services service.
Stopping the Cryptographic Services service will also stop these services.

Smartlocker Filter Driver
Application Identity

Do you want to continue this operation? (Y/N) [N]: Y

The Smartlocker Filter Driver service was stopped successfully.

The Application Identity service is stopping.
The Application Identity service was stopped successfully.

The Cryptographic Services service is stopping..
The Cryptographic Services service was stopped successfully.

PS C:\Users\NatMinGyi> "%windir%\SoftwareDistribution.old" rd /s /q "%windir%\SoftwareDistribution.old"
At line:1 char:37

  • "%windir%\SoftwareDistribution.old" rd /s /q "%windir%\SoftwareDistri ...
  •                                 ~~
    

Unexpected token 'rd' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

PS C:\Users\NatMinGyi> "%windir%\System32\catroot2.old" rd /s /q "%windir%\System32\catroot2.old"
At line:1 char:34

  • "%windir%\System32\catroot2.old" rd /s /q "%windir%\System32\catroot2 ...
  •                              ~~
    

Unexpected token 'rd' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

PS C:\Users\NatMinGyi>

사고

Confirming the reset sequence

I’m choosing timestamped backup names so existing folders aren’t overwritten. I’ll use native PowerShell syntax, restart services afterward, and recommend DISM before SFC, with citations supporting Microsoft’s recovery guidance.

Confirmed the reset sequence

Worked for 3m 35s

답변

You’re okay—nothing was damaged.

  • NET HELPMSG 3521 only means that Windows Update and BITS were already stopped.
  • The red errors occurred because the commands were written for Command Prompt, but you ran them in PowerShell. PowerShell uses $env:windir instead of %windir%, and uses commands such as Rename-Item rather than rd /s /q. Microsoft’s manual reset instructions specifically show those older commands for an elevated Command Prompt. (Microsoft Learn)
  • My previous deletion command was incorrectly formatted for PowerShell. Sorry about that.

Continue from your current PowerShell window

Make sure the window title says Administrator: Windows PowerShell. Copy and paste this entire block:

powershell
$stamp = Get-Date -Format "yyyyMMdd-HHmmss" if (Test-Path "$env:windir\SoftwareDistribution") { Rename-Item ` -Path "$env:windir\SoftwareDistribution" ` -NewName "SoftwareDistribution.old-$stamp" } if (Test-Path "$env:windir\System32\catroot2") { Rename-Item ` -Path "$env:windir\System32\catroot2" ` -NewName "catroot2.old-$stamp" } Start-Service cryptsvc Start-Service bits Start-Service wuauserv

This renames the update-cache folders using a timestamp, so it will not conflict with an existing .old folder. PowerShell’s Rename-Item command changes the folder name without deleting its contents. (Microsoft Learn)

You might see no output after successful commands. That is normal.

Restart and repair Windows

Restart the computer normally. Then open PowerShell as administrator again and run:

powershell
DISM.exe /Online /Cleanup-Image /RestoreHealth

Wait until it finishes. It can appear stuck at certain percentages, so leave the window open. Then run:

powershell
sfc /scannow

After SFC reaches 100%, restart the computer again.

Finally, open:

Settings → Windows Update → Retry all

Do not manually delete any other folders inside C:\Windows\System32.

이 Q&A 공유하기