From d3450609397a45d88bc5b51fc80ce4a43cd95985 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 9 Aug 2025 10:13:55 -0600 Subject: [PATCH] 1754756035 --- Windows-Scripts/force_me_off.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Windows-Scripts/force_me_off.ps1 b/Windows-Scripts/force_me_off.ps1 index b2868fd..0767d55 100644 --- a/Windows-Scripts/force_me_off.ps1 +++ b/Windows-Scripts/force_me_off.ps1 @@ -37,14 +37,15 @@ $popup_shell.Popup("REBOOTING BY FORCE IN $Hours HOURS $Minutes MINUTES AT $rebo function do_admin_shit { # handle interactive shit right away ## schedule chkdsk to take up fuckin tons of time - Start-Process -Verb RunAs -FilePath cmd.exe -ArgumentList '/C "chkdsk /r C:"' + Start-Process -Verb RunAs -FilePath cmd.exe -ArgumentList '/C "chkdsk /r C:"' ## must use fuckin cmd bullshit grumble grumble ## cancel with shutdown /a Start-Sleep -Seconds $total_wait_seconds # popup - ## $popup_shell.Popup(string , int , string , int ) - $popup_shell.Popup("REBOOTING BY FORCE IN $grace_minutes MINUTES", 2, "REBOOTING AS FUCK IN $grace_minutes MINUTES", 0) # | Out-Null ## reboot, force, delay $grace_seconds seconds + $popup_shell.Popup("REBOOTING BY FORCE IN $grace_minutes MINUTES", 2, "REBOOTING AS FUCK IN $grace_minutes MINUTES", 0) ## reboot, force, delay $grace_seconds seconds + + # set to reboot with windows defender offline scan scheduled to wastte even more time :wheeze: Start-Sleep -Seconds $grace_seconds && Start-Process -Verb RunAs -FilePath powershell.exe -ArgumentList '-C "Start-MpWDOScan"' }