Issue with automatically generated names based on serial numbers for virtual machines
I noticed this issue at a customer where they were deploying machines and automatically configuring the machine name according to serial number.
There were no issues with deploying physical machines, but virtual machines were failing during the “Apply Windows Settings” step with the following error code:
Failed to open the Task Sequencing Environment. Code 0x80220005. Please ensure you are running this executable inside a properly configured OS
The reason why we see this issue is that virtual machines have longer serial numbers than 16 characters, which is the maximum amount of characters allowed for a machine name during OSD.
If you have a script that sets the serial number automatically, you will need to configure it to only take the first 16 characters of the serial number.
About the author
Daniel Classon works as a Senior Consultant at Mansoft, focusing on Microsoft Configuration Manager, Windows 10 and Powershell
- How to install .NET Framework 3.5 on Windows Server 2012 and Windows Server 2012 R2 961,276 views
- Issue with mounting new ISO files from TechNet in Windows 8 and Windows 8.1 Preview 63,630 views
- Solution to OSD issue 80072ee7 30,750 views
- Powershell: Script to set Outlook 2010/2013 signature using information populated from Active Directory 31,676 views
- Guide: How to get PXE boot to work in Hyper-V 105,812 views
- Guide: How to force specific sites to always run in Compatibility View using Group Policy 141,106 views
- How to change between a Full Installation (GUI) and Server Core in Windows Server 2012 63,804 views
- Guide: Solving WDS issue with DHCP port conflict 11,744 views
- Hyper-V: Issue when starting virtual machine from downloaded ISO file 7,343 views
- How to check status of Bitlocker encryption on a client 117,254 views