如果您使用Windows 11电脑,您可能熟悉Windows Update ,这是一项自动从(Windows Update)Microsoft下载并安装软件更新的服务。这些更新包括服务包、补丁和其他重要的系统文件,以提高性能和安全性。
但是,在某些情况下您可能希望自定义 Windows更新的(Update)工作方式。这可以通过修改Windows 注册表(Windows Registry)来实现,Windows 注册表是一个分层数据库,用于存储操作系统和选择使用它的应用程序的低级设置。

访问注册表
在继续之前,了解注册表是(Registry)一个强大的工具至关重要,错误地修改它可能会导致严重问题,可能需要您重新安装Windows 11操作系统。为了避免数据丢失或不可逆转的损坏,请确保在进行更改之前备份注册表(back up the Registry)和计算机。
如果您确定要编辑注册表(Registry),请按Windows + R打开“运行”(Run)应用,在文本框中键入 regedit,然后单击“确定”。

注册表编辑器将打开。
自定义Windows 更新注册表设置(Windows Update Registry Settings)
您可以通过多种方式通过注册表自定义(Registry)Windows 更新(Windows Update)。以下是一些较受欢迎的编辑。
如何禁用自动更新
默认情况下启用 Windows 更新,以确保您的Windows 11系统保持安全和最新。但是,有时您可能想要控制这些更新的发生时间,例如当您使用按流量计费或速度较慢的互联网连接时。
以下是如何使用 Windows 注册表
禁用自动更新。(disable automatic updates)
- 在注册表(Registry)编辑器中导航到此文件路径:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update
- 右键单击“自动更新”(Auto Update)文件,从上下文菜单中选择“新建”(New),然后选择“DWORD(32 位)值(Value)” 。

- 将新项命名为 AUOptions,然后双击它以打开其属性对话框。

- 在数值(Value)数据字段中输入 2 ,然后单击确定。

通过将该值设置为 2,您将指示Windows Update检查更新,但未经您的许可不得下载或安装它们。
如何更改Windows 更新服务启动类型(Windows Update Service Startup Type)
Windows Update 服务启动(Windows Update Service Startup)类型决定Windows Update服务的启动时间和方式。以下是如何使用Windows 注册表更改(Windows Registry)Windows Update服务启动类型。
- 在注册表(Registry)编辑器中导航到此文件路径:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceswuauserv
- 双击右侧窗格中的“开始”以打开其属性对话框。(Start)

- 将数值(Value)数据框中的数字更改为以下之一:
2:自动
3:手动
4:禁用
默认值为 3。如果将该值设置为 2,Windows Update服务将在系统启动时自动启动。如果将其设置为 4,该服务将被禁用并且不会启动,除非手动触发。设置值后
单击“确定” 。(Click OK)

更改应立即生效。
如何限制通过按流量计费的连接进行 Windows 更新(Windows Updates Over Metered Connections)
按流量计费的连接(metered connection)是一种网络连接,每月的数据使用量有限。Windows允许您将网络连接设置为按流量计费,以帮助控制数据使用。当设置为按流量计费的连接时,Windows Update将仅下载优先更新以节省数据,而不会自动下载大多数更新。
- 在注册表(Registry)编辑器中导航到此文件路径:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionNetworkListDefaultMediaCost
- 此时,如果您尝试修改DefaultMediaCost密钥,则会出现权限错误。您需要调整一些设置才能启用权限。首先(First),右键单击DefaultMediaCost键并从下拉菜单中选择权限。

- 在“DefaultMediaCost的权限”(Permissions)窗口中,单击“高级”(Advanced)。

- 现在我们需要更改Owner。默认情况下,这是TrustedInstaller。我们需要将所有者更改为Users。单击“更改”(Click Change)。

- (Enter)在文本框中输入用户的路径。在我们的例子中,这将是DESKTOP-HPCI71M\Users。您可以在上一步中的“用户”旁边找到此信息。输入名称后,单击“确定”。

- 既然用户(Users)是所有者,请从权限条目列表中选择(Permission)用户(Users),然后单击编辑(Edit)。

- 选中“完全控制”(Full Control)旁边的框,然后单击“确定”。

- 最后,单击应用(Apply)以应用设置。

