Skip to content

Instantly share code, notes, and snippets.

@AgentRev
Last active March 17, 2020 04:47
Show Gist options
  • Save AgentRev/47803e0f61193ecb1717b145c3e8a067 to your computer and use it in GitHub Desktop.
Save AgentRev/47803e0f61193ecb1717b145c3e8a067 to your computer and use it in GitHub Desktop.
Shut the fuck up you stupid fucking Windows Update reboot shitfuck - run as admin
rem KILL WINDOWS UPDATE REBOOT WITH FIRE!!!
SET mwuo=Microsoft\Windows\UpdateOrchestrator
schtasks /End /TN "\%mwuo%\Reboot"
schtasks /End /TN "\%mwuo%\USO_UxBroker_Display"
schtasks /End /TN "\%mwuo%\USO_UxBroker_ReadyToReboot"
schtasks /Change /TN "\%mwuo%\Reboot" /DISABLE
schtasks /Change /TN "\%mwuo%\USO_UxBroker_Display" /DISABLE
schtasks /Change /TN "\%mwuo%\USO_UxBroker_ReadyToReboot" /DISABLE
icacls "%WINDIR%\System32\Tasks\%mwuo%\Reboot" /deny "*S-1-1-0:F"
icacls "%WINDIR%\System32\Tasks\%mwuo%\USO_UxBroker_Display" /deny "*S-1-1-0:F"
icacls "%WINDIR%\System32\Tasks\%mwuo%\USO_UxBroker_ReadyToReboot" /deny "*S-1-1-0:F"
pause
@AgentRev
Copy link
Author

Dear Windows,
STFU.

@TheAshladzz
Copy link

Hahaha! Love this :) Ten thumbs up...microsofts ass!

@mike-bruno-acquia
Copy link

The perfect solution....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment