SCCM Task Sequencing Environment Failed with Error Code 0x80220005.
The issue was reported in a remote site that had a DP serving that site. The task sequence content was available on the DP. So far the task sequence was successfully imaging the machines, but this time it failed.
Examining the SMSTS.log:
Error – 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) OSDWinSettings 2/14/2016 4:12:11 PM 1628 (0x065C)
Exiting with return code 0x80220005 OSDWinSettings 2/14/2016 4:12:11 PM 1628 (0x065C)
Process completed with exit code 2149711877 TSManager 2/14/2016 4:12:11 PM 976 (0x03D0)
During the initial steps of TS, the engineer was supposed to enter the computer’s name. This option was configured to avoid the system from auto-generate a random computer name that begins with MININT for the computer.
The computer names are longer than 15 characters. The 16th character is always reserved to identify the functionality that is installed on the registered network device. Upon entering the computer name of fewer than 15 characters, the OSD was successful.