Tool: OSConfig Theme Sample – Windows 10


OSConfig Main Page


Included in the 20151204 version of OSConfig is a Theme Sample for Windows 10 Enterprise at OSConfig\Samples\Theme (w10e)

If you downloaded the Zip from GitHub, and copied the contents to your Deployment Share, this will reside in %DeployRoot%\Applications\OSConfig\Samples\Theme (w10e).  To activate this Theme for your Windows 10 deployment, simply the contents to your %DeployRoot%\Applications\OSConfig\Windows 10\Theme directory

2015-12-04_13-18-50


On a Windows 10 Deployment, this gets copied to C:\_SMSTaskSequence\OSConfig\Theme (in WinPE)

2015-12-04_13-21-40


Once the OS has loaded, we can see that the Theme was applied properly, for starters I don’t see the default Hero wallpaper

2015-12-04_13-34-33


So let’s have a breakdown of what happens in the Theme directory.  If I look in my OSConfig.log, I can see that everything is detailed for me.

2015-12-04_13-37-26


C:\Windows\OSConfig\Theme\Install.cmd

2015-12-04_13-39-27

If this file exists, it is executed as written.  Looking at the contents of this file, I simply used this to do some Theme cleanup and to add a registry entry to prevent changing the Lock Screen image.  you can write this however you want.

2015-12-04_13-45-07


C:\Windows\OSConfig\Theme\Themes

2015-12-04_13-39-27

I can place an aero.theme and a basic.theme in this directory and they will be applied automatically if they exist.  Additionally in my aero.theme I added a BrandImage entry and linked it to OSConfig\Theme\Logos\BrandImage.png.  This is a 240 x 80 px image.  This is not necessary and can be removed.  OSConfig performs no action on BrandImage.png so it is up to you if you add this entry when modifying your Theme files.

2015-12-04_13-49-27


C:\Windows\OSConfig\Theme\Logos\OEMLogo.bmp

2015-12-04_13-39-27

Adding an OEMLogo.bmp will automatically link the Logo in System OEM Information

2015-12-04_14-04-57


C:\Windows\OSConfig\Theme\Wallpaper\img0.jpg

2015-12-04_13-39-27

Adding a file named img0.jpg will replace the existing one in C:\Windows\Web\Wallpaper\Windows.  This is the Windows Hero wallpaper that is typically referenced in the Aero.theme file


C:\Windows\OSConfig\Theme\Wallpaper\LockScreen.jpg

2015-12-04_13-39-27

Adding the LockScreen.jpg will perform a few tasks:

  • Copy to C:\Windows\Web\Screen\LockScreen.jpg
  • Modifies the registry to set the LockScreen.jpg as the default Lock Screen image
  • Modifies the registry to disable Logon Background Image (not the same as the Lock Screen).  This is assumed that if you are changing the Lock Screen, you probably don’t want the Hero Logon wallpaper either

This results in the following changes to the Lock Screen (displays the LockScreen.jpg) and the Logon Screen (no background, just default color).

2015-12-04_14-01-23

2015-12-04_14-01-28


C:\Windows\OSConfig\Theme\Wallpaper\Background.bmp
C:\Windows\OSConfig\Theme\Wallpaper\backgroundDefault.jpg

2015-12-04_13-39-27

Adding these files will place them in the proper spot for Windows 7 in C:\Windows\System32\oobe.  I have not automated the Registry entries to make the permanent changes, that is planned soon.


C:\Windows\OSConfig\Theme\User Account Pictures

2015-12-04_14-11-27

You can overwrite the default User Account Pictures by placing your own versions in this directory.  I have left the defaults in here so you understand the sizing.

2015-12-04_14-12-47


C:\Windows\OSConfig\Theme\Start

2015-12-04_14-11-27

I saved the best for last.  Adding a Start Layout called LayoutModificationx64.xml or LayoutModificationx86.xml will automatically apply it as part of the Theme processing

2015-12-04_14-15-52

And the result is nice and clean.

2015-12-04_14-17-04

I’ll discuss customizing Start more in a different post.  This should be enough to get you rolling for now.

Advertisements