Modify reg Path For AllowOSUpgrade
This commit is contained in:
parent
3bbad04512
commit
b70f97fc93
1 changed files with 1 additions and 1 deletions
|
@ -179,4 +179,4 @@ Write-Host -ForegroundColor white "`nRemoving sheduled tasks ... "
|
|||
remove_tasks $sheduledTasks
|
||||
|
||||
Write-Host -ForegroundColor white "`nReg update ... "
|
||||
add_reg_object "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade" "AllowOSUpgrade" "0"
|
||||
add_reg_object "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade" "AllowOSUpgrade" "0"
|
||||
|
|
Reference in a new issue