Last active
May 25, 2021 11:44
-
-
Save spddl/0b3a1b4e65f49ba30dd48abef521c791 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start /WAIT "" "Services Enable.cmd" | |
start /WAIT "" "Updates Enable.cmd" | |
rem cmd /c echo wuauclt /detectnow>>"%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\WinUpdate.bat" | |
rem cmd /c echo wuauclt /updatenow>>"%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\WinUpdate.bat" | |
rem cmd /c echo start /WAIT "" "Services Disable.cmd">>"%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\WinUpdate.bat" | |
rem cmd /c echo start /WAIT "" "Updates Disable.cmd">>"%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\WinUpdate.bat" | |
rem cmd /c echo del "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\WinUpdate.bat">>"%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\WinUpdate.bat" | |
cmd /c echo d3VhdWNsdCAvZGV0ZWN0bm93Cnd1YXVjbHQgL3VwZGF0ZW5vdwpzdGFydCAvV0FJVCAiIiAiU2VydmljZXMgRGlzYWJsZS5jbWQiCnN0YXJ0IC9XQUlUICIiICJVcGRhdGVzIERpc2FibGUuY21kIgpkZWwgIiVhcHBkYXRhJVxNaWNyb3NvZnRcV2luZG93c1xTdGFydCBNZW51XFByb2dyYW1zXFN0YXJ0dXBcV2luVXBkYXRlLmJhdCI=>>delme.txt | |
certutil -decode delme.txt "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\WinUpdate.bat" | |
del delme.txt | |
shutdown -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment