Skip to content

Commit 34f0502

Browse files
authored
Update ChangeWindowsSystemTheme.ps1 with restart windows explorer
1 parent 89e79de commit 34f0502

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stable/ChangeWindowsSystemTheme.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ if (Test-Path $registryPath)
77
{
88
New-ItemProperty -Path $registryPath -Name "SystemUsesLightTheme" -Value $dwordValue -PropertyType DWORD -Force | Out-Null
99
}
10+
11+
# Restart Windows Explorer
12+
Stop-Process -Name explorer -Force
13+
Start-Process explorer

0 commit comments

Comments
 (0)