User Tools

Site Tools


windows:10

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 [2026/02/13 01:28] – [Information] 19044.6937 Sean Rhonewindows:10 [2026/02/28 03:36] (current) – [Update Office] Sean Rhone
Line 34: Line 34:
  
 ==== Maintenance ==== ==== Maintenance ====
- 
-  "%SystemRoot%\System32\cleanmgr.exe" /sageset:9999 
  
   "notepad.exe" "%UserProfile%\Desktop\Maintenance.bat"   "notepad.exe" "%UserProfile%\Desktop\Maintenance.bat"
Line 44: Line 42:
 TITLE Maintenance TITLE Maintenance
 CD "%Temp%" CD "%Temp%"
 +
 +:: Disk Cleanup Set-up
 +"%SystemRoot%\System32\cleanmgr.exe" /sageset:9999
  
 :: System File Check, Cleanup, and Repair :: System File Check, Cleanup, and Repair
Line 49: Line 50:
 "%SystemRoot%\System32\sfc.exe" /scannow "%SystemRoot%\System32\sfc.exe" /scannow
  
-:: Classic Disk Cleanup+:: Disk Cleanup
 "%SystemRoot%\System32\cleanmgr.exe" /sagerun:9999 "%SystemRoot%\System32\cleanmgr.exe" /sagerun:9999
  
Line 65: Line 66:
  
 PAUSE PAUSE
 +"%SystemRoot%\System32\taskkill.exe" /F /IM "explorer.exe"
 +"%SystemRoot%\System32\timeout.exe" /T "2" /NOBREAK
 +
 +:: Icon Cache
 +DEL /F /Q "%LocalAppData%\Microsoft\Windows\Explorer\"*".db"
 +DEL /F /Q "%UserProfile%\AppData\Local\IconCache.db"
 +
 +:: Shader Cache
 +DEL /F /Q "%LocalAppData%\D3DSCache\*"
 +DEL /F /Q "%UserProfile%\AppData\LocalLow\Intel\ShaderCache\*"
 +
 +:: Temp Dirs
 +DEL /F /Q "%LocalAppData%\Temp\*"
 +DEL /F /Q "%SystemRoot%\Temp\*"
 +
 +TIMEOUT /T "2" /NOBREAK
 +START explorer.exe
  
 :: Defrag/Trim :: Defrag/Trim
 +PAUSE
 "%SystemRoot%\System32\Defrag.exe" /AllVolumes /Defrag /TierOptimize /SlabConsolidate /Retrim /Optimize /PrintProgress /Verbose /NormalPriority "%SystemRoot%\System32\Defrag.exe" /AllVolumes /Defrag /TierOptimize /SlabConsolidate /Retrim /Optimize /PrintProgress /Verbose /NormalPriority
  
Line 72: Line 91:
  
 :: End</code> :: End</code>
- 
-=== Test === 
- 
-  * [[https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc788042(v=ws.11)?redirectedfrom=MSDN|URL]] 
- 
-  fsutil usn deleteJournal /D C: 
  
 ===== Downloads ===== ===== Downloads =====
- 
-==== Reset Icon Cache ==== 
- 
-  "notepad.exe" "%UserProfile%\Downloads\Reset Icon Cache.bat" 
- 
-<code> 
-@echo off 
- 
-TITLE Reset Icon Cache 
-CD "%Temp%" 
- 
-"%SystemRoot%\System32\taskkill.exe" /F /IM "explorer.exe" 
-"%SystemRoot%\System32\timeout.exe" /T "2" /NOBREAK 
- 
-DEL /F /Q "%LocalAppData%\Microsoft\Windows\Explorer\"*".db" 
-DEL /F /Q "%UserProfile%\AppData\Local\IconCache.db" 
- 
-"%SystemRoot%\System32\timeout.exe" /T "2" /NOBREAK 
-START "%SystemRoot%\explorer.exe" 
- 
-:: End</code> 
- 
-  "%UserProfile%\Downloads\Reset Icon Cache.bat" 
  
 ==== Remove Intel Microcode ==== ==== Remove Intel Microcode ====
  
