Modify reg Path For AllowOSUpgrade

This commit is contained in:
Yorick Barbanneau 2016-05-24 12:40:27 +02:00
parent 3bbad04512
commit b70f97fc93

View file

@ -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"