- 您现在可以编辑DefaultMediaCost键。每个值,例如以太网(Ethernet)、WiFi、4G等,代表不同的连接。要将连接设置为按流量计费,请双击该值以打开其DWORD窗口,然后将值(Value)数据设置为 2。

该值现已设置为计量值。您可以将其设置为 1,将其切换回计量模式。
如何控制更新后
重新启动(Reboots)
Windows具有自动重新启动功能,可以在安装更新后重新启动计算机。(restart your computer)如果您正在处理重要的事情,这可能会很不方便。以下是控制自动重启的方法。
- 在注册表(Registry)编辑器中导航到此文件路径:
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU
- 双击(Double-click)NoAutoRebootWithLoggedOnUsers 。_(NoAutoRebootWithLoggedOnUsers)

- 将数值(Value)数据更改为 1,然后单击确定。

Windows 现在将不再在更新后重新启动。请记住(Remember),即使您下载并安装了更新,您也需要手动重新启动系统才能进行某些更新。
如何禁用自动驱动程序更新(Disable Automatic Driver Updates)
自动(Automatic)驱动程序更新有时会导致问题,特别是如果您有想要使用的特定驱动程序。禁用自动驱动程序更新可以让您更好地控制系统上安装的内容。
- 在注册表(Registry)编辑器中导航到此文件路径:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDriverSearching
- 双击(Double-click)SearchOrderConfig值并将其值(Value)数据编辑为 0。单击“确定”(Click OK)。

自动(Automatic)驱动程序更新现已禁用。
如何设置自动更新检查(Automatic Updates Checks)的频率(Frequency)
文本
- 在注册表(Registry)编辑器中导航到此文件路径:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update
- 右键单击(Right-click)空白区域,选择New > DWORD(32 位)值(Value),然后创建一个名为ScheduledInstallDay的新值。重复此过程并创建一个名为ScheduledInstallTime(ScheduledInstallTime)的新值。

- 双击ScheduledInstallDay并将值(Value)数据设置为 1 到 7。 1 代表Sunday, 2 代表Monday, 3 代表Tuesday,依此类推。单击“确定”(Click OK)。

- 双击ScheduledInstallTime并将值(Value)数据设置为 1 到 24。该值表示 24 小时格式的一天中的小时。单击“确定”(Click OK)。

因此,在我们的示例中,我们将日期设置为 5,将时间设置为 18。这意味着更新检查将在周四(Thursday)下午 6 点进行。
使用注册表
增强对 Windows 更新的控制(Control Over Windows)
自定义Windows 更新注册表(Windows Update Registry)设置可以让您更好地控制计算机的更新,使您能够管理数据使用、禁用自动更新、控制更新后重新启动等等。
但是,重要的是要谨慎处理此过程,并确保在进行任何更改之前备份您的计算机和注册表。(Registry)注册表是一个功能强大的工具,处理不当可能会导致严重(Registry)问题,需要重新安装操作系统。
个性化您的Windows 更新(Windows Update)体验的能力是存在的,只需确保您明智地使用此工具以避免潜在的并发症。
Windows Update Registry Settings: How to Customize Them
Іf you use a Windows 11 PC, уou’re probably familiar with Windows Update, a service that automatically downloads and installs software updates from Microsoft. These updates include service packs, patches, and other essential system files to improve performance and security.
However, there are situations where you might want to customize how Windows Update works. This can be achieved through modifications in the Windows Registry, a hierarchical database that stores low-level settings for the operating system and for the applications that opt to use it.

Accessing the Registry
Before you proceed, it’s crucial to understand that the Registry is a powerful tool, and incorrectly modifying it can cause serious problems that may require you to reinstall your Windows 11 operating system. To avoid data loss or irreversible damage, make sure that you back up the Registry and your computer before making changes.
If you’re sure you want to edit the Registry, press Windows + R to open the Run app, type regedit in the text box, and then click Ok.

The Registry Editor will open.
Customizing Windows Update Registry Settings
There are several ways you can customize Windows Update through the Registry. Here are some of the more popular edits.
How to Disable Automatic Updates
Windows Updates are enabled by default to ensure your Windows 11 system stays secure and up-to-date. However, there may be times when you want to control when these updates occur, such as when you’re on a metered or slow internet connection.
Here’s how you can disable automatic updates using the Windows Registry.
- Navigate to this file path in the Registry Editor:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update
- Right-click the Auto Update file, select New from the context menu, and then select DWORD (32-bit) Value.

