SCCM Task Sequence Failed with Error Code 0x80220005

When you try to deploy a new machine using SCCM task sequence, you may get the following error during the provisioning:

Unknown error (Error: 80220005; Source: Unknown)
Exiting with return code 0x80220005

Fix

When you type the computer name in the following wizard:

If the computer name is longer than 15 characters, then the OSD will fail!

Minimum name length

1 character.

Maximum name length

15 characters.

Note The 16th character is reserved to identify the functionality that is installed on the registered network device.

https://support.microsoft.com/en-us/help/909264/naming-conventions-in-active-directory-for-computers-domains-sites-and-ous

 

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.