OSDRegisteredOrgName issue with new (Wizard created) Task Sequence when trying to Edit

After running around, chasing shadows and being outrun by that wild goose.....  i have fallen to my knees and am asking for your help!

We have an issue when using the Create Task Sequence wizard in SCCM 2012 R2.  No matter what options are chosen during the wizard, the result is the same.  The Task Sequence gets created perfectly, no issues, but we are unable to edit it.

The following error message is displayed:

Both the OSDRegisteredOrgName and the OSDRegisteredUserName values are empty (aside from apparently being filled with a few tab spaces.

My guess is, the step is being added by the wizard without these fields being filled in, thus stopping me from opening the Task Sequence to enter them.....catch 22 i suspect.

Editing the XML and re-importing may work, but don't really want to do this workaround as it shouldn't be needed.

This doesn't affect manually creating a Task Sequence, as you cannot save it without manually entering these fields with a valid entry.

My questions are:

  • Where does the OSDRegisteredUserName and OSDRegisteredOrgName get their values from when the Wizard is used?
  • Is there any quick fix for this? or even a long fix? as long as it is a fix and not a workaround.
  • Is MDT a cause?
  • Where can I get the last four hours of my life back?

Many thanks,

Dean

June 30th, 2015 11:21am

Step "Apply Windows Settings"? Have you entered anything there during the wizard?
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2015 11:32am

Just to confirm, both the RegisteredOrganisation and RegisteredOwner keys have a valid value in  HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion on all Admin machines and the SCCM servers.

June 30th, 2015 11:40am

Have you tried this from the console on multiple machines? Based on your screenshot it looks like a local issue where WinMgmt is not able to query the registry location you mentioned above (assuming you don't actually have a bad XML template file). It would be helpful to confirm that this is systemic and not localized to whatever machine you're running on. 


Free Windows Admin Tool Kit Click here and download it now
June 30th, 2015 11:56am

Step "Apply Windows Settings"? Have you entered anything there during t
July 1st, 2015 3:56am

Have you tried this from the console on multiple machines?

Yes, has been attempted on two workstations and the primary SCCM server.  Same result on all, and all devices have entries in the registry at the correct location.
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2015 3:57am

It would be helpful if you could export the TS and provide a copy of the XML file to examine. But from the information provided your issues sounds most similar to the one described here. Are you also running Server 2012 and can you try installing patch KB3046049?

July 1st, 2015 8:22am

It would be helpful if you could export the TS and provide a copy of the XML file to examine. But from the information provided your issues sounds most similar to the one described here. Are you also running Server 2012 and can you try installing patch KB3046049?

Server 2008 R2 unfortunately.

<PROPERTY NAME="Sequence" CLASSORIGIN="SMS_TaskSequencePackage" TYPE="string">
    <QUALIFIER NAME="CIMTYPE" PROPAGATED="true" TYPE="string" TOINSTANCE="true">
      <VALUE>string</VALUE>
    </QUALIFIER>
    <VALUE><![CDATA[<sequence version="3.00"><referenceList><reference package="ZZZ00169"/><reference package="ZZZ00002"/></referenceList><globalVarList><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering">false</variable></globalVarList><group name="Install Operating System" description="Actions to run in Windows PE to install and configure the image"><step type="SMS_TaskSequence_RebootAction" name="Restart in Windows PE" description="" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><condition><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">equals</variable><variable name="Value">false</variable><variable name="Variable">_SMSTSInWinPE</variable></expression></condition><action>smsboot.exe /target:WinPE</action><defaultVarList><variable name="SMSRebootMessage" property="Message">A new Microsoft Windows operating system is being installed.  The computer must reboot to continue.</variable><variable name="SMSRebootTimeout" property="MessageTimeout">10</variable><variable name="SMSRebootTarget" property="Target" hidden="true">WinPE</variable></defaultVarList></step><step type="SMS_TaskSequence_PartitionDiskAction" name="Partition Disk 0" description="Actions to partition and format the new machine" runIn="WinPE" successCodeList="0" runFromNet="false"><condition><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notExists</variable><variable name="Variable">_SMSTSClientCache</variable></expression><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notEquals</variable><variable name="Value">OEMMedia</variable><variable name="Variable">_SMSTSMediaType</variable></expression><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notEquals</variable><variable name="Value">true</variable><variable name="Variable">_OSDMigrateUseHardlinks</variable></expression><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notEquals</variable><variable name="Value">true</variable><variable name="Variable">_SMSTSBootUEFI</variable></expression></condition><action>osddiskpart.exe</action><defaultVarList><variable name="OSDDiskIndex" property="DiskIndex">0</variable><variable name="OSDDiskType" property="DiskType">Basic</variable><variable name="OSDDiskpartBiosCompatibilityMode" property="DiskpartBiosCompatibilityMode">false</variable><variable name="OSDGPTBootDisk" property="GPTBootDisk">false</variable><variable name="OSDPartitionStyle" property="PartitionStyle">MBR</variable><variable name="OSDPartitions" property="Partitions" hidden="true">2</variable><variable name="OSDPartitions0AssignVolumeLetter" property="Partitions0AssignVolumeLetter">true</variable><variable name="OSDPartitions0Bootable" property="Partitions0Bootable">true</variable><variable name="OSDPartitions0FileSystem" property="Partitions0FileSystem">NTFS</variable><variable name="OSDPartitions0QuickFormat" property="Partitions0QuickFormat">true</variable><variable name="OSDPartitions0Size" property="Partitions0Size">499</variable><variable name="OSDPartitions0SizeUnits" property="Partitions0SizeUnits">MB</variable><variable name="OSDPartitions0Type" property="Partitions0Type">PRIMARY</variable><variable name="OSDPartitions1AssignVolumeLetter" property="Partitions1AssignVolumeLetter">true</variable><variable name="OSDPartitions1Bootable" property="Partitions1Bootable">false</variable><variable name="OSDPartitions1FileSystem" property="Partitions1FileSystem">NTFS</variable><variable name="OSDPartitions1QuickFormat" property="Partitions1QuickFormat">true</variable><variable name="OSDPartitions1Size" property="Partitions1Size">60939</variable><variable name="OSDPartitions1SizeUnits" property="Partitions1SizeUnits">MB</variable><variable name="OSDPartitions1Type" property="Partitions1Type">PRIMARY</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyOperatingSystemAction" name="Apply Operating System" description="Actions to apply operating system" runIn="WinPE" successCodeList="0" runFromNet="false"><action>OSDApplyOS.exe /image:ZZZ00169,%OSDImageIndex% /runfromnet:False</action><defaultVarList><variable name="OSDImageIndex" property="ImageIndex">2</variable><variable name="ImagePackageID" property="ImagePackageID" hidden="true">ZZZ00169</variable><variable name="OSDInstallEditionIndex" property="InstallEditionIndex">0</variable><variable name="RunFromNet" property="RunFromNet" hidden="true">false</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyDataImageAction" name="Apply Data Image 1" description="Apply Data Image 1" runIn="WinPE" successCodeList="0" runFromNet="false"><action>OSDApplyOS.exe /data:ZZZ00169,%OSDDataImageIndex% </action><defaultVarList><variable name="OSDDataImageIndex" property="ImageIndex">1</variable><variable name="ImagePackageID" property="ImagePackageID" hidden="true">ZZZ00169</variable><variable name="OSDWipeDestinationPartition" property="WipeDestinationPartition">true</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="Actions to apply Windows settings" runIn="WinPE" successCodeList="0" runFromNet="false"><action>osdwinsettings.exe /config</action><defaultVarList><variable name="OSDLocalAdminPassword" property="AdminPassword"></variable><variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable><variable name="OSDProductKey" property="ProductKey"></variable><variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable><variable name="OSDRegisteredOrgName" property="RegisteredOrgName">
				</variable><variable name="OSDRegisteredUserName" property="RegisteredUserName">
				</variable><variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable><variable name="OSDTimeZone" property="TimeZone">GMT Standard Time</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="Actions to configure network settings" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>osdnetsettings.exe configure</action><defaultVarList><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable><variable name="OSDNetworkJoinType" property="NetworkJoinType">1</variable><variable name="OSDWorkgroupName" property="WorkgroupName">WORKGROUP</variable></defaultVarList></step><step type="SMS_TaskSequence_AutoApplyAction" name="Apply Device Drivers" description="" runIn="WinPE" successCodeList="0" runFromNet="false"><condition><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notEquals</variable><variable name="Value">FullMedia</variable><variable name="Variable">_SMSTSMediaType</variable></expression></condition><action>osddriverclient.exe /auto /bestmatch:%OSDAutoApplyDriverBestMatch% /unsigned:%OSDAllowUnsignedDriver%</action><defaultVarList><variable name="OSDAutoApplyDriverBestMatch" property="BestMatch">true</variable><variable name="OSDAllowUnsignedDriver" property="UnsignedDriver">false</variable></defaultVarList></step></group><group name="Setup Operating System" description="Setup Operating System"><step type="SMS_TaskSequence_SetupWindowsAndSMSAction" name="Setup Windows and Configuration Manager" description="Actions to setup Windows and Configuration Manager client" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>OSDSetupWindows.exe</action><defaultVarList><variable name="SMSClientInstallProperties" property="ClientInstallProperties">SMSMP=SERVER01 FSP=SERVER01</variable><variable name="_SMSClientPackageID" property="ClientPackageID">ZZZ00002</variable></defaultVarList></step></group></sequence>
]]></VALUE>
  </PROPERTY>

The above section is where the problem lies, or rather, where I think it lies.  However, what is causing this issue is unclear.

The huge space between the start of the OSDRegisteredOrgName and OSDRegisteredUserName variables and their ends leads me to believe that the information gathered by whatever process it uses is corrupted in some way.

Is this content gathered from the machine being used each time the wizard is run, or is it stored somewhere in the database and referenced?


  • Edited by DeanoMcG 18 hours 31 minutes ago
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2015 9:01am

It would be helpful if you could export the TS and provide a copy of the XML file to examine. But from the information provided your issues sounds most similar to the one described here. Are you also running Server 2012 and can you try installing patch KB3046049?

Server 2008 R2 unfortunately.

<PROPERTY NAME="Sequence" CLASSORIGIN="SMS_TaskSequencePackage" TYPE="string">
    <QUALIFIER NAME="CIMTYPE" PROPAGATED="true" TYPE="string" TOINSTANCE="true">
      <VALUE>string</VALUE>
    </QUALIFIER>
    <VALUE><![CDATA[<sequence version="3.00"><referenceList><reference package="ZZZ00169"/><reference package="ZZZ00002"/></referenceList><globalVarList><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering">false</variable></globalVarList><group name="Install Operating System" description="Actions to run in Windows PE to install and configure the image"><step type="SMS_TaskSequence_RebootAction" name="Restart in Windows PE" description="" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><condition><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">equals</variable><variable name="Value">false</variable><variable name="Variable">_SMSTSInWinPE</variable></expression></condition><action>smsboot.exe /target:WinPE</action><defaultVarList><variable name="SMSRebootMessage" property="Message">A new Microsoft Windows operating system is being installed.  The computer must reboot to continue.</variable><variable name="SMSRebootTimeout" property="MessageTimeout">10</variable><variable name="SMSRebootTarget" property="Target" hidden="true">WinPE</variable></defaultVarList></step><step type="SMS_TaskSequence_PartitionDiskAction" name="Partition Disk 0" description="Actions to partition and format the new machine" runIn="WinPE" successCodeList="0" runFromNet="false"><condition><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notExists</variable><variable name="Variable">_SMSTSClientCache</variable></expression><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notEquals</variable><variable name="Value">OEMMedia</variable><variable name="Variable">_SMSTSMediaType</variable></expression><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notEquals</variable><variable name="Value">true</variable><variable name="Variable">_OSDMigrateUseHardlinks</variable></expression><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notEquals</variable><variable name="Value">true</variable><variable name="Variable">_SMSTSBootUEFI</variable></expression></condition><action>osddiskpart.exe</action><defaultVarList><variable name="OSDDiskIndex" property="DiskIndex">0</variable><variable name="OSDDiskType" property="DiskType">Basic</variable><variable name="OSDDiskpartBiosCompatibilityMode" property="DiskpartBiosCompatibilityMode">false</variable><variable name="OSDGPTBootDisk" property="GPTBootDisk">false</variable><variable name="OSDPartitionStyle" property="PartitionStyle">MBR</variable><variable name="OSDPartitions" property="Partitions" hidden="true">2</variable><variable name="OSDPartitions0AssignVolumeLetter" property="Partitions0AssignVolumeLetter">true</variable><variable name="OSDPartitions0Bootable" property="Partitions0Bootable">true</variable><variable name="OSDPartitions0FileSystem" property="Partitions0FileSystem">NTFS</variable><variable name="OSDPartitions0QuickFormat" property="Partitions0QuickFormat">true</variable><variable name="OSDPartitions0Size" property="Partitions0Size">499</variable><variable name="OSDPartitions0SizeUnits" property="Partitions0SizeUnits">MB</variable><variable name="OSDPartitions0Type" property="Partitions0Type">PRIMARY</variable><variable name="OSDPartitions1AssignVolumeLetter" property="Partitions1AssignVolumeLetter">true</variable><variable name="OSDPartitions1Bootable" property="Partitions1Bootable">false</variable><variable name="OSDPartitions1FileSystem" property="Partitions1FileSystem">NTFS</variable><variable name="OSDPartitions1QuickFormat" property="Partitions1QuickFormat">true</variable><variable name="OSDPartitions1Size" property="Partitions1Size">60939</variable><variable name="OSDPartitions1SizeUnits" property="Partitions1SizeUnits">MB</variable><variable name="OSDPartitions1Type" property="Partitions1Type">PRIMARY</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyOperatingSystemAction" name="Apply Operating System" description="Actions to apply operating system" runIn="WinPE" successCodeList="0" runFromNet="false"><action>OSDApplyOS.exe /image:ZZZ00169,%OSDImageIndex% /runfromnet:False</action><defaultVarList><variable name="OSDImageIndex" property="ImageIndex">2</variable><variable name="ImagePackageID" property="ImagePackageID" hidden="true">ZZZ00169</variable><variable name="OSDInstallEditionIndex" property="InstallEditionIndex">0</variable><variable name="RunFromNet" property="RunFromNet" hidden="true">false</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyDataImageAction" name="Apply Data Image 1" description="Apply Data Image 1" runIn="WinPE" successCodeList="0" runFromNet="false"><action>OSDApplyOS.exe /data:ZZZ00169,%OSDDataImageIndex% </action><defaultVarList><variable name="OSDDataImageIndex" property="ImageIndex">1</variable><variable name="ImagePackageID" property="ImagePackageID" hidden="true">ZZZ00169</variable><variable name="OSDWipeDestinationPartition" property="WipeDestinationPartition">true</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="Actions to apply Windows settings" runIn="WinPE" successCodeList="0" runFromNet="false"><action>osdwinsettings.exe /config</action><defaultVarList><variable name="OSDLocalAdminPassword" property="AdminPassword"></variable><variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable><variable name="OSDProductKey" property="ProductKey"></variable><variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable><variable name="OSDRegisteredOrgName" property="RegisteredOrgName">
				</variable><variable name="OSDRegisteredUserName" property="RegisteredUserName">
				</variable><variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable><variable name="OSDTimeZone" property="TimeZone">GMT Standard Time</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="Actions to configure network settings" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>osdnetsettings.exe configure</action><defaultVarList><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable><variable name="OSDNetworkJoinType" property="NetworkJoinType">1</variable><variable name="OSDWorkgroupName" property="WorkgroupName">WORKGROUP</variable></defaultVarList></step><step type="SMS_TaskSequence_AutoApplyAction" name="Apply Device Drivers" description="" runIn="WinPE" successCodeList="0" runFromNet="false"><condition><expression type="SMS_TaskSequence_VariableConditionExpression"><variable name="Operator">notEquals</variable><variable name="Value">FullMedia</variable><variable name="Variable">_SMSTSMediaType</variable></expression></condition><action>osddriverclient.exe /auto /bestmatch:%OSDAutoApplyDriverBestMatch% /unsigned:%OSDAllowUnsignedDriver%</action><defaultVarList><variable name="OSDAutoApplyDriverBestMatch" property="BestMatch">true</variable><variable name="OSDAllowUnsignedDriver" property="UnsignedDriver">false</variable></defaultVarList></step></group><group name="Setup Operating System" description="Setup Operating System"><step type="SMS_TaskSequence_SetupWindowsAndSMSAction" name="Setup Windows and Configuration Manager" description="Actions to setup Windows and Configuration Manager client" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>OSDSetupWindows.exe</action><defaultVarList><variable name="SMSClientInstallProperties" property="ClientInstallProperties">SMSMP=SERVER01 FSP=SERVER01</variable><variable name="_SMSClientPackageID" property="ClientPackageID">ZZZ00002</variable></defaultVarList></step></group></sequence>
]]></VALUE>
  </PROPERTY>

The above section is where the problem lies, or rather, where I think it lies.  However, what is causing this issue is unclear.

The huge space between the start of the OSDRegisteredOrgName and OSDRegisteredUserName variables and their ends leads me to believe that the information gathered by whatever process it uses is corrupted in some way.

Is this content gathered from the machine being used each time the wizard is run, or is it stored somewhere in the database and referenced?


  • Edited by DeanoMcG Wednesday, July 01, 2015 1:14 PM
July 1st, 2015 1:00pm

Found this when checking WMI in ROOT\SMS\SITE_<SITECODE> namespace:

Not sure if both of those values are supposed to be empty or not...

Also, having re-run the process on the Primary server, I have found that I am able to run the wizard from there and edit the Task Sequence created from it.  I think I may have assumed I had done this during all the mind-numbing testing I was doing the other day, and instead may have just attempted to open one of the created Task Sequences from the console machines from the server.

However, upon opening one of these Primary Site created Task Sequences, I found that the Apply Windows Settings step contained my logged on username in the User name field, and the Primary Site Server name in the Organisation name field.

I have found a few locations in the server's registry where its name appears like that, without the domain suffix, but none seem relevant and none of them match up to where my username appears in the registry.

The plot thickens.....


  • Edited by DeanoMcG 15 hours 59 minutes ago
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2015 11:47am

Found this when checking WMI in ROOT\SMS\SITE_<SITECODE> namespace:

Not sure if both of those values are supposed to be empty or not...

Also, having re-run the process on the Primary server, I have found that I am able to run the wizard from there and edit the Task Sequence created from it.  I think I may have assumed I had done this during all the mind-numbing testing I was doing the other day, and instead may have just attempted to open one of the created Task Sequences from the console machines from the server.

However, upon opening one of these Primary Site created Task Sequences, I found that the Apply Windows Settings step contained my logged on username in the User name field, and the Primary Site Server name in the Organisation name field.

I have found a few locations in the server's registry where its name appears like that, without the domain suffix, but none seem relevant and none of them match up to where my username appears in the registry.

The plot thickens.....


  • Edited by DeanoMcG Friday, July 03, 2015 3:46 PM
July 3rd, 2015 3:46pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics