Jump to content


  • 0
Dan Wright

OSDComputerName is failing

Question

I have configured the collection variables and created a task in my TS to prompt for a computer name for an unknown computer. It was working well while I was building and testing the rest of the TS. I have everything working and now it will not prompt for Computer name. Here is the error that is produced in the advertisment report:

 

The task sequence execution engine failed executing the action (Apply Windows Settings) in the group (Install Operating System) with the error code 2149711877

Action output: interface.cpp,1126)

m_pSMIInterface->setValue( SetupPassValue[eSetupPass], pszComponentName, pszPath, pszValue ), HRESULT=80220005 (e:\nts_sms_fre\sms\framework\osdcore\xmlanswerfile.cpp,768)

this->SetValue( Specialize, XML::Shell::ComponentName, XML::Shell::ComputerName::Element, pszComputerName ), HRESULT=80220005 (e:\nts_sms_fre\sms\framework\osdcore\xmlanswerfile.cpp,884)

m_pImpl->SetComputerNameW(pszComputerName), HRESULT=80220005 (e:\nts_sms_fre\sms\framework\osdcore\xmlanswerfile.cpp,2184)

pAnswerFile->SetComputerNameW(sValue), HRESULT=80220005 (e:\nts_sms_fre\sms\client\osdeployment\osdwinsettings\osdwinsettings.cpp,376)

ConfigureWinSettings(), HRESULT=80220005 (e:\nts_sms_fre\sms\client\osdeployment\osdwinsettings\osdwinsettings.cpp,637)

Exiting with return code 0x80220005

Failed to open the Task Sequencing Environment. Code 0x80220005. Please ensure you are running this executable inside a properly configured OS Deployment task sequence.

Unknown error (Error: 80220005; Source: Unknown).

 

 

 

Some info about my TS. I am creating 2 partitions. I'm applying my own Unattend file via TS (Apply Operating System). I'm applying a (Set Task Sequence Variable) with OSDComputerName value %OSDComputerName% which is set in the collection I use. The task follows (Apply Operting System). I am also joining the computer to an assigned OU. (ofcorse this doesnt work because the name doesn't get set.)

 

Can someone look at the above log and give me some pointers as to what to change. Thanks.

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I have configured the collection variables and created a task in my TS to prompt for a computer name for an unknown computer. It was working well while I was building and testing the rest of the TS. I have everything working and now it will not prompt for Computer name. Here is the error that is produced in the advertisment report:

 

The task sequence execution engine failed executing the action (Apply Windows Settings) in the group (Install Operating System) with the error code 2149711877

Action output: interface.cpp,1126)

m_pSMIInterface->setValue( SetupPassValue[eSetupPass], pszComponentName, pszPath, pszValue ), HRESULT=80220005 (e:\nts_sms_fre\sms\framework\osdcore\xmlanswerfile.cpp,768)

this->SetValue( Specialize, XML::Shell::ComponentName, XML::Shell::ComputerName::Element, pszComputerName ), HRESULT=80220005 (e:\nts_sms_fre\sms\framework\osdcore\xmlanswerfile.cpp,884)

m_pImpl->SetComputerNameW(pszComputerName), HRESULT=80220005 (e:\nts_sms_fre\sms\framework\osdcore\xmlanswerfile.cpp,2184)

pAnswerFile->SetComputerNameW(sValue), HRESULT=80220005 (e:\nts_sms_fre\sms\client\osdeployment\osdwinsettings\osdwinsettings.cpp,376)

ConfigureWinSettings(), HRESULT=80220005 (e:\nts_sms_fre\sms\client\osdeployment\osdwinsettings\osdwinsettings.cpp,637)

Exiting with return code 0x80220005

Failed to open the Task Sequencing Environment. Code 0x80220005. Please ensure you are running this executable inside a properly configured OS Deployment task sequence.

Unknown error (Error: 80220005; Source: Unknown).

 

 

 

Some info about my TS. I am creating 2 partitions. I'm applying my own Unattend file via TS (Apply Operating System). I'm applying a (Set Task Sequence Variable) with OSDComputerName value %OSDComputerName% which is set in the collection I use. The task follows (Apply Operting System). I am also joining the computer to an assigned OU. (ofcorse this doesnt work because the name doesn't get set.)

 

Can someone look at the above log and give me some pointers as to what to change. Thanks.

 

 

this http://social.technet.microsoft.com/Forums/en-US/configmgrosd/thread/8edd19ca-ccd7-4593-bed7-1cefe3e1a6f3 suggests it maybe a to long of a name. is your naming converntion over 16digits? try something shorter?

 

 

can you give us the full smsts.log to help out

 

 

Share this post


Link to post
Share on other sites

  • 0

this http://social.technet.microsoft.com/Forums/en-US/configmgrosd/thread/8edd19ca-ccd7-4593-bed7-1cefe3e1a6f3 suggests it maybe a to long of a name. is your naming converntion over 16digits? try something shorter?

 

 

can you give us the full smsts.log to help out

 

 

No name had been entered. Unless its putting something else in the OSDComputername variable.

Share this post


Link to post
Share on other sites

  • 0

No name had been entered. Unless its putting something else in the OSDComputername variable.

 

 

Is it a bare metal system ? If so,where(which collection) have you created variable ? can you post smsts.log.

are you using any unattened xml file ?

Share this post


Link to post
Share on other sites

  • 0

Yes it is a bare metal install. The variable is in the "ALL Unknown Computers" collection. Yes I am using an Unattend file. I have included the SMSTS.log from the workstation here. It was prompting me for the computer name when I first configured it. I captured a new wim and when I started to use it the computer name prompt stopped working. Thanks for your time.

smsts.log

Share this post


Link to post
Share on other sites

  • 0
I captured a new wim and when I started to use it the computer name prompt stopped working. Thanks for your time.

 

did you remember to add the computername step to your new deploy task sequence

did you check for spelling mistakes ?

Share this post


Link to post
Share on other sites

  • 0

did you remember to add the computername step to your new deploy task sequence

did you check for spelling mistakes ?

 

 

I figured out the issue. I had changed the advertisment to mandatory somehow during my testing. By advertising the Task Sequence as not mandatory fixed it. I'm not sure why this is important but it does effect the process. Thanks all for your help.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.