User Tools

Site Tools


windows:notes:scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
windows:notes:scripts [2026/10/06 18:43] – Sean Rhonewindows:notes:scripts [2026/10/06 18:52] (current) – [60s Reboot] Sean Rhone
Line 1: Line 1:
-====== Maintenance ======+====== Main ====== 
 + 
 +===== Maintenance =====
  
   "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Maintenance.bat"   "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Maintenance.bat"
Line 56: Line 58:
 :: End</code> :: End</code>
  
-====== Offline CHKDSK ======+  "%UserProfile%\Desktop\Maintenance.bat"
  
-  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Offline CHKDSK (Reboot).bat"+===== Remove Intel Microcode ===== 
 + 
 +  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Remove Intel Microcode.bat"
  
 <code> <code>
Line 65: Line 69:
 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> 
 + 
 +  "%UserProfile%\Desktop\Offline CHKDSK (Reboot).bat" 
 + 
 +===== 60s Reboot ===== 
 + 
 +  * :!: Removing ''Microsoft ACPI-Compliant System'' causes lack-of input on USB-only Dell AIO 
 + 
 +  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Reboot (60s).bat" 
 + 
 +<code> 
 +@echo off 
 + 
 +CD "%Temp%" 
 + 
 +"%SystemRoot%\System32\shutdown.exe" /r /f /t "60"
  
 :: End</code> :: End</code>
  
-  "%UserProfile%\Downloads\Install Microsoft Store.bat"+  "%UserProfile%\Desktop\Reboot (60s).bat"
  
/usr/local/www/wiki/data/attic/windows/notes/scripts.1791326586.txt.gz · Last modified: by Sean Rhone