Windows 10:取消待更新并移除关机菜单中的更新相关选项
Got it, let's fix this step by step—no more accidental update triggers or unwanted auto-enables. Here's how to take back control of your Windows 10 system:
First, we need to halt any in-progress or pending updates and delete the downloaded files:
- Open Command Prompt as Administrator (right-click the Start menu > select "Command Prompt (Admin)" or "Windows Terminal (Admin)")
- Run this command to stop the Windows Update service:
net stop wuauserv - Next, delete all pending update files from the download folder:
rd /s /q C:\Windows\SoftwareDistribution\Download - You can leave the Windows Update service stopped for now—we’ll disable it fully in the next steps.
Once the pending updates are gone, we can hide those annoying update options from your shutdown menu. Choose the method that matches your Windows edition:
Method 1: Group Policy Editor (Pro/Enterprise/Education)
This is the cleaner option if you have a professional edition:
- Press Win + R, type
gpedit.msc, and hit Enter to open Group Policy Editor - Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Update
- Find the policy named "Configure Automatic Updates", double-click it, set it to Disabled, then click OK
- Next, go to User Configuration > Administrative Templates > Start Menu and Taskbar
- Enable the policies "Do not display 'Install Updates and Shut Down' option in Shut Down Windows dialog box" and "Do not display 'Install Updates and Restart' option in the Shut Down Windows dialog box" (some versions might have a combined policy)
- Run
gpupdate /forcein Command Prompt to apply changes immediately.
Method 2: Registry Editor (All Editions, including Home)
For Windows Home users, use the Registry Editor:
- Press Win + R, type
regedit, and hit Enter (confirm the UAC prompt) - First, disable automatic updates to prevent future pending updates:
- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU - If the
WindowsUpdateorAUkeys don’t exist, right-click the parent key > New > Key, and name them accordingly - Right-click the
AUkey > New > DWORD (32-bit) Value, name itNoAutoUpdate, set its value to1
- Navigate to
- Now hide the update power options:
- Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer - Create two DWORD values:
NoInstallUpdatesShutdownset to1(hides "Update and Shutdown")NoInstallUpdatesRestartset to1(hides "Update and Restart")
- Navigate to
- Close Registry Editor and restart your PC to see the changes.
To stop Windows from turning the update service back on without your permission:
- Press Win + R, type
services.msc, and hit Enter - Find the Windows Update service, right-click it > Properties
- Set the Startup type to Disabled
- If the service is currently running, click "Stop" before clicking Apply > OK
- For extra safety, check the Background Intelligent Transfer Service (BITS) and set its Startup type to Manual (this service helps with update downloads; setting it to Manual prevents it from running automatically unless needed)
Important Note
Be cautious when editing the Registry or Group Policy—always back up the Registry (File > Export in regedit) before making changes, just in case. If you ever decide to update Windows later, you can reverse these steps by re-enabling the service and policies.
内容的提问来源于stack exchange,提问作者Niko O

