Both sides previous revisionPrevious revisionNext revision | Previous revision |
windows:10 [2025/04/12 22:59] – [Edge Fix] Sean Rhone | windows:10 [2025/04/18 10:52] (current) – [Spinesnap] Sean Rhone |
---|
* [[https://github.com/Espionage724/Windows|GitHub Batch Files]] | * [[https://github.com/Espionage724/Windows|GitHub Batch Files]] |
| |
===== TODO ===== | ===== TODOs ===== |
| |
* https://support.microsoft.com/en-us/topic/kb4072698-windows-server-and-azure-stack-hci-guidance-to-protect-against-silicon-based-microarchitectural-and-speculative-execution-side-channel-vulnerabilities-2f965763-00e2-8f98-b632-0d96f30c8c8e#ID0EBBBBJ=FeatureSettingsOverride | * https://support.microsoft.com/en-us/topic/kb4072698-windows-server-and-azure-stack-hci-guidance-to-protect-against-silicon-based-microarchitectural-and-speculative-execution-side-channel-vulnerabilities-2f965763-00e2-8f98-b632-0d96f30c8c8e#ID0EBBBBJ=FeatureSettingsOverride |
* https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/bcdedit--set | * https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/bcdedit--set (older rev had a bunch) |
* https://forums.blurbusters.com/viewtopic.php?f=10&t=13429 (enable rss) | * https://forums.blurbusters.com/viewtopic.php?f=10&t=13429 (enable rss) |
| * All game save start shortcuts to batch files instead of through ''cmd'' |
| * FIPS as batch file |
| |
====== Updates ====== | ====== Updates ====== |
| |
:: End</code> | :: End</code> |
| |
| ===== Downloads ===== |
| |
| ==== Reset Icon Cache ==== |
| |
| "notepad.exe" "%UserProfile%\Downloads\Reset Icon Cache.bat" |
| |
| <code> |
| TASKKILL /F /IM "explorer.exe" |
| TIMEOUT /NOBREAK /T "2" |
| DEL /F /Q "%LocalAppData%\Microsoft\Windows\Explorer\"*".db" |
| DEL /F /Q "%UserProfile%\AppData\Local\IconCache.db" |
| TIMEOUT /NOBREAK /T "2" |
| START explorer.exe |
| |
| :: End</code> |
| |
| "%UserProfile%\Downloads\Reset Icon Cache.bat" |
| |
| ==== Edge Fix ==== |
| |
| * :?: Edge randomly stops being able to be opened ((Last occurrence: 2025/04/16 Edge ''135.0.3179.73'')) |
| * TODO: Settings to persist disabled Start Boost and background extensions |
| |
| "notepad.exe" "%UserProfile%\Downloads\Edge Profile Reset.bat" |
| |
| <code> |
| TASKKILL /F /IM "msedge.exe" |
| RMDIR /S /Q "%LocalAppData%\Microsoft\Edge" |
| |
| :: End</code> |
| |
| "%UserProfile%\Downloads\Edge Profile Reset.bat" |
| |
===== Start Menu ===== | ===== Start Menu ===== |
| |
"powercfg.exe" /Qh | "powercfg.exe" /Qh |
| |
===== Disable Threaded DPCs ===== | |
| |
**** | |
| |
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "ThreadDpcEnable" /t "REG_DWORD" /d "0" /f | |
| |
===== Disable Clipboard History ===== | ===== Disable Clipboard History ===== |
| |
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableCdp" /t REG_DWORD /d "0" /f | 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 ===== | ===== Disable System Restore ===== |
| |
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /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 |
| |
===== Disable Windows Defender ===== | |
| |
**** | |
| |
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t "REG_DWORD" /d "1" /f | |
| |
===== Enable FIPS Mode ===== | ===== Enable FIPS Mode ===== |
* https://learn.microsoft.com/en-us/windows/security/security-foundations/certification/fips-140-validation | * https://learn.microsoft.com/en-us/windows/security/security-foundations/certification/fips-140-validation |
* [[windows;notes;misc#fips_test|Test]] | * [[windows;notes;misc#fips_test|Test]] |
| * TODO: Seemingly applies on-demand; combine in enable/disable batches with test and ''PAUSE'' |
| |
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy" /v "Enabled" /t "REG_DWORD" /d "1" /f | REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy" /v "Enabled" /t "REG_DWORD" /d "1" /f |
| |
Dism /online /enable-feature /featurename:"NetFX3" /All /Source:"D:\sources\sxs" /LimitAccess | Dism /online /enable-feature /featurename:"NetFX3" /All /Source:"D:\sources\sxs" /LimitAccess |
| |
===== Remove Most Modern UI Apps ===== | |
| |
* Not necessary with Local Account log-ins and Pro/Enterprise/LTSC editions | |
* Tested fine on 20H2, 21H2, and 23H2 | |
* :!: This broke the start menu on 1809 | |
* :!: 2024/08: May cause Explorer windows to act broken at times on 11 23H2 | |
| |
* 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 | |
| |
===== Prevent Driver Changes ===== | ===== Prevent Driver Changes ===== |
| |
====== Services ====== | ====== Services ====== |
| |
| * TODO: Separate page, individual batches |
| |
"sc.exe" stop "DPS" & "sc.exe" config "DPS" "start=disabled" | "sc.exe" stop "DPS" & "sc.exe" config "DPS" "start=disabled" |
| |
"sc.exe" stop "ApHidMonitorService" & "sc.exe" config "ApHidMonitorService" "start=disabled" | "sc.exe" stop "ApHidMonitorService" & "sc.exe" config "ApHidMonitorService" "start=disabled" |
| |
====== Edge Fix ====== | |
| |
* :?: Occasionally, Edge stops being able to open ([[https://forums.mydigitallife.net/threads/what-causes-edge-to-randomly-not-open.89145/|post]]) | |
* This deletes/resets the user profile | |
| |
RMDIR /S /Q "%LocalAppData%\Microsoft\Edge" | |
| |
====== Programs ====== | ====== Programs ====== |
===== MuPDF ===== | ===== MuPDF ===== |
| |
* https://mupdf.com/releases/index.html | * https://mupdf.com/releases/index.html (Ctrl + F -> ''Win'') |
* https://mupdf.com/releases/history.html | * Last tested: ''mupdf-1.25.2-windows.zip'' |
| |
===== Notepad++ ===== | ===== Notepad++ ===== |
| |
* https://notepad-plus-plus.org/download | * https://notepad-plus-plus.org/download |
| * Last tested: ''npp.8.7.9.Installer.x64.exe'' |
| |
===== OBS ===== | ===== OBS ===== |
| |
* [[https://www.dell.com/support/home/en-us/product-support/product/latitude-15-5591-laptop/drivers|Dell Latitude 5591 - Support and BIOS Updates]] | * [[https://www.dell.com/support/home/en-us/product-support/product/latitude-15-5591-laptop/drivers|Dell Latitude 5591 - Support and BIOS Updates]] |
| * Last tested: ''Latitude_5X91_Precision_3530_1.38.0.exe'' |
| |
==== SATA/RST ==== | ==== SATA/RST ==== |
==== Wireless ==== | ==== Wireless ==== |
| |
* wireless-AC 9560 | * Wireless-AC 9560 |
* Intel Corporation Cannon Lake PCH CNVi WiFi (rev 10) | * Intel Corporation Cannon Lake PCH CNVi WiFi (rev 10) |
| |