OS deployment with SCCM fails with Unknown error (Error: 80220005; Source: Unknown)

Description

You see the following error messages on smsts.log:
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)

Exiting with return code 0x80220005

Process completed with exit code 2149711877

Failed to run the action: Apply Windows Settings.
Unknown error (Error: 80220005; Source: Unknown)

Solution

Make sure the computer name's length is not too long. If the length is longer than 15 characters, shorten it.

Affected software:

System Center Configuration Manager (SCCM) 2007
System Center Configuration Manager (SCCM) 2007 R2
System Center Configuration Manager (SCCM) 2007 R3






Add new comment
Name:
Anti-Bots verification code (just write 1234):