User Tools

Site Tools


windows:10

Information

  • Microsoft Windows 10 IoT Enterprise LTSC
  • Version 21H2 (OS Build 19044.7548)

Resources

Updates

Shortcuts

Desktop

Calculator

"%SystemRoot%\System32\win32calc.exe"
Calculator

Maintenance

"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\Maintenance.bat"
@echo off

TITLE Maintenance
CD "%Temp%"

:: Disk Cleanup Set-up
"%SystemRoot%\System32\cleanmgr.exe" /sageset:9999

:: System File Check, Cleanup, and Repair
"%SystemRoot%\System32\Dism.exe" /online /Cleanup-Image /StartComponentCleanup /ResetBase /RestoreHealth
"%SystemRoot%\System32\sfc.exe" /scannow

:: Disk Cleanup
"%SystemRoot%\System32\cleanmgr.exe" /sagerun:9999

:: Volume Shadow Copy
"%SystemRoot%\System32\vssadmin.exe" Delete Shadows /All

:: USN Change Journal
"%SystemRoot%\System32\fsutil.exe" usn deleteJournal /D "%SystemDrive%"

:: .NET Framework 4
"%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

ECHO Explorer close
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"

:: Temp Dirs
DEL /F /Q "%LocalAppData%\Temp\*"
DEL /F /Q "%SystemRoot%\Temp\*"

TIMEOUT /T "2" /NOBREAK
START explorer.exe

:: Defrag/Trim
ECHO Defrag
PAUSE
"%SystemRoot%\System32\Defrag.exe" /AllVolumes /Defrag /TierOptimize /SlabConsolidate /Retrim /Optimize /PrintProgress /Verbose /NormalPriority

PAUSE

:: End

Downloads

Remove Intel Microcode

"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Remove Intel Microcode.bat"
@echo off

CD "%Temp%"

"%SystemRoot%\System32\takeown.exe" /F "%SystemRoot%\System32\mcupdate_GenuineIntel.dll"
"%SystemRoot%\System32\icacls.exe" "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" /grant "Administrators:F"

DEL /Q "%SystemRoot%\System32\mcupdate_GenuineIntel.dll"

:: End
"%UserProfile%\Downloads\Remove Intel Microcode.bat"

Start Menu

SSH

  • TODO: MKDIR new folder + shortcut for update + wiki backup
"%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Accessories"
"%SystemRoot%\System32\OpenSSH\ssh.exe" -o "StrictHostKeyChecking='no'" -o "UserKnownHostsFile='NUL'" "192.168.1.152"
Kraityn

Update Office

"%SystemRoot%\explorer.exe" "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft Office Tools"
"%CommonProgramFiles%\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update "user" forceappshutdown="True" displaylevel="True"
Update Office

Settings

BCDEdit

Microsoft Edge

Printer

ipp://192.168.1.164/ipp/print

Power

Disable Hibernation and Fast Start

"powercfg.exe" /HIBERNATE "OFF"

Enable Ultimate Performance Power Plan

"powercfg.exe" /DUPLICATESCHEME "e9a42b02-d5df-448d-aa00-03f14749eb61"

More Settings

"powercfg.exe" /Qh

Disable Clipboard History

"%SystemRoot%\System32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "AllowClipboardHistory" /t REG_DWORD /d "0" /f
"%SystemRoot%\System32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d "0" /f

Disable Game DVR

"%SystemRoot%\System32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t "REG_DWORD" /d "0" /f

Quick Lock Screen

  • Directly shows password prompt
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v "NoLockScreen" /t REG_DWORD /d "1" /f

Undo

REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v "NoLockScreen" /t REG_DWORD /d "0" /f

Disable Online Speech Recognition

reg add "HKLM\SOFTWARE\Policies\Microsoft\InputPersonalization" /v "AllowInputPersonalization" /t REG_DWORD /d "0" /f

Open Pictures With Windows Photo Viewer

reg add "HKCU\Software\Classes\.jpg" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.jpeg" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.gif" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.png" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.bmp" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.tiff" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKCU\Software\Classes\.ico" /ve /t "REG_SZ" /d "PhotoViewer.FileAssoc.Tiff" /f

Disable Remote Desktop

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fDenyTSConnections" /t REG_DWORD /d "1" /f

Disable Shared Experiences

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableCdp" /t REG_DWORD /d "0" /f

Disable System Restore

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableSR " /t "REG_DWORD" /d "1" /f

Disable Telemetry Features

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t "REG_DWORD" /d "0" /f

Disable User Account Control

REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t "REG_DWORD" /d "0" /f

Enable FIPS Mode

"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy" /v "Enabled" /t "REG_DWORD" /d "1" /f

Remove Quick Access

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "HubMode" /t "REG_DWORD" /d "1" /f
"%SystemRoot%\System32\sc.exe" stop "WSearch" & "%SystemRoot%\System32\sc.exe" config "WSearch" "start=disabled"
"%SystemRoot%\System32\Dism.exe" /Online /Disable-Feature /FeatureName:"SearchEngine-Client-Package" /Remove

Show All Folders in File Explorer Pane

reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneShowAllFolders" /t "REG_DWORD" /d "1" /f

Verbose Shutdown

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "VerboseStatus" /t REG_DWORD /d "1" /f

Other

HOSTS

fakenews + gambling

"%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

Script

"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\ScriptTiger Hosts (fakenews + gambling).bat"
@echo off

TITLE ScriptTiger Hosts (fakenews + gambling)
CD "%Temp%"

