(view source code of winupd.bat as plain text)
@ECHO OFF
ECHO.
ECHO WinUpd.bat, Version 1.00 for Windows 9x / NT 4 / 2000
ECHO Reenable Windows' Update feature.
ECHO.
ECHO Note:
ECHO Use NOWINUPD.BAT if you want to disable Windows' Update feature.
ECHO.
ECHO Written by Rob van der Woude
ECHO http://www.robvanderwoude.com
ECHO.
ECHO.
ECHO Press any key to continue, or Ctrl+C to abort . . .
PAUSE >NUL
ECHO.
ECHO Creating temporary file . . .
> "%Temp%.\NoWinUpd.reg" ECHO REGEDIT4
>>"%Temp%.\NoWinUpd.reg" ECHO.
>>"%Temp%.\NoWinUpd.reg" ECHO [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
>>"%Temp%.\NoWinUpd.reg" ECHO "NoWindowsUpdate"=-
>>"%Temp%.\NoWinUpd.reg" ECHO.
>>"%Temp%.\NoWinUpd.reg" ECHO [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
>>"%Temp%.\NoWinUpd.reg" ECHO "NoWindowsUpdate"=-
>>"%Temp%.\NoWinUpd.reg" ECHO.
ECHO Writing changes . . .
START /WAIT REGEDIT /S "%Temp%.\NoWinUpd.reg"
IF EXIST "%Temp%.\NoWinUpd.reg" DEL "%Temp%.\NoWinUpd.reg"
ECHO Done!
page last modified: 2024-04-16; loaded in 0.0056 seconds