Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Enable Dark Mode on Windows 10 and Windows 11

Dark Mode, also known as "Modo Escuro" in Portuguese, is a popular feature that changes the appearance of your operating system to a darker theme, which can be easier on the eyes and help reduce eye strain, especially in low-light environments. In this article, we'll walk you through the steps to enable Dark Mode on Windows 10 and Windows 11, both via the graphical interface and using the Command Line (CMD) and PowerShell.

Enabling Dark Mode via Settings

Windows 10:

  1. Open Settings: Press Win + I to open the Settings app.
  2. Navigate to Personalization: Click on Personalization.
  3. Choose Colors: Select Colors from the left-hand menu.
  4. Enable Dark Mode: Under the "Choose your color" dropdown, select Dark.

Windows 11:

  1. Open Settings: Press Win + I to open the Settings app.
  2. Navigate to Personalization: Click on Personalization.
  3. Choose Colors: Select Colors from the left-hand menu.
  4. Enable Dark Mode: Under the "Choose your mode" dropdown, select Dark.

Enabling Dark Mode via Command Line (CMD)

While there isn't a direct CMD command to enable Dark Mode, you can achieve this by modifying the registry using the reg command.

Windows 10 and Windows 11:

  1. Open Command Prompt as Administrator: Search for cmd in the Start menu, right-click on Command Prompt, and select Run as administrator.
  2. Execute the following commands:
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v AppsUseLightTheme /t REG_DWORD /d 0 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v SystemUsesLightTheme /t REG_DWORD /d 0 /f

Enabling Dark Mode via PowerShell

PowerShell provides a more flexible scripting environment to enable Dark Mode by modifying the registry.

Windows 10 and Windows 11:

  1. Open PowerShell as Administrator: Search for PowerShell in the Start menu, right-click on Windows PowerShell, and select Run as administrator.
  2. Execute the following script:
    Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "AppsUseLightTheme" -Type DWord -Value 0
    Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "SystemUsesLightTheme" -Type DWord -Value 0

Examples

Example 1: Enabling Dark Mode via CMD

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v AppsUseLightTheme /t REG_DWORD /d 0 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v SystemUsesLightTheme /t REG_DWORD /d 0 /f

Example 2: Enabling Dark Mode via PowerShell

Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "AppsUseLightTheme" -Type DWord -Value 0
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "SystemUsesLightTheme" -Type DWord -Value 0

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.