Hi Eric 1708,
Thank you for sharing the detailed information.
Based on your description, the custom theme installs correctly when applied manually, but after the PC resumes from Sleep, the system reverts to default colours (e.g. white backgrounds) until the theme is reapplied. This behaviour can occur when Windows does not immediately reload the user’s theme colour composition after waking from a low‑power sleep state, even though the theme settings themselves are still present.
As a workaround, you can configure Windows to automatically reapply your theme each time the device wakes from Sleep:
Step 1: Create a Script
- Open Notepad, paste the following:
timeout /t 5
start "" "%SystemRoot%\Resources\Themes\YOURTHEME.theme"
- Replace
YOURTHEME.themewith your theme file name. - Save as:
C:\Scripts\ApplyTheme.cmd
Step 2: Create a Wake Trigger Task
1 - Press Win + R > type taskschd.msc then press Enter
2 - Select Create Task
Go to General tab
- Name: Reapply Theme On Wake
- Check: Run with highest privileges
Triggers > New
- Begin task: On an event
- Log: System
- Source: Power-Troubleshooter
- Event ID: 1
Actions > New
- Program:
C:\Scripts\ApplyTheme.cmd
Conditions
- Uncheck: Start only if on AC power
3 - Click OK to save.
This will ensure your custom theme is automatically restored after the system resumes from Sleep without requiring manual intervention.
Let me know if you need further assistance, feel free to ask me by clicking "Add Comment" or "Add Answer" if you cannot add comment so your response will be visible. Thanks for your effort.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.