# Run the following code in PowerShell
# replacing theme_name with the theme of your choice
C:\Windows\Resources\Themes\<theme_name>.theme
# For example: C:\Windows\Resources\Themes\dark.theme
# Note: Make sure you enter the correct theme filename that is
# present in C:\Windows\Resources\Themes\ directory
# For frequent use, save and run the following code as a PowerShell script
param(
[string]$theme_name = "dark"
)
$command = "C:\Windows\Resources\Themes\" + $theme_name + ".theme"
Invoke-Expression $command
Start-Sleep -Seconds 2
Stop-Process -Name SystemSettings
# Please upvote if this helped you
https: