1754746126

This commit is contained in:
2025-08-09 07:28:46 -06:00
parent 9d1bf30ace
commit 803eec5560
+2 -4
View File
@@ -28,10 +28,8 @@ Write-Host "`nSleeping for $Hours hours $Minutes minutes and forking to backgrou
function do_admin_shit { function do_admin_shit {
# handle interactive shit right away # handle interactive shit right away
## schedule chkdsk to take up fuckin tons of time ## 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:"'
# Start-Process -Verb RunAs -FilePath cmd.exe -ArgumentList '/C "chkdsk /r D:"' # Start-Process -Verb RunAs -FilePath cmd.exe -ArgumentList '/K "chkdsk /r E: && chkdsk /r D: && chkdsk /r C: && exit"'
# Start-Process -Verb RunAs -FilePath cmd.exe -ArgumentList '/C "chkdsk /r E:; chkdsk /r D:; chkdsk /r C:"'
Start-Process -Verb RunAs -FilePath cmd.exe -ArgumentList '/K "chkdsk /r E: && chkdsk /r D: && chkdsk /r C: && exit"'
## must use fuckin cmd bullshit grumble grumble ## must use fuckin cmd bullshit grumble grumble
## cancel with shutdown /a ## cancel with shutdown /a
shutdown /f /r /t $total_wait_seconds shutdown /f /r /t $total_wait_seconds