"%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
"%UserProfile%\Downloads\ScriptTiger Hosts (fakenews + gambling).bat"

Microsoft Store

"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Downloads\Install Microsoft Store.bat"
@echo off

TITLE Install Microsoft Store
CD "%Temp%"

"%SystemRoot%\System32\WSReset.exe" -i
"%SystemRoot%\System32\timeout.exe" /T "20" /NOBREAK

"%SystemRoot%\System32\WSReset.exe" -i

EXIT /B

:: End
"%UserProfile%\Downloads\Install Microsoft Store.bat"

WinSAT

"%SystemRoot%\System32\WinSAT.exe" "formal" -restart "clean" -v
"%SystemRoot%\System32\WinSAT.exe" forgethistory
"%SystemRoot%\System32\WinSAT.exe" query

NetFX3 From Install Media

  • Change D:\ to install media drive if necessary
Dism /online /enable-feature /featurename:"NetFX3" /All /Source:"D:\sources\sxs" /LimitAccess

Prevent Driver Changes

Notes

  • To be done after a proper driver is manually installed
  • This ensures Windows Update nor anything else can replace installed drivers for specific devices unattended
  • Additional entries need to add a new number (the value after /v)
  • The device ID can be acquired from Device Manager and should be pasted as-is (no extra slashes)

Base Policies

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceIDs" /t "REG_DWORD" /d "1" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceIDsRetroactive" /t "REG_DWORD" /d "0" /f

Format

  • Do not copy/paste these as-is; only here for reference
  • Adjust to specific devices as-needed

Add Prevent Policy

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "#" /t "REG_SZ" /d "PCI\VEN_XXXX&DEV_XXXX&SUBSYS_XXXXXXXX&REV_XX" /f

Remove Prevent Policy

reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "#" /f

Alt

  • Dynamic Tuning devices can be disabled from registry
  • 5 devices
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ACPI\INT3400\2&daba3ff&1

Transparent Taskbar

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm ForceEffectMode 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced UseOLEDTaskbarTransparency 1

Aero Lite Theme

COPY /Y "%SystemRoot%\Resources\Themes\aero.theme" "%UserProfile%\Desktop\aerolite.theme"
"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Desktop\aerolite.theme"
[Theme]
DisplayName=Aero Lite
[VisualStyles]
Path=%ResourceDir%\Themes\Aero\AeroLite.msstyles

Apply

  • Delete aerolite.theme after apply
"%UserProfile%\Desktop\aerolite.theme"

Settings

  • Personalization → Colors
  • Default Windows mode: [x] Dark
  • Default app mode: [x] Light
  • [ ] Transparency effects
  • [ ] Automatically pick an accent color
  • Accent color on surfaces: [x] Title bars and window borders

TCP ACK

  • DWORD = 1 for both
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
TcpAckFrequency
TcpNoDelay

Hide SSH Folder

"%SystemRoot%\System32\attrib.exe" +H "%UserProfile%\.ssh"

Services

Programs

7-Zip

Android Tools

aria2

Brain Workshop

DirectX End-User Runtime

Firefox

Thunderbird

GIMP

Hide Keyrings

"%SystemRoot%\System32\attrib.exe" +H "%UserProfile%\.dbus-keyrings"

KeePassXC

Okular

Notepad++

qBittorrent

VC++ Redist

VLC media player

Vulkan Runtime

Drivers

Hailrake

  • TODO

Boulderback

Chipset

Graphics

Spinesnap

Keyboard

Mouse

  • ATTACK SHARK R6
"%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" --app="https://www.xvalleyinno.top/AttackShark/#/project/items"
"%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" --app="https://cn.attackshark.pro/WebDriven/index.html#/project/items"

SATA/RST

  • 16.8.5.1014 2)

Ethernet

  • I219-LM Gigabit
  • Intel Corporation Ethernet Connection (7) I219-LM (rev 10) 3)
  • :?: 2026/05/23: 12.19.2.64 limits Receive and Transmit Buffers to 2048 on W11, but can do 4096+ on 10

Wireless

Graphics

8GB VRAM

  • :?: Aperture size and other BIOS options affect available memory 4)
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000\GMM" /v "DedicatedSegmentSize" /t "REG_DWORD" /d "8192" /f

Etc

  • :?: DisableFlipImmediateOnHSync=1 caused MW2 (DX9) to cap FPS at refresh rate on external HDMI
  • 2026/07/13: Display1_DisableAsyncFlips=1 capped osu!lazer (D3D11) at refresh rate (OGL was uncapped)
  • IncreaseFixedSegment is seemingly 0 or 1 5)
  • :?: @dota2.exe and etc at 1 6)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000
AdaptiveVsyncEnable
ForcePLLDisableEnableForFreqChange
IncreaseFixedSegment
LSPCONLpmEnable
NarrowGamutSplitGammaEnable
PowerGpsAggressivenessLevel
PSR2Disable
Psr2DrrsEnable
RemoveALLInterlacedModes
ResendACTSignal
TotalPSR2OUICount
z AssertBreakDisable
z AssertEnableMask
z DebugEnableMask
1)
:!: flashes without warning/prompt
2)
OpROM is 16.0.2.3402, 16.8.5.1014.5 release notes matches latest v16 branch
3)
rev 10 drivers, not rev 18+
4)
1024MB aperture does 7086 MB in dxdiag
5)
source; hints online say it's VRAM increase but DedicatedSegmentSize does that
6)
dx9, 11, games, benchmarks, CAD; 32-bit?
/usr/local/www/wiki/data/pages/windows/10.txt · Last modified: by Sean Rhone