-  "notepad.exe" "%UserProfile%\Downloads\Remove Intel Microcode.bat"+  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Remove Intel Microcode.bat"
  
 <code> <code>
 @echo off @echo off
  
-TITLE Remove Intel Microcode 
 CD "%Temp%" CD "%Temp%"
  
-TAKEOWN /F "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" +"%SystemRoot%\System32\takeown.exe /F "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" 
-ICACLS "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" /grant "Administrators:F"+"%SystemRoot%\System32\icacls.exe" "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" /grant "Administrators:F"
 DEL /Q "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" DEL /Q "%SystemRoot%\System32\mcupdate_GenuineIntel.dll"
- 
-PAUSE 
  
 :: End</code> :: End</code>
Line 128: Line 115:
 ==== RDP ==== ==== RDP ====
  
-  "notepad.exe" "%UserProfile%\Documents\Alira (LAN).rdp"+  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Documents\Alira (LAN).rdp"
  
 <code> <code>
Line 141: Line 128:
 === Start Menu === === Start Menu ===
  
-  "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Accessories"+  "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Accessories"
  
   "%UserProfile%\Documents\Alira (LAN).rdp"   "%UserProfile%\Documents\Alira (LAN).rdp"
Line 154: Line 141:
  
   "bcdedit.exe" /set "nx" "AlwaysOff"   "bcdedit.exe" /set "nx" "AlwaysOff"
 +
 +  "bcdedit.exe" /debug "Off"
 +
 +  "bcdedit.exe" /bootdebug "Off"
 +
 +  "bcdedit.exe" /ems "Off"
 +
 +  "bcdedit.exe" /event "Off"
 +
 +  "bcdedit.exe" /set "hypervisorlaunchtype" "Off"
 +
 +  "bcdedit.exe" /set "hypervisordebug" "Off"
 +
 +  "bcdedit.exe" /set "vsmlaunchtype" Off"
 +
 +  "bcdedit.exe" /set "pae" "ForceDisable"
  
 ===== Microsoft Edge ===== ===== Microsoft Edge =====
Line 302: Line 305:
   * [[https://www.pcgamingwiki.com/wiki/Glossary:Frame_rate_(FPS)#Force_games_to_use_a_custom_refresh_rate|https://www.pcgamingwiki.com/wiki/Glossary:Frame_rate_(FPS)#Force_games_to_use_a_custom_refresh_rate]]   * [[https://www.pcgamingwiki.com/wiki/Glossary:Frame_rate_(FPS)#Force_games_to_use_a_custom_refresh_rate|https://www.pcgamingwiki.com/wiki/Glossary:Frame_rate_(FPS)#Force_games_to_use_a_custom_refresh_rate]]
  
-  REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw" /v "ForceRefreshRate" /t "REG_DWORD" /d "60" /reg:64 /f+  REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw" /v "ForceRefreshRate" /t "REG_DWORD" /d "152" /reg:64 /f
  
-  REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw" /v "ForceRefreshRate" /t "REG_DWORD" /d "60" /reg:32 /f+  REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw" /v "ForceRefreshRate" /t "REG_DWORD" /d "152" /reg:32 /f
  
 ====== Other ====== ====== Other ======
Line 377: Line 380:
 ===== Update Office ===== ===== Update Office =====
  
-****+  "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools"
  
   "%CommonProgramFiles%\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update "user" forceappshutdown="True" displaylevel="True"   "%CommonProgramFiles%\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update "user" forceappshutdown="True" displaylevel="True"
 +
 +  Update Office
  
 ====== Services ====== ====== Services ======
Line 425: Line 430:
   * [[programs;firefox|Settings]]   * [[programs;firefox|Settings]]
  
-  REG ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles%\Mozilla Firefox\firefox.exe" /t "REG_SZ" /d "DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES NoDTToDITMouseBatch" /f+  REG ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles%\Mozilla Firefox\firefox.exe" /t "REG_SZ" /d "~ HIGHDPIAWARE" /f
  
 ===== Thunderbird ===== ===== Thunderbird =====
/usr/local/www/wiki/data/attic/windows/10.1770964120.txt.gz · Last modified: by Sean Rhone