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
On a Windows 10 Deployment, this gets copied to C:\_SMSTaskSequence\OSConfig\Theme (in WinPE)
Once the OS has loaded, we can see that the Theme was applied properly, for starters I don’t see the default Hero wallpaper
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.
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.
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.
Adding an OEMLogo.bmp will automatically link the Logo in System OEM Information
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
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).
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
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.
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
And the result is nice and clean.
I’ll discuss customizing Start more in a different post. This should be enough to get you rolling for now.