Enhanced OS deployment end message

Since I’m working with ConfigMgr there was always the question of the staging team or end users if the staging of a device has really completed. Many years ago, I created a script which solved this question. Now I got again a few requests of customer and also discussions at the #MMSMOA which could use the script too. Now I decided to make it publicly available so all of you can use it. Basically, the PowerShell script should be started in one of the last steps of the task sequence to gather all information correctly. It will do the following:

  • Collect data about the current devices:
    • OS Version
    • Installed Apps
    • Enabled Security Features like Virus Scan and Bitlocker
  • Adds this information as a logon message including a title which highlights that the staging ended successfully.
  • Changes registry permissions to allow a standard user to remove the logon script
  • Create an AutoStart entry which is reverting the logon message to empty and will also reset the permissions in the registry. Therefore, the message will only be displayed once.

It’s possible to extend the information on your own. If you think its valuable for others, please publish it also on Github.

The implementation just requires you to do the following:

  1. Download Script from Github https://github.com/ThomasKur/ModernAndSecureWorkplace/blob/master/ConfigMgrOSD/OSDEnableOSDMessage.ps1
  2. Add it to a Package in ConfigMgr
  3. Add Run PowerShell Script step to Task Sequence and specify the package and script name.
  4. Start the first device and execute the OSD task sequence

Now it’s ready to use and the result is an OSD end message which looks like this:

Thomas Kurth

Thomas Kurth

I’m a consultant, trainer and architect formodern workplace and enterprise mobility projects with Microsoft Technologies in the past eight years. I love to push and design the modern workplace based on Windows 10, EM&S and O365 for my customers which is the only answer for the current security threats, agile world and the fast-changing business requirements of my customers. Important for me is to simplify and automate the operational processes, because there are the highest costs.
Enterprise Adminstrator ExpertMCTCMCE

2 Comments

Hamil · June 4, 2019 at 22:01

I just have implemented this in my Dev Environment and it is simply superb.
Forgive me for asking this, will you be able to share the entire sequence for us to import? I’m just kinda curios to know what you’ve baked in the “Install Updates” step.

    Thomas Kurth · June 4, 2019 at 22:17

    The Install Updates step is just the default Update Install update step as created with the default Task Sequence. So nothing special. Or do you face a specific issue in your dev task sequence?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe
Hosting sponsored by:
Archive