From e8c9e5196bc35df9ccbaf0f91a58acd5c38bb29f Mon Sep 17 00:00:00 2001 From: Yorick Date: Sat, 28 May 2016 14:59:08 +0200 Subject: [PATCH] =?UTF-8?q?Add=20=C2=96DisableGWX=20Reg=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- remove-kb.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/remove-kb.ps1 b/remove-kb.ps1 index 8f997ea..12165b4 100755 --- a/remove-kb.ps1 +++ b/remove-kb.ps1 @@ -194,3 +194,4 @@ remove_tasks $sheduledTasks Write-Host -ForegroundColor white "`nUpdate Registrery to prevent Win10 automatic installation...`n------------------------------------------------------------" add_reg_object "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade" "AllowOSUpgrade" "0" "DWord" add_reg_object "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" "DisableOSUpgrade" "1" "DWord" +add_reg_object "HKLM:\SOFTWARE\Policies\Microsoft\Windows\GWX" "DisableGWX" "1" "DWord"