By default, we have to use the Settings app to toggle back and forth between light and dark mode. But you can toggle light or dark mode from the Context menu if you add those options. In this post, we will see how to do the same.
Windows 11/10 allows users to enable dark theme from the Personalization settings. The best thing is that you have two options – one for Windows and another for the apps. In other words, you can turn on dark mode for apps but keep using light mode for Windows, Start Menu, etc. If you want to toggle these settings from the right-click context menu, here is what you must do.
It is recommended to backup all Registry files and create a System Restore point.
Toggle Light or Dark mode from context menu
To toggle Light or Dark mode in Windows 11/10 from the context menu, follow these steps-
- Open Notepad on your computer.
- Paste the following text.
- Click on the File > Save As option.
- Choose a location to save the file.
- Give it a name with .reg extension.
- Choose All Files from Save as type drop-down list.
- Click on the Save button.
- Double-click on the file.
- Click the Yes button to confirm.
- Right-click on the desktop to find the option.
To know more, read on.
At first, open Notepad on your computer and paste the following text-
For Windows mode:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsMode] "Icon"="themecpl.dll,-1" "MUIVerb"="Windows mode" "Position"="Bottom" "SubCommands"="" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsMode\shell\001flyout] "MUIVerb"="Light theme" "Icon"="imageres.dll,-5411" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsMode\shell\001flyout\command] @="Reg Add HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 1 /f" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsMode\shell\002flyout] "Icon"="imageres.dll,-5412" "MUIVerb"="Dark theme" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsMode\shell\002flyout\command] @="Reg Add HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 0 /f"
For App mode:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\DesktopBackground\Shell\AppMode] "Icon"="themecpl.dll,-1" "MUIVerb"="App mode" "Position"="Bottom" "SubCommands"="" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\AppMode\shell\001flyout] "MUIVerb"="Light theme" "Icon"="imageres.dll,-5411" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\AppMode\shell\001flyout\command] @="Reg Add HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize /v AppsUseLightTheme /t REG_DWORD /d 1 /f" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\AppMode\shell\002flyout] "Icon"="imageres.dll,-5412" "MUIVerb"="Dark theme" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\AppMode\shell\002flyout\command] @="Reg Add HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize /v AppsUseLightTheme /t REG_DWORD /d 0 /f"
Click the File on the top menu bar and select Save As. Alternatively, you can press CTRL+SHIFT+S buttons together as well.
After that, choose a location where you want to save the file and give it a name with .reg file extension (e.g., windowsmode.reg). Expand the Save as type drop-down list to select All Files and click the Save button.
Now, double-click on the newly created file and click on the Yes button.
Once done, it will add the respective option in the context menu. In case you want to remove these options, do the following.
At first, open the Registry Editor on your computer and navigate to this path-
For Windows mode:
HKEY_CLASSES_ROOT\DesktopBackground\Shell
Right-click on WindowsMode and select the Delete option.
Now, confirm the change by clicking the Yes button.
For App mode:
HKEY_CLASSES_ROOT\DesktopBackground\Shell\
Right-click on AppMode and choose the Delete option. As usual, you will have to click the Yes button to confirm the removal.
That’s all!
Read: Is Dark Mode better for your eyes? Advantages and Disadvantages
How to toggle between dark and light mode in Windows 11?
You can use Settings to toggle between dark and light mode in Windows 11. To do so, open Settings by pressing Win + I, go to Personalization > Colors, and then set Choose your Windows mode and Choose your default app mode to Dark.