16.0.2.3402, 16.8.5.1014.5 release notes matches latest v16 branchThis is an old revision of the document!
TITLE in batch files)System process)netstat -na | Select-String "80" netsh "branchcache" set service "DISABLED"
"%SystemRoot%\System32\win32calc.exe"
Calculator
"%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 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 PAUSE "%SystemRoot%\System32\Defrag.exe" /AllVolumes /Defrag /TierOptimize /SlabConsolidate /Retrim /Optimize /PrintProgress /Verbose /NormalPriority PAUSE :: End
"%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" DIR /B "%SystemRoot%\System32\mcupdate_GenuineIntel.dll" PAUSE :: End
"%UserProfile%\Downloads\Remove Intel Microcode.bat"
"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Documents\Alira (LAN).rdp"
full address:s:192.168.1.152 networkautodetect:i:0 connection type:i:6 gatewayusagemethod:i:4 use redirection server name:i:0 prompt for credentials:i:0 allow font smoothing:i:1 redirectprinters:i:0 redirectcomports:i:0 redirectsmartcards:i:0 redirectwebauthn:i:0 redirectclipboard:i:1 redirectposdevices:i:0
"%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Accessories"
"%UserProfile%\Documents\Alira (LAN).rdp"
Alira
"powercfg.exe" /HIBERNATE "OFF"
"powercfg.exe" /DUPLICATESCHEME "e9a42b02-d5df-448d-aa00-03f14749eb61"
"powercfg.exe" /Qh
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -EnableBandwidthThrottling 0 -Force"
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
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t "REG_DWORD" /d "0" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v "NoLockScreen" /t REG_DWORD /d "1" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization" /v "NoLockScreen" /t REG_DWORD /d "0" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\InputPersonalization" /v "AllowInputPersonalization" /t REG_DWORD /d "0" /f
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
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fDenyTSConnections" /t REG_DWORD /d "1" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableCdp" /t REG_DWORD /d "0" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableSR " /t "REG_DWORD" /d "1" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t "REG_DWORD" /d "0" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t "REG_DWORD" /d "0" /f
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy" /v "Enabled" /t "REG_DWORD" /d "1" /f
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "$md5 = New-Object -TypeName 'System.Security.Cryptography.MD5CryptoServiceProvider'"
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
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneShowAllFolders" /t "REG_DWORD" /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "VerboseStatus" /t REG_DWORD /d "1" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw" /v "ForceRefreshRate" /t "REG_DWORD" /d "760" /reg:64 /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw" /v "ForceRefreshRate" /t "REG_DWORD" /d "760" /reg:32 /f
"%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"
"%SystemRoot%\System32\WinSAT.exe" "formal" -restart "clean" -v
"%SystemRoot%\System32\WinSAT.exe" forgethistory
"%SystemRoot%\System32\WinSAT.exe" query
D:\ to install media drive if necessaryDism /online /enable-feature /featurename:"NetFX3" /All /Source:"D:\sources\sxs" /LimitAccess
/v)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
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
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /v "#" /f
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office Tools"%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Administrative Tools"
"%CommonProgramFiles%\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update "user" forceappshutdown="True" displaylevel="True"
Update Office
DWORD = 1 for bothHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
TcpAckFrequency
TcpNoDelay
[ ] Show on Start[ ] Use a Java runtime[ ] Web plugins[ ] Context Menus[x] Delete preferences and cache"%ProgramFiles(x86)%\Steam\steam.exe" -silent -nocrashmonitor -cef-single-process -cef-disable-breakpad
Steam (min)
"%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"
16.8.5.1014 1)"%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