User Tools

Site Tools


windows:10_ltsc_server

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:10_ltsc_server [2026/01/24 18:32] Sean Rhonewindows:10_ltsc_server [2026/02/10 22:35] (current) – [Information] 19044.6937 Sean Rhone
Line 2: Line 2:
  
   * Microsoft Windows 10 IoT Enterprise LTSC   * Microsoft Windows 10 IoT Enterprise LTSC
-  * Version 21H2 (OS Build 19044.6811)+  * Version 21H2 (OS Build 19044.6937)
   * Server ((see [[windows;10|main notes]] for desktop))   * Server ((see [[windows;10|main notes]] for desktop))
  
Line 24: Line 24:
 ==== Maintenance ==== ==== Maintenance ====
  
-  "%SystemRoot%\System32\cleanmgr.exe" /sageset:65535+  "%SystemRoot%\System32\cleanmgr.exe" /sageset:9999
  
   "notepad.exe" "%UserProfile%\Downloads\Maintenance.bat"   "notepad.exe" "%UserProfile%\Downloads\Maintenance.bat"
Line 33: Line 33:
 TITLE Maintenance TITLE Maintenance
 CD "%Temp%" CD "%Temp%"
- 
-"%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe" update /force /queue 
-"%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" update /force /queue 
-"%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe" executequeueditems 
-"%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" executequeueditems 
  
 "%SystemRoot%\System32\Dism.exe" /online /Cleanup-Image /StartComponentCleanup /ResetBase /RestoreHealth "%SystemRoot%\System32\Dism.exe" /online /Cleanup-Image /StartComponentCleanup /ResetBase /RestoreHealth
 "%SystemRoot%\System32\sfc.exe" /scannow "%SystemRoot%\System32\sfc.exe" /scannow
  
-"%SystemRoot%\System32\cleanmgr.exe" /sagerun:65535 +"%SystemRoot%\System32\cleanmgr.exe" /sagerun:9999
 "%SystemRoot%\System32\vssadmin.exe" Delete Shadows /All "%SystemRoot%\System32\vssadmin.exe" Delete Shadows /All
 +"%SystemRoot%\System32\fsutil.exe" usn deleteJournal /D "%SystemDrive%"
  
 "%SystemRoot%\System32\Defrag.exe" /AllVolumes /Defrag /TierOptimize /SlabConsolidate /Retrim /Optimize "%SystemRoot%\System32\Defrag.exe" /AllVolumes /Defrag /TierOptimize /SlabConsolidate /Retrim /Optimize
 +
 +CALL "%UserProfile%\Downloads\Reset Icon Cache.bat"
 +
 +"%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe" update /force /queue
 +"%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" update /force /queue
 +"%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\ngen.exe" executequeueditems
 +"%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" executequeueditems
  
 :: End</code> :: End</code>
 +
 +  "%UserProfile%\Downloads\Maintenance.bat"
  
 ==== Reset Icon Cache ==== ==== Reset Icon Cache ====
Line 55: Line 59:
  
 <code> <code>
 +@echo off
 +
 +TITLE Reset Icon Cache
 +CD "%Temp%"
 +
 TASKKILL /F /IM "explorer.exe" TASKKILL /F /IM "explorer.exe"
 TIMEOUT /T "2" /NOBREAK TIMEOUT /T "2" /NOBREAK
Line 255: Line 264:
  
 ====== Task Scheduler ====== ====== Task Scheduler ======
- 
-**** 
- 
-  taskschd.msc 
  
 ===== OS Restart ===== ===== OS Restart =====
Line 266: Line 271:
   * Daily ''06:00:00 AM''   * Daily ''06:00:00 AM''
  
-  SCHTASKS /Create /SC "ONCE" /TN "OS Restart" /TR "shutdown.exe /g /t 0 /f /d p:4:1" /ST "06:00" /F+  SCHTASKS /Create /SC "DAILY" /TN "OS Restart" /TR "'%SystemRoot%\System32\shutdown.exe/g /t '0/f /d p:'4':'1'" /ST "06:00" /F 
 + 
 +===== Maintenance ===== 
 + 
 +  * [[#maintenance|Maintenance.bat]] 
 +  * Application: Maintenance (Planned) 
 +  * Monthly (first Wednesday) ''05:00:00 AM'' 
 + 
 +  SCHTASKS /Create /SC "MONTHLY" /MO "FIRST" /D "WED" /M "*" /TN "OS Maintenance" /TR "%UserProfile%\Downloads\Maintenance.bat" /ST "05:00" /F
  
/usr/local/www/wiki/data/attic/windows/10_ltsc_server.1769297568.txt.gz · Last modified: by Sean Rhone