Add / Modify DisableOSUpgrade reg value to prevent Win10 update
This commit is contained in:
parent
b70f97fc93
commit
3c78ab825b
1 changed files with 1 additions and 0 deletions
|
@ -180,3 +180,4 @@ remove_tasks $sheduledTasks
|
|||
|
||||
Write-Host -ForegroundColor white "`nReg update ... "
|
||||
add_reg_object "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade" "AllowOSUpgrade" "0"
|
||||
add_reg_object "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" "DisableOSUpgrade" "0"
|
||||
|
|
Reference in a new issue