Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • About the author
  • GitHub
CCMEXEC.COM – Enterprise Mobility

Script to tattoo the client registry during OSD – PS version

Posted on March 30, 2018March 17, 2021 by Jörgen Nilsson

I wrote a post back in 2012 on how to tattoo the registry with OSD information from Task Sequence variables and OS versions. https://ccmexec.com/2012/08/script-to-tattoo-the-client-registry-during-osd/
We can then inventory that information using Configuration Manager and create collections and create reports based on Task Sequence used, media type and originally installed Windows 10 build which can be useful in the future. I have added in this example OSD Duration so we really easy can see how long time the OS deployment took. It can be downloaded here: https://github.com/Ccmexec/MEMCM-OSD-Scripts

And the inventoried values will look like this in resource explorer. I used RegKeyToMof to extend the HW inventory,

I use the variable for OSD StartTime that we set in OSDBackground which I have blogged about here before: https://ccmexec.com/2016/10/configuration-manager-osdbackground/  and it can be downloaded from Onevinn – Scripts (schrewelius.it)

The name of the Registry key can be configured in the beginning of the script as shown here.

After adding changing the script with the name of the registry key, add it to a package and distribute it to your Distribution Point group. I run the script in the end of my Task Sequences like this.

hope this can be useful and spark ideas on what more to add to the registry during OSD that can be useful afterwards.

  • OSD Tattoo
  • 2 thoughts on “Script to tattoo the client registry during OSD – PS version”

    1. Pingback: Windows 10 Upgrade Compatibility Assessment | Me, Myself and IT
    2. Pingback: Windows 10 Upgrade – Write Metrics from Registry to WMI | Me, Myself and IT

    Leave a Reply Cancel 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.

    My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
    All code is provided "AS-IS" with no warranties.

    Tweets by ccmexec

    Recent Posts

    • Show DP information during OSD using TSBackground
    • Using Install-language during AutoPilot Windows 11 insider
    • Co-Management and the importance of device token enrollment.
    • Windows 11 Insider Start Menu layout registry customizations
    • MEMCM 2203 released with great features

    ©2022 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
    This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
    Privacy & Cookies Policy

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
    Non-necessary
    Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
    SAVE & ACCEPT