4 ms·
I'm going to share the best way I have found to kill any particular thing in windows you don't like, including GWX: (this is not my full script, just a section,
by arca_vorago 10y ago
I'm going to share the best way I have found to kill any particular thing in windows you don't like, including GWX: (this is not my full script, just a section, so you will have to modify it)
taskkill /IM GWX*
takeown /r /d N /f c:\windows\system32\gwx
icacls c:\windows\system32\gwx\. /c /t /deny everyone:F
icacls c:\windows\system32\gwx /c /t /deny everyone:F
reg add HKLM\Software\Policies\Microsoft\Windows\Gwx /v DisableGwx /t REG_DWORD /d 1
edit: one thing I ran into that caused me to use this hackish script is that, at least in the early GWX days, windows updates were re-enabling the GWX and update registry keys. So a few tuesdays later and GWX is back and asking to upgrade again.
- sfont 10y agoThis is my registry changes that has worked every time. Even when the install is set to kick off with the next reboot. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade] "ReservationsAllowed"=dword:00000000 "KickoffDownload"=dword:00000000 "KickoffSource"=dword:00000000 "AllowOSUpgrade"=dword:00000000 "Refresh"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade\State] "OSUpgradeState"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate] "DisableOSUpgrade"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Gwx] "DisableGwx"=dword:00000001
- zxcvcxz 10y agoOn Linux we just close the update window.
- tetraodonpuffer 10y agointeresting, I knew about the last two, but not the OSUpgrade ones, did you find those are needed as well?
- sfont 10y agoI copied the first part from a domain joined PC before a later update caused them to receive the upgrade prompt as well. It's kind of belt and suspenders so it doesn't harm but may not actually be needed.
- mobiuscog 10y agoHow about this official way: https://support.microsoft.com/en-gb/kb/3080351 https://support.microsoft.com/en-gb/kb/3080351
- deleted 10y ago[deleted]