How to open the hidden black theme mode of Win10 official version?

  

From a preview version, Win10 hides the black night theme mode, which can be opened by modifying the registry. For details, see How to Open the Win10 Preview 10134 Night Mode Theme. This mode has been enabled by default in some parts of Windows 10 official version, but it is not fully enabled. After referring to the above method, the background of the Modern setting panel will also be displayed as black, as shown in the figure below.

This function should provide a better user experience on tablet devices. In the discussion of related content on foreign websites, many users believe that Microsoft should add a switch to the system to facilitate switching. Unfortunately, the setup options are not available in the official Win10 version. If you want to experience this feature but don't want to manually modify the registry, IT House has written a small piece of code to help you switch quickly. The method is as follows:

1. Create a txt file, copy the following small code to Notepad and save it
Copy the contents to the clipboard $regkey = "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion \\Themes\\Personalize"


  • $name = "AppsUseLightTheme"

  • $exists = Get-ItemProperty -Path "$regkey" -Name "$name" -ErrorAction SilentlyContinue

  • If (($exists -ne $null) -and ($exists.Length -ne 1)) {

  • Remove-ItemProperty -Path $ Regkey -Name $name

  • }else{

  • New-ItemProperty -Path $regkey -Name $name -Value 0

  • }


  • 2, change the txt file suffix to ps1

    3, right click on the ps1 file, select “Run with PowerShell> Black theme mode. Run again to recover.

    It should be noted that this opening method has side effects. When the black theme mode is turned on, the setting window title bar in the active state will also be displayed in black, which will cause the buttons and fonts in the title bar to be unclear. . Probably this feature is still in the testing phase and has not been developed, so Microsoft did not provide the appropriate switch.

  • Copyright © Windows knowledge All Rights Reserved