| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| windows:notes:scripts [2026/10/06 18:48] – Sean Rhone | windows:notes:scripts [2026/10/06 18:52] (current) – [60s Reboot] Sean Rhone |
|---|
| ====== Maintenance ====== | ====== Main ====== |
| | |
| | ===== Maintenance ===== |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Maintenance.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Maintenance.bat" |
| "%UserProfile%\Desktop\Maintenance.bat" | "%UserProfile%\Desktop\Maintenance.bat" |
| |
| ====== Offline CHKDSK ====== | ===== Remove Intel Microcode ===== |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Offline CHKDSK (Reboot).bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Remove Intel Microcode.bat" |
| |
| <code> | <code> |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%SystemRoot%\System32\chkdsk.exe" "C:" /F /V /spotfix /sdcleanup /offlinescanandfix | "%SystemRoot%\System32\takeown.exe" /F "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" |
| | "%SystemRoot%\System32\icacls.exe" "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" /grant "Administrators:F" |
| |
| "%SystemRoot%\System32\shutdown.exe" /r /f /t "10" | DEL /Q "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Desktop\Offline CHKDSK (Reboot).bat" | "%UserProfile%\Downloads\Remove Intel Microcode.bat" |
| |
| ====== 60s Reboot ====== | ===== ScriptTiger HOSTS ===== |
| |
| * Removing ''Microsoft ACPI-Compliant System'' causes lack-of input on USB-only Dell AIO | * https://scripttiger.github.io/alts/ |
| | * ''fakenews + gambling'' (Compressed) |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Reboot (60s).bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\ScriptTiger Hosts (fakenews + gambling).bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| | TITLE ScriptTiger Hosts (fakenews + gambling) |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%SystemRoot%\System32\shutdown.exe" /r /f /t "60" | "%SystemRoot%\System32\curl.exe" --output "%Temp%\blacklist-fg.txt" --location "https://scripttiger.github.io/alts/compressed/blacklist-fg.txt" --progress-bar |
| | MOVE /Y "%Temp%\blacklist-fg.txt" "%SystemRoot%\System32\drivers\etc\hosts" |
| | |
| | "%SystemRoot%\System32\ipconfig.exe" /flushdns |
| | "%SystemRoot%\System32\ipconfig.exe" /registerdns |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Desktop\Reboot (60s).bat" | "%UserProfile%\Downloads\ScriptTiger Hosts (fakenews + gambling).bat" |
| |
| ====== Remove Intel Microcode ====== | ===== Install Microsoft Store ===== |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Remove Intel Microcode.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Install Microsoft Store.bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| | TITLE Install Microsoft Store |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%SystemRoot%\System32\takeown.exe" /F "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" | "%SystemRoot%\System32\WSReset.exe" -i |
| "%SystemRoot%\System32\icacls.exe" "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" /grant "Administrators:F" | "%SystemRoot%\System32\timeout.exe" /T "20" /NOBREAK |
| |
| DEL /Q "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" | "%SystemRoot%\System32\WSReset.exe" -i |
| | |
| | EXIT /B |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Downloads\Remove Intel Microcode.bat" | "%UserProfile%\Downloads\Install Microsoft Store.bat" |
| |
| ====== Install Microsoft Store ====== | ====== Misc ====== |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Install Microsoft Store.bat" | ===== Offline CHKDSK ===== |
| | |
| | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Offline CHKDSK (Reboot).bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| TITLE Install Microsoft Store | |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%SystemRoot%\System32\WSReset.exe" -i | "%SystemRoot%\System32\chkdsk.exe" "C:" /F /V /spotfix /sdcleanup /offlinescanandfix |
| "%SystemRoot%\System32\timeout.exe" /T "20" /NOBREAK | |
| |
| "%SystemRoot%\System32\WSReset.exe" -i | "%SystemRoot%\System32\shutdown.exe" /r /f /t "10" |
| | |
| EXIT /B | |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Downloads\Install Microsoft Store.bat" | "%UserProfile%\Desktop\Offline CHKDSK (Reboot).bat" |
| |
| ====== ScriptTiger HOSTS ====== | ===== 60s Reboot ===== |
| |
| * https://scripttiger.github.io/alts/ | * :!: Removing ''Microsoft ACPI-Compliant System'' causes lack-of input on USB-only Dell AIO |
| * ''fakenews + gambling'' (Compressed) | |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\ScriptTiger Hosts (fakenews + gambling).bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Reboot (60s).bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| TITLE ScriptTiger Hosts (fakenews + gambling) | |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%SystemRoot%\System32\curl.exe" --output "%Temp%\blacklist-fg.txt" --location "https://scripttiger.github.io/alts/compressed/blacklist-fg.txt" --progress-bar | "%SystemRoot%\System32\shutdown.exe" /r /f /t "60" |
| MOVE /Y "%Temp%\blacklist-fg.txt" "%SystemRoot%\System32\drivers\etc\hosts" | |
| | |
| "%SystemRoot%\System32\ipconfig.exe" /flushdns | |
| "%SystemRoot%\System32\ipconfig.exe" /registerdns | |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Downloads\ScriptTiger Hosts (fakenews + gambling).bat" | "%UserProfile%\Desktop\Reboot (60s).bat" |
| |