https://support.microsoft.com/en-us/kb/3080351
Would it make sense to add this as an option?
Microsoft selbst hat nun eine Möglichkeit veröffentlicht das Zwangsupdate abzustellen
https://support.microsoft.com/de-de/kb/3080351
Wäre so eine Option vielleicht sinnvoll?
- Code: Select all
@Echo On
cd %systemroot%\system32
call :IsAdmin
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Gwx" /v "DisableGwx" /t REG_DWORD /d "1" /f
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DisableOSUpgrade" /t REG_DWORD /d "1" /f
Exit
:IsAdmin
Reg.exe query "HKU\S-1-5-19\Environment"
If Not %ERRORLEVEL% EQU 0 (
Cls & Echo You must have administrator rights to continue ...
Pause & Exit
)
Cls
goto:eof