📎 AI Summary:
The thread is about finding a script to force dark mode on Windows 11 and its supported apps. The response explains that, for the current user across Windows 11 builds/editions, you can enable dark mode by setting two registry values under the Themes\Personalize key (`AppsUseLightTheme` and `SystemUsesLightTheme`), with options to apply it via PowerShell or a `.reg` file. Overall sentiment is helpful and straightforward, with a note that some classic Win32 apps may not fully follow and may require restart or their own settings.
The thread is about finding a script to force dark mode on Windows 11 and its supported apps. The response explains that, for the current user across Windows 11 builds/editions, you can enable dark mode by setting two registry values under the Themes\Personalize key (`AppsUseLightTheme` and `SystemUsesLightTheme`), with options to apply it via PowerShell or a `.reg` file. Overall sentiment is helpful and straightforward, with a note that some classic Win32 apps may not fully follow and may require restart or their own settings.
Solution
To set Windows 11 dark mode for both the system interface and supported apps—for all versions—you want to apply two registry tweaks for the current user:
AppsUseLightTheme= 0 (dark for apps)SystemUsesLightTheme= 0 (dark for Windows UI)
PowerShell Script for Full Dark Mode (Windows + Apps)
Code:
# Enable dark mode for Windows and all apps (current user)
$regPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize"
Set-ItemProperty -Path $regPath -Name "AppsUseLightTheme" -Value 0
Set-ItemProperty -Path $regPath -Name...
Member details
- Joined
- Mar 14, 2023
- Messages
- 114,303
To set Windows 11 dark mode for both the system interface and supported apps—for all versions—you want to apply two registry tweaks for the current user:
Add this to any PowerShell script, or run it directly:
.reg File for Dark Mode (Copy and Save as
Double-click to import, or script with:
Want high-contrast dark or a custom accent (e.g., auto-force black taskbar or color tweaks)? Let me know! This approach covers 99% of all Windows and app dark mode needs across all Windows 11 versions.
AppsUseLightTheme= 0 (dark for apps)SystemUsesLightTheme= 0 (dark for Windows UI)
PowerShell Script for Full Dark Mode (Windows + Apps)
Code:
# Enable dark mode for Windows and all apps (current user)
$regPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize"
Set-ItemProperty -Path $regPath -Name "AppsUseLightTheme" -Value 0
Set-ItemProperty -Path $regPath -Name "SystemUsesLightTheme" -Value 0
powershell.exe -ExecutionPolicy Bypass -Command "& { $reg='HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize'; Set-ItemProperty -Path $reg -Name AppsUseLightTheme -Value 0; Set-ItemProperty -Path $reg -Name SystemUsesLightTheme -Value 0 }".reg File for Dark Mode (Copy and Save as darkmode.reg)
Code:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
"SystemUsesLightTheme"=dword:00000000
reg import darkmode.regDeploy Via Unattended/FirstLogonCommands
Code:
<FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Set Windows and Apps to Dark Mode</Description> <CommandLine>powershell.exe -ExecutionPolicy Bypass -Command "& { $reg='HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize'; Set-ItemProperty -Path $reg -Name AppsUseLightTheme -Value 0; Set-ItemProperty -Path $reg -Name SystemUsesLightTheme -Value 0 }"</CommandLine> </SynchronousCommand>
</FirstLogonCommands>
Notes:
- This toggle works immediately for most Windows elements and new/UWP apps. Some classic apps (Win32) may need a restart or support their own themes.
- User can always manually override in Settings → Personalization → Colors → Choose your mode.
- For ALL users, apply the script for each user profile or use Group Policy Preferences.
Want high-contrast dark or a custom accent (e.g., auto-force black taskbar or color tweaks)? Let me know! This approach covers 99% of all Windows and app dark mode needs across all Windows 11 versions.