ConfigMgr Preflight with XAML and PowerShell

There are so many of these out and about, but I love making things myself, so I’ve written a preflight tool to run a number of checks before a ConfigMgr build can progress.

Most of the tools I’ve seen that provide this functionality, use a HTA or winforms. I didn’t want to use either of these because I felt they were old technologies. So I decided to figure out if it was possible to generate a XAML UI using PowerShell as a “backend”. As PowerShell is based on .Net, it was pretty easy 🙂

If you just want to take a look at the script, its here on GitHub. Although I’m happy with how it is currently, I’m still adding functionality. For now I’ll try and walk through how it currently works.

Continue reading “ConfigMgr Preflight with XAML and PowerShell”

ConfigMgr Preflight with XAML and PowerShell

WinPE Initialization failed with error code 0x80220014

I came across this issue during a deployment for a customer:

Windows PE initialization failed with error code 0x80220014.

The fix is well documented here.

Essentially, the PE wims included in ADK 10 1511 require a fixed schema.dat file. So you have to mount the wims in DISM and replace the existing schema.dat files with the ones provided in the hotfix download.

Or you could update to ADK 10 1607.

WinPE Initialization failed with error code 0x80220014

Offline Image Servicing – Windows 10 Image shows Windows 8 updates

I’ve had a bit of time recently to work on my  ConfigMgr lab environment and one of the tasks I had on my list was to look into offline image servicing. This functionality allows you to inject updates into your reference image on a scheduled basis, straight from the console.

However, when I tried to schedule servicing for my Windows 10 1511 images, it only showed me Windows 8 updates. After a lot of digging I discovered that in my image properties it was displaying my image version number as 6.2.10240.16384. You can see this by selecting your image and in the bottom pane, viewing your OS Version:


Continue reading “Offline Image Servicing – Windows 10 Image shows Windows 8 updates”

Offline Image Servicing – Windows 10 Image shows Windows 8 updates

Windows 10 Dark Theme

I’m one of those techies who likes to customise every application I use with pretty icons and colours. And like alot of my peers, I love dark themes. So I thought I would share how you can do this for you your Windows 10 apps

In build 1607 or “Anniversary Update”, its really simple, you can enable it in Settings > Personalization > Colors and you can chose either a Light or Dark “App Mode”.

Pre 1607, there are two registry entries you can make to add the same dark mode:

Key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize
ValueType: DWORD(32Bit)
ValueName: AppsUseLightTheme
ValueData: 0

Add the same DWORD under HKCU, then logout and back in and you’ve got Windows Dark theme.

Windows 10 Dark Theme