====== Run as Basic User ====== RUNAS /trustlevel:"0x20000" "x" RUNAS /trustlevel:"0x20000" "C:\Users\Espionage724\Downloads\OpenTabletDriver-0.6.5.1_win-x64\OpenTabletDriver.UX.Wpf.exe" RUNAS /showtrustlevels ====== FIPS Test ====== * [[windows;10#enable_fips_mode]] * Nothing reported = FIPS disabled (default) "powershell.exe" -Command "$md5 = New-Object -TypeName 'System.Security.Cryptography.MD5CryptoServiceProvider'" This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. ====== Disable Windows Defender ====== **** reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t "REG_DWORD" /d "1" /f ====== Disable Startup Delay ====== **** reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize" /v "StartupDelayInMSec" /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 Threaded DPCs ====== **** REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "ThreadDpcEnable" /t "REG_DWORD" /d "0" /f ====== 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