Besto's registry keys

Here are some registry keys I like to use when setting up new Windows computers!

##
## General shell
##

# Enable Dark Mode for everything
# - Requires explorer.exe restart
# via https://www.oneninespace.com/enable-dark-mode-in-windows-11/
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /f /d 0
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /f /d 0

# Disable Snap Assist
# - Requires whole computer restart (or maybe just explorer.exe?)
# via https://thegeekpage.com/enable-or-disable-the-snap-assist-feature-in-windows-11/
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v SnapAssist /t REG_DWORD /f /d 0

# Remove Edge tabs from alt-tab
# via https://beebom.com/how-to-customize-the-alttab-behavior-on-windows-10/
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v MultiTaskingAltTabFilter /t REG_DWORD /f /d 0x3

# Enable clipboard history!
reg add HKEY_CURRENT_USER\Software\Microsoft\Clipboard /v EnableClipboardHistory /t REG_DWORD /f /d 0x0

# Disable ease cursor movement between displays
# - Restart required
# via https://www.thewindowsclub.com/ease-cursor-movement-between-displays-in-windows
reg add "HKEY_CURRENT_USER\Control Panel\Cursors" /v CursorDeadzoneJumpingSetting /t REG_DWORD /f /d 0x0

##
## Taskbar
## 

# Align left
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v TaskbarAl /t REG_DWORD /f /d 0x0
# Disable widgets 
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v TaskbarDa /t REG_DWORD /f /d 0x0
# Remove "Show desktop" button
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v TaskbarSd /t REG_DWORD /f /d 0x0
# Disable badging
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v TaskbarBadges /t REG_DWORD /f /d 0x0
# Make search box smaller
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search /v SearchboxTaskbarMode /t REG_DWORD /f /d 0x3

##
## Start
##

# Show frequently used apps
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start /v ShowFrequentList /t REG_DWORD /f /d 0x1
# Show more recommendations, since I don't use pins
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Start_Layout /t REG_DWORD /f /d 0x2
# Remove all online suggestions
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Start_IrisRecommendations /t REG_DWORD /f /d 0x1

##
## Virtual Desktops
##

# Show all apps in taskbar and alt-tab
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v VirtualDesktopTaskbarFilter /t REG_DWORD /f /d 0x0
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v VirtualDesktopAltTabFilter /t REG_DWORD /f /d 0x0

##
## File Explorer
##

# Show file extensions
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /f /d 0x0
# Show hidden files
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Hidden /t REG_DWORD /f /d 0x1
# ... plus more that I only know how to do through File Explorer settings.

##
## Touchpad
##

# - Restart may be required for each of these

# Control audio with 3 fingers (up/down: volume; left/right: prev/next)
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\PrecisionTouchPad /v ThreeFingerSlideEnabled /t REG_DWORD /f /d 0x3
# Play/pause with 3-finger tap
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\PrecisionTouchPad /v ThreeFingerTapEnabled /t REG_DWORD /f /d 0x3
# Switch between apps with 4-finger slide
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\PrecisionTouchPad /v FourFingerSlideEnabled /t REG_DWORD /f /d 0x1

##
## OneDrive
##

# Disable "On this day" notifications
# via https://windowsreport.com/remove-memories-from-onedrive/
reg add HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Personal /v OnThisDayPhotoNotificationDisabled /t REG_DWORD /f /d 0x1

##
## Dev mode
##

# via https://stackoverflow.com/questions/44158326/win10-how-to-activate-developer-mode-using-powershell-or-cmd-exe
# and via https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging#use-group-policies-or-registry-keys-to-enable-a-device

# NOT this one (this is for sideloading 3rd-party apps on your machine)
# reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "1"

# THIS one (developer mode)
# Requires admin.
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"

May not work

# Choose dark cursors
# - May not work (may just require restart; untested)
# via https://www.elevenforum.com/t/change-mouse-pointer-style-color-and-size-in-windows-11.5834/
reg add HKEY_CURRENT_USER\Software\Microsoft\Accessibility /v CursorType /t REG_DWORD /f /d 0x1