11 lines
510 B
PowerShell
11 lines
510 B
PowerShell
# Enable Light Mode for Apps
|
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "AppsUseLightTheme" -Value 1
|
|
# Enable Light Mode for System
|
|
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "SystemUsesLightTheme" -Value 1
|
|
|
|
# Restart Explorer to apply changes
|
|
Write-Host "Restarting Explorer..."
|
|
Stop-Process -Name explorer -Force
|
|
Start-Process explorer
|
|
Write-Host "Light mode enabled! Explorer has been restarted."
|