index

Enable Dark Mode

Use dark colors for Windows and apps that support the setting.

Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0; Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -Value 0
Scope: user
Compatibility and recovery
OS requirements
Microsoft documents color modes for Windows 11 and Windows 10. The two registry writes have not been verified on a recorded build.
Tested on
Not tested by this project on a recorded OS version.
Prerequisites
Record the current color mode, including both choices under Custom. The PowerShell command targets HKCU and requests no administrator elevation.
Effect
The UI changes the Windows color mode. Some apps have independent settings or do not support dark mode. Registry notification and restart behavior are unverified.
Undo or removal
In Settings > Personalization > Colors, restore Light, Dark, or Custom and both recorded Custom choices.

Documentation reviewed 2026-10-03. Source 1

Report outdated instructions · Opens a draft on GitHub for you to review and submit.

Use Settings > Personalization > Colors > Choose your mode > Dark. Check the Start menu and the apps you use. Some apps choose their own appearance or do not support dark mode. Restore your previous mode in the same menu, including both choices if you used Custom.

Microsoft documents the UI path. The command writes AppsUseLightTheme and SystemUsesLightTheme under the current user’s registry hive. This review has not verified those writes, immediate application, or restart requirements.