-
-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathwindows-updates-pause.reg
More file actions
195 lines (179 loc) · 10.2 KB
/
windows-updates-pause.reg
File metadata and controls
195 lines (179 loc) · 10.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
Windows Registry Editor Version 5.00
; --------------------------------------------------------------------------------------------------
; @script windows-updates-pause.reg
; @author Aetherinox
; @url https://github.com/Aetherinox/pause-windows-updates
;
; A script to pause Windows Updates for a long period of time.
;
; User can un-pause updates by opening the 'Windows Update' window.
; You can also access that window by opening your start menu, select 'Run'
; and type
; ms-settings:windowsupdate
;
; You can also re-enable updates by executing the other file included
; in the repo URL above:
; windows-updates-unpause.reg
; --------------------------------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings]
"PauseFeatureUpdatesStartTime"="2025-01-01T00:00:00Z"
"PauseFeatureUpdatesEndTime"="2051-12-31T00:00:00Z"
"PauseQualityUpdatesStartTime"="2025-01-01T00:00:00Z"
"PauseQualityUpdatesEndTime"="2051-12-31T00:00:00Z"
"PauseUpdatesStartTime"="2025-01-01T00:00:00Z"
"PauseUpdatesExpiryTime"="2051-12-31T00:00:00Z"
"ActiveHoursStart"=dword:0000000d
"ActiveHoursEnd"=dword:00000007
"FlightSettingsMaxPauseDays"=dword:00002727
; --------------------------------------------------------------------------------------------------
; @desc Disable Service - Windows Update Medic Service (WaaSMedicSvc)
;
; Start
; @options 0 Boot Loaded by the boot loader (very early in boot)
; 1 System Loaded by the I/O subsystem (early in boot)
; 2 Automatic Starts automatically during system startup
; 3 Manual Starts only when triggered manually or by a dependent service
; 4 Disabled Service is disabled and will not start
;
; FailureActions
; @desc determines what happens when Failure occurs
; - No automatic recovery actions are configured for WaaSMedicSvc if it fails.
; - Windows will not try to restart the service, run any commands, or reboot the computer on failure.
; - Combined with "Start"=4, the service is disabled and there is no recovery configured.
; - Reset period: 0 (no reset time for failure count)
; - No reboot message
; - No command to run on failure
; - Count of failure actions: 0 (meaning no actions configured)
; - No failure action entries
; --------------------------------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc]
"Start"=dword:00000004
"FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
; --------------------------------------------------------------------------------------------------
; Disable Windows Update service (wuauserv)
; --------------------------------------------------------------------------------------------------
;
; [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv]
; "Start"=dword:00000004
; "FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
; 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
; --------------------------------------------------------------------------------------------------
; Disable Windows Update Orchestrator Service (UsoSvc)
; --------------------------------------------------------------------------------------------------
;
; [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc]
; "Start"=dword:00000004
; "FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
; 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
; --------------------------------------------------------------------------------------------------
; Disable Update Orchestrator Scheduled Tasks
; These tasks may be re-created by the system, manual removal may be needed
; --------------------------------------------------------------------------------------------------
;
; [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\{ce7fb776-4f88-40a9-bf23-32c4b7e510d1}]
; "Enabled"=dword:00000000
;
; [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\{7919ab71-7a01-4b21-bf41-2d1e580e5045}]
; "Enabled"=dword:00000000
; --------------------------------------------------------------------------------------------------
; AUOptions
; @ref https://learn.microsoft.com/en-us/windows/deployment/update/waas-wu-settings#configuring-automatic-updates-by-editing-the-registry
; @options 1 Keep my computer up to date is disabled in Automatic Updates.
; 2 Notify of download and installation.
; 3 Automatically download and notify of installation.
; 4 Automatically download and scheduled installation.
; 5 Allow local admin to select the configuration mode. This option isn't available for Windows 10 or later versions.
; 7 Notify for install and notify for restart. (Windows Server 2016 and later only)
;
; NoAutoUpdate
; @options 0 Automatic Updates are enabled (default).
; @options 1 Automatic Updates are disabled.
;
; NoAUShutdownOption
; @options 0 Install Updates and Shut Down option is displayed when updates are ready to install
; 1 Install Updates and Shut Down option is not displayed in the shutdown dialog
;
; AlwaysAutoRebootAtScheduledTime
; @options 0 Disabled (default). If a user is logged on when the scheduled install time arrives, Windows will wait until the user logs off to restart.
; 1 Enabled. Windows will automatically restart at the scheduled time even if a user is logged on, potentially causing data loss if work is unsaved.
;
; NoAutoRebootWithLoggedOnUsers
; @options 0 Disabled (default): Windows Update can automatically restart if a user is logged on.
; 1 Enabled: Windows Update will not automatically restart the computer while a user is logged on.
;
; AutoInstallMinorUpdates
; @options 0 Disabled (default): Minor updates are installed according to the normal update schedule.
; 1 Enabled: Minor updates are installed immediately and silently, outside the schedule.
;
; UseWUServer
; @options 0 Do not use WSUS — Windows Update connects directly to Microsoft Update servers.
; 1 Use WSUS — Windows Update connects to a WSUS server specified in other WSUS policies.
;
; --------------------------------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"AUOptions"=dword:00000001
"NoAutoUpdate"=dword:00000001
"NoAUShutdownOption"=dword:00000001
"AlwaysAutoRebootAtScheduledTime"=dword:00000000
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"AutoInstallMinorUpdates"=dword:00000000
"UseWUServer"=dword:00000000
; --------------------------------------------------------------------------------------------------
; PausedFeatureStatus && PausedQualityStatus
; @ref https://learn.microsoft.com/en-us/windows/deployment/update/waas-configure-wufb
; @options 0 feature updates not paused
; 1 feature updates paused
; 2 feature updates have auto-resumed after being paused
;
; PausedFeatureDate
; @desc Pauses Feature Updates (new Windows versions, e.g., 22H2 → 23H2)
; The device won’t scan for or install Feature Updates until the specified date is reached.
; After the date, scans and installs resume automatically.
; "YYYY-MM-DDTHH:MM:SSZ"
; The T separates date and time
; The Z means UTC
;
; PausedQualityDate
; @desc Pauses Quality Updates (monthly cumulative updates, security updates, servicing stack updates).
; After the date, scans and installs resume automatically.
; "YYYY-MM-DDTHH:MM:SSZ"
; The T separates date and time
; The Z means UTC
; --------------------------------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UpdatePolicy\Settings]
"PausedFeatureStatus"=dword:00000001
"PausedQualityStatus"=dword:00000001
"PausedQualityDate"="2025-01-01T00:00:00Z"
"PausedFeatureDate"="2025-01-01T00:00:00Z"
; --------------------------------------------------------------------------------------------------
; @target Optional / Driver Updates
; @desc Disable optional updates
; @ref https://github.com/Aetherinox/pause-windows-updates/issues/18
;
; ExcludeWUDriversInQualityUpdate
; @desc Whether Windows Update will also deliver driver updates along with Quality Updates (security and cumulative updates).
; @options 0 Drivers ARE included with updates
; 1 Drivers are NOT included (excluded)
; --------------------------------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device\Update]
"ExcludeWUDriversInQualityUpdate"=dword:00000001
; --------------------------------------------------------------------------------------------------
; Disable Windows Update UX notifications
; --------------------------------------------------------------------------------------------------
;
; [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\UX\Settings]
; "UxOption"=dword:00000000
; --------------------------------------------------------------------------------------------------
; Disable Windows Update access via Settings
; --------------------------------------------------------------------------------------------------
;
; [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
; "DisableWindowsUpdateAccess"=dword:00000001
; --------------------------------------------------------------------------------------------------
; Additional policy disable updates in PolicyManager
; --------------------------------------------------------------------------------------------------
;
; [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device\Update]
; "DisableOSUpgrade"=dword:00000001
; "DisableUpdateService"=dword:00000001