Mietek Rogala

Mietek Rogala has written 16 posts for Slightly Overcomplicated

PowerShell script to query content status for a specific Task Sequence and generate a HTML report

In a perfect world all your SCCM content is managed properly and all Distribution Points are in a healthy status. Unfortunately, in a real-life that may not always be the case. Before running a major upgrade project, or perhaps a new release of your build, it might be good idea to check status of the … Continue reading

How to downgrade TPM 2.0 to TPM 1.2 on HP machines in SCCM OSD Task Sequence

You may have encountered a scenario where TPM needs to be set to version 1.2 in order for encryption to work correctly (e.g. on Windows 7 platform). Many machines come with TPM 2.0 these days, however they still offer a backward-compatibility of running TPM 1.2 – quite often this is available as an option that … Continue reading

“(0x80091007) Failed to run the action: Apply Operating System. The hash value is not correct.” on machines with 16GB RAM

This article is for all of those who receive 0x80091007 “The hash value is not correct” error message when trying to deploy WIM file using SCCM 2012 and you have already tried the following (without success): You trigged “Update Distribution Points” action, but it didn’t help You removed content from distribution points and re-distributed, but … Continue reading

How to prepare TPM chip for BitLocker encryption in a single Task Sequence step

You may have encountered a problem with your Task Sequences that a step to start BitLocker encryption does not work as expected. Depending on a method used to start the encryption (e.g. built-in “Enable BitLocker” step, StartMBAMEncryption.wsf script), the error you are getting varies, but quite often the underlying issue is the same: the TPM … Continue reading

How to control progress bar in MDT/SCCM Task Sequence using VBScript

Ever wondered how to control Task Sequence progress bar? This post will give you a quick overview on how to tap in to relevant object with an example of custom delay step. This approach works just fine in both MDT and SCCM Task Sequences without modifying a single line of code! Controlling the progress bar … Continue reading

Windows PE startup sequence explained

In Windows OSD there comes a time when you have to dive into startup process of Windows PE. Whether it is to troubleshoot boot up time issues, or to create a bespoke deployment solution, having a basic understanding of chain of events taking place when WinPE loads helps a great deal. In this article I … Continue reading

VBScript to prompt for hostname and validate input in SCCM OSD Task Sequence

There are countless ways to set a hostname in SCCM OSD Task Sequence: through variables, queries or manipulating various files. You can automate hostname assignment and derive it from, for example, a serial number or a MAC address, however sometimes it is necessary to prompt user to enter hostname (e.g. for hostname to match asset … Continue reading

VBScript to ensure BGInfo reports correct version of Internet Explorer

My colleague¬† encountered a problem the other week with BGInfo reporting “incorrect” version of IE. He had used his package for months with a great success, until when customer requested IE to be upgraded from version 9 to version 11. BGInfo’s built-in variable for IE version returned value that was prefixed with “9.” – and … Continue reading

Changing default Windows 8.1 wallpaper during MDT Task Sequence

Changing a wallpaper should be a trivial task, shouldn’t it? All we need to do is to replace a file… This post walks you through hurdles you will stumble up and how to get through them. Default Windows 8.1 wallpaper is stored in C:\windows\web\wallpaper\Windows directory and is called img0.jpg. However, you can’t just overwrite the … Continue reading

Changing MDT deployment share path (bootstrap.ini) on boot (on the fly)

Many of IT deployment professionals out there have a need of supporting multiple deployment shares. Whether it is for different departments, customers or environments the classic approach is that each deployment share means generation of a new boot image. Maintaining WDS, supporting all network and storage drivers for WinPE as well as enforcing consistency across … Continue reading