Update: Windows 10’s First Big Update Added This Option
Thankfully, the below steps are no longer necessary. Windows 10’s first big update added an official way to do this.
Now, you can simply open the Settings app, navigate to Personalization > Colors, and activate the “Show color on Start, taskbar, action center, and title bar” option.
By default, it will automatically select a color based on your desktop background. Disable the “Automatically pick an accent color from my background” option here and you’ll be able to select any color you like from the Colors screen.
Modify the Windows Theme Files
Microsoft chose to force white title bars in an odd way. In the uDWM.dll theme file in Windows, there’s code that looks at the current theme file name and compares it to “aero.msstyles” — the default theme file. If it matches, Windows ignores the color specified in the theme file and sets the color to white. So, all you have to do is modify the default Windows theme file to not contain the name “aero.msstyles”.
First, open a File Explorer window and navigate to C:\Windows\Resources\Themes. Select the “aero” folder, press Ctrl + C to copy it, and then immediately press Ctrl + V to paste it and make a copy of it. Click “Continue” to the UAC prompt. Select “Do this for all current items” and click “Skip” when you see the File Access Denied window.
You’ll get a folder named “aero – Copy”. Rename it to “color”. (It doesn’t have to be “color”, but we’ll be using color throughout here — you just need to use a consistent name.)
Go into your new folder. You’ll see a file named “aero.msstyles”. Rename it to “color.msstyles”. Click Continue when you see the UAC prompt.
Next, open the en-US folder and you’ll see an “aero.msstyles.mui” file. Rename it to “color.msstyles.mui”. When you see the UAC prompt, click Continue.
The en-US folder may have a different name if you’re using a different language edition of Windows.
Go back to the main Themes folder and you’ll see a file named aero.theme. Select it and copy it by pressing Ctrl + C. Switch over to your desktop and press Ctrl + V to paste a copy of the file there. Rename the new aero.theme file to color.theme.
Right-click the color.theme file, point to Open With, select Choose another app, and open it with Notepad.
Scroll down in the file and locate the line under [VisualStyles] reading Path=%ResourceDir%\Themes\Aero\Aero.msstyles. Replace it with Path=%ResourceDir%\Themes\color\color.msstyles. Save your changes and close Notepad afterwards.
Select the color.theme file and press Ctrl + X to cut it. Go back to the C:\Windows\Resources\Themes folder and press Ctrl + V to paste it here. Agree to the UAC prompt when you’re done. You now have a theme that can use colored window title bars.
Activate the Theme
Double-click the color.theme file to activate your new theme. Windows will switch to the color.theme file and your window titlebars will immediately become colored.
Pick a Custom Color
As on Windows 8, Windows automatically chooses an “accent color” from your desktop background by default. But you can set your own custom color.
Right-click the desktop and select Personalize, or open the Settings app and select Personalization to find these options. Pick the “Colors” category. Disable the “Automatically pick an accent color from my background” option and you’ll see a list of different colors you can use.
This list is still a bit limited compared to the Color and Appearance options in Windows 8.1, which allowed you to select any color you liked. This desktop control panel has been completely hidden in Windows 10. However, you can still access it — for now.
To access this hidden control panel, press Windows Key + R to open the Run dialog. Copy-and-paste the following line into the Run dialog and run the command:
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,Advanced,@Advanced
The “Show color mixer” option here will let you pick any color you want for your window title bars.
No comments:
Post a Comment