====== Information ======
* Microsoft Windows 11
====== Download ======
* https://www.microsoft.com/software-download/windows11
====== Updates ======
===== Link =====
* [[https://www.catalog.update.microsoft.com/Search.aspx?q=Update for Windows 10 Version 21H2 for x64-based Systems|21H2]]
* [[https://www.catalog.update.microsoft.com/Search.aspx?q=Update+for+Windows+10+Version+1809+for+x64-based+Systems|1809/LTSC]]
YYYY-MM Update for Windows 10 Version 21H2 for x64-based Systems (KB#######)
====== Settings ======
===== Disable Clipboard History =====
****
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "AllowClipboardHistory" /t REG_DWORD /d "0" /f
===== Disable Cortana and Web Search =====
****
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d "0" /f
===== Disable CPU Mitigations =====
* https://support.microsoft.com/en-us/help/4073119/protect-against-speculative-execution-side-channel-vulnerabilities-in
* https://www.grc.com/inspectre.htm
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v "FeatureSettingsOverride" /t "REG_DWORD" /d "3" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v "FeatureSettingsOverrideMask" /t "REG_DWORD" /d "3" /f
===== Disable Game DVR =====
****
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t "REG_DWORD" /d "0" /f
===== Disable Hibernation and Fast Start =====
****
powercfg /H off
===== Disable Last Access Time File Updates =====
****
fsutil behavior set disablelastaccess 1
===== 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 SmartScreen =====
* General
* Windows Store Apps
* Microsoft EDGE
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "SmartScreenEnabled" /t "REG_SZ" /d "Off" /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t "REG_DWORD" /d "0" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" /v "EnabledV9" /t "REG_DWORD" /d "0" /f
===== Disable Startup Delay =====
****
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize" /v "StartupDelayInMSec" /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 "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t "REG_DWORD" /d "0" /f
===== Disable Windows Defender =====
****
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /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
===== Remove Windows Search =====
****
Dism /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 ======
===== ScriptTiger Hosts File =====
* https://scripttiger.github.io/hosts-packages/
* Unified hosts + fakenews + gambling (Compressed)
* Powershell Script ''*.ps1''
[Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"
Invoke-WebRequest "https://scripttiger.github.io/alts/compressed/blacklist-fg.txt" -OutFile "C:\Windows\System32\drivers\etc\hosts"
ipconfig /flushdns
===== NetFX3 From Install Media =====
* Change ''D:\'' to install media drive if necessary
Dism /online /enable-feature /featurename:"NetFX3" /All /Source:"D:\sources\sxs" /LimitAccess
===== Remove Most Modern UI Apps =====
* Powershell Script ''*.ps1''
Get-AppxPackage -allusers | Remove-AppxPackage
===== Remove OneDrive =====
taskkill /IM "OneDrive.exe" /F
%windir%\SysWOW64\OneDriveSetup.exe /uninstall
rmdir "%UserProfile%\OneDrive" "%ProgramData%\Microsoft OneDrive" "%LocalAppData%\Microsoft\OneDrive" "C:\OneDriveTemp" /S /Q
reg delete "HKCR\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
reg delete "HKCR\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
===== Maintenance =====
* Last updated: 2020/10/02
:: .NET Framework 4
"%windir%\microsoft.net\Framework\v4.0.30319\ngen.exe" update /force /queue
"%windir%\microsoft.net\Framework64\v4.0.30319\ngen.exe" update /force /queue
"%windir%\microsoft.net\Framework\v4.0.30319\ngen.exe" executequeueditems
"%windir%\microsoft.net\Framework64\v4.0.30319\ngen.exe" executequeueditems
:: System File Check, Cleanup, and Repair
"%windir%\system32\Dism.exe" /online /Cleanup-Image /StartComponentCleanup /ResetBase /RestoreHealth
"%windir%\system32\sfc.exe" /scannow
:: Classic Disk Cleanup
"%windir%\system32\cleanmgr.exe" /sageset:65535
"%windir%\system32\cleanmgr.exe" /sagerun:65535
:: Defrag/Trim
"%windir%\system32\dfrgui.exe"
====== Information ======
===== Auto Login =====
****
control userpasswords2
===== Add Hardware Wizard =====
****
%SYSTEMROOT%\System32\hdwwiz.exe
===== GodMode Folder =====
****
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
===== Lock screen Background =====
* Hero
C:\Windows\Web\Wallpaper\Windows\img0.jpg
===== 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
====== Hardware Utilities ======
===== CPU-Z =====
* https://www.cpuid.com/softwares/cpu-z.html
winget install "CPUID.CPU-Z"
===== GPU-Z =====
* https://www.techpowerup.com/download/techpowerup-gpu-z/
winget install "TechPowerUp.GPU-Z"
===== prime95 =====
* https://www.mersenne.org/download/
===== HWiNFO =====
* https://www.hwinfo.com/download/
winget install "REALiX.HWiNFO"
===== poclmembench =====
* https://github.com/kruzer/poclmembench
===== Driver Store Explorer =====
* https://github.com/lostindark/DriverStoreExplorer
===== AMD Cleanup Utility =====
* https://www.amd.com/en/support/kb/faq/gpu-601
===== AMD Ryzen Master =====
* https://www.amd.com/en/technologies/ryzen-master
===== CrystalDiskInfo =====
* https://crystalmark.info/en/software/crystaldiskinfo/
===== MSI Afterburner =====
* https://www.msi.com/Landing/afterburner/graphics-cards
===== MSI Kombustor =====
* https://msikombustor.com/
winget install "Geeks3D.MSIKombustor"
===== memtestCL =====
* https://simtk.org/projects/memtest/
* https://github.com/ihaque/memtestCL
* https://github.com/ihaque/memtestCL/raw/master/binaries/memtestCL.exe
===== Fooling Around =====
* https://alax.info/blog/software
===== LatencyMon =====
* https://resplendence.com/latencymon
===== OCCT =====
* https://www.ocbase.com/
===== FurMark =====
* https://geeks3d.com/furmark/downloads/
====== Programs ======
===== 7-Zip =====
* https://www.7-zip.org/download.html
winget install "7zip.7zip"
==== NanaZip ====
* TODO: Test
* https://github.com/M2Team/NanaZip/releases
winget install "M2Team.NanaZip.Preview"
winget install "M2Team.NanaZip"
===== Android Tools =====
* https://dl-ssl.google.com/android/repository/latest_usb_driver_windows.zip
* https://dl-ssl.google.com/android/repository/platform-tools-latest-windows.zip
SETX /M path "%path%;C:\Program Files\platform-tools"
===== aria2 =====
* https://github.com/aria2/aria2/releases
SETX /M path "%path%;C:\Program Files\aria2c"
===== BleachBit =====
* https://www.bleachbit.org/download/windows
===== Calculator =====
* Only available on LTSB/LTSC
win32calc
===== DirectX End-User Runtime =====
* https://www.microsoft.com/en-us/download/confirmation.aspx?id=8109
===== Discord =====
* https://discord.com/download
winget install "Discord.Discord"
===== DXVK =====
* https://github.com/doitsujin/dxvk/releases
* https://github.com/Sporif/dxvk-async/releases
* See [[notes:dll_overrides]]
===== FileZilla =====
* https://filezilla-project.org/download.php?show_all=1
winget install "TimKosse.FileZilla.Client"
===== Firefox =====
==== Download ====
* [[https://download.mozilla.org/?product=firefox-latest-ssl&os=win64&lang=en-US|exe]]
winget install "Mozilla.Firefox"
==== Settings ====
* See [[notes:firefox|Firefox]] if old configuration is needed, otherwise use Firefox Sync
https://dns11.quad9.net/dns-query
===== GIMP =====
* https://www.gimp.org/downloads
winget install "GIMP.GIMP"
===== Google Chrome =====
* https://www.google.com/chrome/?standalone=1&platform=win64
winget install "Google.Chrome"
===== iTunes =====
* https://www.apple.com/itunes/download/win64
* https://www.microsoft.com/en-us/p/itunes/9pb2mz1zmb1s
winget install "Apple.iTunes"
===== KeePassXC =====
* https://keepassxc.org/download#windows
winget install "KeePassXCTeam.KeePassXC"
===== Keybase =====
* https://prerelease.keybase.io/keybase_setup_amd64.msi
winget install "Keybase.Keybase"
===== KMS-VL-ALL =====
* https://github.com/abbodi1406/KMS_VL_ALL_AIO/releases
* https://forums.mydigitallife.net/threads/kms_vl_all-smart-activation-script.79535/
===== LibreOffice =====
* https://www.libreoffice.org/download/download/
winget install "TheDocumentFoundation.LibreOffice"
===== mpv =====
* https://sourceforge.net/projects/mpv-player-windows/files/64bit/
* https://mpv.io/
===== NiceHash QuickMiner =====
* https://github.com/nicehash/NiceHashQuickMiner/releases
===== Notepad++ =====
* https://notepad-plus-plus.org/download
winget install "Notepad++.Notepad++"
===== OBS =====
* https://obsproject.com/download
* https://github.com/wtsnz/obs-ios-camera-source/releases
===== qBittorrent =====
* https://www.qbittorrent.org/download.php
winget install "qBittorrent.qBittorrent"
===== Rufus =====
* https://rufus.ie/
===== Thunderbird =====
* https://www.thunderbird.net/en-US/thunderbird/all/#E
winget install "Mozilla Thunderbird"
winget install "Mozilla Thunderbird Beta"
===== Visual C++ Redistributable Runtimes =====
* https://github.com/abbodi1406/vcredist/releases
* https://forums.mydigitallife.net/threads/repack-visual-c-redistributable-runtimes.76588/
===== Vulkan Runtime =====
* https://vulkan.lunarg.com/sdk/home#windows
===== WireGuard =====
* :!: If kill switch is enabled, all local network resources can't be accessed
* https://www.wireguard.com/install/
winget install "WireGuard.WireGuard"
==== VPN.AC ====
* https://vpn.ac/knowledgebase/130/WireGuard-on-Windows.html
* https://vpn.ac/wgmanager
====== Games ======
===== Battle.net App =====
* https://www.blizzard.com/en-us/download?product=bnetdesk
* http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe
===== Oculus =====
* https://www.oculus.com/rift/setup/?locale=en_US
==== Disable SPUD ====
* This lowers average Motion-to-photon latency by about 4ms for a Rift CV1 (19ms to 15ms)
* [[https://forums.oculusvr.com/community/discussion/93160/disabling-spud-lowers-motion-to-photon-latency|Oculus Forums Thread]]
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Oculus" /v "UseSpud" /t REG_DWORD /d "0" /f
==== Logs ====
****
%localappdata%\Oculus
==== SideQuest ====
* https://sidequestvr.com/setup-howto
winget install "SideQuestVR.SideQuest"
==== ADB ====
* :!: ADB drivers are automatically installed by Oculus
* :!: For general ''.apk'' installs and ''adb shell'' commands, use SideQuest instead
* :!: For sideloading firmware updates, SideQuest cannot be used, and thus will need the ''platform-tools'' package below
* [[https://developer.oculus.com/downloads/package/oculus-adb-drivers/|Oculus ADB Drivers]]
* [[https://dl.google.com/android/repository/platform-tools-latest-windows.zip|Android SDK Platform-Tools]]
==== Backup/Restore ====
=== Installer ===
* Let Oculus download its 5GB+ installer
* While it is installing, backup the ''C:\OculusSetup-DownloadCache'' folder
* :!: The backup must be done after the download, and while Oculus is installing
* If restoring, transfer 5GB+ to ''C:\OculusSetup-DownloadCache'' and start the Oculus installer
* :!: If an updated Oculus client is available, it will download instead of restoring
=== Client ===
* Go to the ''Oculus\Support'' folder
* If there's 15 folders, backup everything except ''oculus-dreamdeck-nux'', ''oculus-touch-tutorial'', and ''oculus-worlds''
* :!: 12 folders should be included in the backup and it should be around 605MB if archived
* This has been true with versions pre-V12, V18-V30
* For restoring, stop the Oculus service through command or Debug Tool, delete the existing 12 folders, restore the 12 folders from backup, and start the Oculus service
%OculusBase%\Support
== Prevent Client Updates ==
* This sets the update channel to something unknown, so the Oculus client can't compare its version to check for updates
* :!: To revert this, it may be enough to toggle the ''Public Test Channel'' option from Oculus
* ''LIVE'' Stable
* ''PublicTest'' = Public Test Channel/PTC
* ''NOUPD8'' = Some nonsense value
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Oculus VR, LLC\Oculus\Config" /v "CoreChannel" /t "REG_SZ" /d "NOUPD8" /f
===== Origin =====
* [[https://answers.ea.com/t5/Origin-Client-Web-Technical/Download-Latest-Standalone-Setup-For-Origin-Here/td-p/4120003|Answers HQ]]
* https://download.dm.origin.com/origin/live/OriginSetup.exe
===== Steam =====
* https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
* See [[notes:game_command-line_arguments|Command-line flags]]
winget install "Valve.Steam"
====== Drivers ======
* See [[windows:drivers]] for more URLs
===== Nightwane =====
==== Motherboard ====
* [[devices:asus_prime_x470-pro|ASUS PRIME X470-PRO Notes]]
* [[https://www.asus.com/us/motherboards-components/motherboards/prime/prime-x470-pro/HelpDesk_BIOS/|BIOS Updates]]
==== Keyboard/Mouse ====
* [[http://downloads.corsair.com/download?item=Files/CUE/CorsairUtilityEngineSetup_2.24.50_release.msi|CORSAIR CUE V2]]
winget install "Corsair.iCUE.4"
==== Racing Wheel ====
* Logitech G29 Driving Force Racing Wheel
* [[https://download01.logi.com/web/ftp/pub/techsupport/gaming/lghub_installer.exe|Logitech G HUB]]
winget install "Logitech.GHUB"
==== Audio ====
* [[https://rog.asus.com/forum/showthread.php?117596-DRIVERS-Realtek-Audio-(MB-Intel-2xx-3xx-4xx-amp-AMD-3xx-4xx-5xx)|ASUS ROG Forums]]
==== Chipset ====
* X470
* [[https://rog.asus.com/forum/showthread.php?118343-DRIVERS-AMD-Chipset-SATA-(3xx-4xx-5xx-TRX40)|ASUS ROG Forums]]
* [[https://www.amd.com/en/support/chipsets/amd-socket-am4/x470|AMD Drivers & Support]]
==== Graphics ====
* RTX 3060
* [[https://www.nvidia.com/Download/index.aspx|NVIDIA Driver Downloads]]
=== Clean Version ===
* [[https://forums.guru3d.com/threads/511-23-clean-version.433367/|Guru3D]]
==== USB ====
* ASM1142
* [[https://www.win-raid.com/t834f25-USB-Drivers-original-and-modded.html|Win-Raid Forums]]
* [[https://www.station-drivers.com/index.php?option=com_remository&Itemid=353&func=select&id=19&orderby=4&lang=en|Station-Drivers]]
* :!: Do not install any special driver for the **AMD** USB controllers/hubs, __ever__
==== Ethernet ====
* I211 Gigabit
* [[https://www.intel.com/content/www/us/en/products/details/ethernet/gigabit-controllers/i211-controllers/downloads.html|Intel]]