- Name the new key AUOptions and then double-click it to open its properties dialog.

- Enter 2 in the Value data field and click OK.

By setting the value to 2, you’re telling Windows Update to check for updates but not download or install them without your permission.
How to Change the Windows Update Service Startup Type
The Windows Update Service Startup type determines when and how the Windows Update service is initiated. Here’s how to change the Windows Update service startup type using the Windows Registry.
- Navigate to this file path in the Registry Editor:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv
- Double-click Start in the right-hand pane to open its properties dialog.

- Change the number in the Value data box to one of the following:
2: Automatic
3: Manual
4: Disabled
The value is 3 by default. If you set the value to 2, the Windows Update service will start automatically when your system boots. If you set it to 4, the service will be disabled and won’t start unless manually triggered.
Click OK after you’ve set the value.

The changes should take effect immediately.
How to Restrict Windows Updates Over Metered Connections
A metered connection is a network connection where you have limited data usage per month. Windows lets you set your network connection as metered to help control data usage. When set to a metered connection, Windows Update will only download priority updates to save data and won’t download most updates automatically.
- Navigate to this file path in the Registry Editor:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost
- At this point, if you try to modify the DefaultMediaCost key, you’ll be given a permissions error. You’ll need to adjust a few settings to enable permissions. First, right-click the DefaultMediaCost key and select Permissions from the drop-down menu.

- In the Permissions for DefaultMediaCost window, click Advanced.

- Now we need to change the Owner. By default, this is TrustedInstaller. We need to change the owner to Users. Click Change.

- Enter the user’s path in the text box. In our case, that would be DESKTOP-HPCI71M\Users. You can find this info next to Users in the previous step. After you enter the name, click OK.

- Now that the Users is the owner, select Users from the Permission entries list and then click Edit.

- Check the box next to Full Control and then click OK.

- Finally, click Apply to apply the settings.

- You can now edit the DefaultMediaCost key. Each value, such as Ethernet, WiFi, 4G, etc., represents a different connection. To set a connection as metered, double-click the value to open its DWORD window, and then set the Value data to 2.

The value is now set as metered. You can switch it back to metered by setting it to 1.
How to Control Reboots After Updates
Windows has an automatic restart feature that can restart your computer after an update is installed. This can be inconvenient if you’re in the middle of something important. Here’s how to control the automatic restarts.
- Navigate to this file path in the Registry Editor:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
- Double-click the NoAutoRebootWithLoggedOnUsers.

- Change the Value data to 1 and then click OK.

Windows will now no longer restart after an update. Remember that even if you download and install an update, you’ll need to manually restart your system for some of those updates to take place.
How to Disable Automatic Driver Updates
Automatic driver updates can sometimes cause problems, particularly if you have specific drivers that you wish to use. Disabling automatic driver updates gives you more control over what is installed on your system.
- Navigate to this file path in the Registry Editor:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching
- Double-click the SearchOrderConfig value and edit its Value data to 0. Click OK.

Automatic driver updates are now disabled.
How to Set the Frequency of Automatic Updates Checks
Text
- Navigate to this file path in the Registry Editor:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update
- Right-click an empty space, select New > DWORD (32-bit) Value, and then create a new value called ScheduledInstallDay. Repeat this process and create a new value called ScheduledInstallTime.

- Double-click ScheduledInstallDay and set the Value data to 1 through 7. 1 represents Sunday, 2 represents Monday, 3 represents Tuesday, and so on. Click OK.

- Double-click ScheduledInstallTime and set the Value data to 1 through 24. The value represents the hour of the day in 24-hour format. Click OK.

So, in our example, we set the day to 5 and the time to 18. That means the update check will be on Thursday and 6 PM.
Enhancing Control Over Windows Updates With the Registry
Customizing Windows Update Registry settings can give you a greater level of control over your computer’s updates, enabling you to manage your data usage, disable automatic updates, control restarts after updates, and much more.
However, it’s important to approach this process with caution and ensure your computer and the Registry are backed up before making any changes. The Registry is a powerful tool and mishandling it can lead to serious issues requiring a reinstallation of your operating system.
The ability to personalize your Windows Update experience is there, just make sure that you use this tool wisely to avoid potential complications.