Windows Annoyances
August 26, 2024 at 10:23
Last updated: 20260602 — Changelog at bottom
My Windows annoyances list was starting to get large. Added them here so others can benefit.
Windows
Chris Titus Debloat
Run the following command in PowerShell:
iwr -useb https://christitus.com/win | iex
Run the following command in PowerShell:
& ([scriptblock]::Create((irm "https://debloat.raphi.re/")))
- Download the
.bat file from github.com/cramaboule/Debloat_Windows11.
- Run the downloaded file.
Confirmation
Run the following command in PowerShell to “confirm” Windows:
irm https://get.activated.win | iex
- Open Registry Editor by pressing
Win + R, typing regedit, and pressing Enter.
- Navigate to
HKEY_CURRENT_USER\Control Panel\Desktop.
- Find and double-click the
MenuShowDelay key on the right pane.
- Change its value from
400 to 0 and click OK.
Remove all password requirements
- Copy / paste the following into a text file (or download it here)
- Change {NAME} to your Windows account username
- Save file as remove_passreq.ps1
- Right click Powershell and select
Run as Administrator
- Type
Set-ExecutionPolicy Unrestricted and hit Enter
- Navigate to where your ps1 file is, type
./remove_passreq.ps1, and hit Enter
remove_passreq.ps1
# --- Auto-logon ---
$regPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
Set-ItemProperty $regPath "AutoAdminLogon" -Value "1" -Type String
Set-ItemProperty $regPath "DefaultUserName" -Value "{NAME}" -Type String
Remove-ItemProperty $regPath "DefaultPassword" -ErrorAction SilentlyContinue
# --- Disable password prompts on wake/lock ---
powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
powercfg /SETACTIVE SCHEME_CURRENT
Set-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" "NoLockScreen" 1 -Type DWord
# --- Disable password policies ---
Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters" "MaximumPasswordAge" -Value 0 -Type DWord
Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Lsa" "MinimumPasswordLength" -Value 0 -Type DWord
Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Lsa" "PasswordComplexity" -Value 0 -Type DWord
# --- Block Microsoft account login ---
New-Item -Path "HKLM:\SOFTWARE\Microsoft\PolicyManager\default\Settings\AllowYourAccount" -Force | Out-Null
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\PolicyManager\default\Settings\AllowYourAccount" -Name "value" -Value 0
# --- Apply changes ---
gpupdate /force
Framework Laptop
Disable Secure Boot
- Press
F2 repeatedly during boot to enter the BIOS setup.
- Navigate to the
Administer Secure Boot menu.
- Select the option to
Disable Secure Boot.
- 20260602
- Removed 'Bypass MS Account during setup' (broken in recent Windows 11 builds)
- Formatting improvements
- 20250905
- Added Password Requirement Removal .ps1 instructions
- 20250714
- 20250704
- Added a set of popular debloat scripts
- 20250624
- Updated 'Confirmation` address
- 20250609
- Removed Firefox install instructions