User Tools

Site Tools


windows:10_ltsc_server

This is an old revision of the document!


Information

  • Microsoft Windows 10 IoT Enterprise LTSC
  • Version 21H2 (OS Build 19044.6812)
  • Server 1)

Updates

Shortcuts

Desktop

System Properties

SystemPropertiesAdvanced.exe
System Props

Downloads

Maintenance

"%SystemRoot%\System32\cleanmgr.exe" /sageset:9999
"notepad.exe" "%UserProfile%\Downloads\Maintenance.bat"
@echo off

TITLE Maintenance
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\sfc.exe" /scannow

"%SystemRoot%\System32\cleanmgr.exe" /sagerun:9999
"%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

CALL "%UserProfile%\Downloads\Reset Icon Cache.bat"

:: End
"%UserProfile%\Downloads\Maintenance.bat"

Reset Icon Cache

"notepad.exe" "%UserProfile%\Downloads\Reset Icon Cache.bat"
TASKKILL /F /IM "explorer.exe"
TIMEOUT /T "2" /NOBREAK
DEL /F /Q "%LocalAppData%\Microsoft\Windows\Explorer\"*".db"
DEL /F /Q "%UserProfile%\AppData\Local\IconCache.db"
TIMEOUT /T "2" /NOBREAK
START explorer.exe

:: End
"%UserProfile%\Downloads\Reset Icon Cache.bat"

Settings

Microsoft Edge

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

SMB

Disable Clipboard History

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

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

Disable Game DVR

reg 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 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

REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy" /v "Enabled" /t "REG_DWORD" /d "1" /f
"powershell.exe" -Command "$md5 = New-Object -TypeName 'System.Security.Cryptography.MD5CryptoServiceProvider'"

Remove Quick Access

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "HubMode" /t "REG_DWORD" /d "1" /f
"sc.exe" stop "WSearch" & "sc.exe" config "WSearch" "start=disabled"
"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

Services

Programs

7-Zip

Calculator

  • Only available on LTSB/LTSC
win32calc

DirectX End-User Runtime

Firefox

KeePassXC

VC++ Redist

Drivers

Boulderback

Chipset

Task Scheduler

OS Restart

SCHTASKS /Create /SC "ONCE" /TN "OS Restart" /TR "'%SystemRoot%\System32\shutdown.exe' /g /t '0' /f /d p:'4':'1'" /ST "06:00" /F

Maintenance

  • 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
1)
see main notes for desktop
/usr/local/www/wiki/data/attic/windows/10_ltsc_server.1769725326.txt.gz · Last modified: by Sean Rhone