locked
Gather Only Local Data RRS feed

  • Question

  • SCCM 2012R2 CU5 with MDT, OSD for Win7e x64

    All goes well until I get to the Gather step, which is directly after applying device drivers.  The TS seems to skip this gather part. OR at least it isn't using that data for the next step.  All I am trying to do is get the Asset Tag or Serial Number or service Tag, whatever that might be & use it to name the computer.  So we'd have a 3 letter prefix followed by the Serial Number.  If it matters these are Dell computers.

    The Gather step is set thusly

    Name: Gather

    "Gather only local data (do not process rules)"

    then next step

    Name: Set ComputerName

    Task Sequence Variable: OSDComputerName

    Value: ABC%SerialNumber%  have also tried  ABC%AssetTag%

    No dice ... when Windows starts it asks for the computername & that field is autopopulated with:  PC

    But what I am expecting & what I want to happen is that the computer gets auto-named something like ABCJJF84R5TI7

    Then gets joined to the domain.

    Not sure how to get this to function properly & could use some assistance, please.


    # When I wrote this script only God and I knew what I was doing. # Now, only God Knows!


    • Edited by Wasisname Tuesday, March 28, 2017 9:28 PM further info
    Tuesday, March 28, 2017 9:25 PM

All replies

  • Use a similar approach for naming my systems BUT I do it in the customsettings.ini file (below) and have had no issues.

    [Settings]
    Priority=ByLaptopType,ByDesktopType,Default
    Properties=DriverSelectionProfile

    [ByDesktopType]
    Subsection=Desktop-%IsDesktop%

    [Desktop-True]
    OSDComputername=GLDD%AssetTag%

    [ByLaptopType]
    Subsection=Laptop-%IsLaptop%

    [Laptop-True]
    OSDComputername=GLDL%AssetTag%

    [Default]
    OSInstall=Y
    SkipAppsOnUpgrade=YES
    SkipAdminPassword=YES
    SkipProductKey=YES
    SkipBDDWelcome=YES
    SkipBitLocker=YES
    SkipCapture=YES
    SkipComputerBackup=YES
    SkipDomainMembership=YES
    SkipFinalSummary=NO
    SkipLocaleSelection=YES
    SkipTimeZone=NO
    SkipUserData=YES
    SkipComputerName=Yes
    SkipSummary=YES
    UserDataLocation=NONE
    FinishAction=Reboot

    Wednesday, March 29, 2017 1:48 PM