HostName ignored when deploying Windows 10 Image

Document ID : KB000039452
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

  • When deploying a Windows 10 Image via OSIM the value defined for HostName is ignored and the target PC is allocated a generated name by Windows Setup.
  • In ..\windows\panther\setupact.log the following is seen

[Shell Unattend] ComputerName in unattend [<computer_name>] matches the current ComputerName [<computer_name>]

[Shell Unattend] skipping setting the same ComputerName

Environment:  

  • Windows 10 deployment via ImageX

Cause:

  • This appears to be an issue in the GA Windows 10 release. 
  • If you attempt to deploy the new PC and give it the same name as the template used to generate the wim then it is ignored.

Workaround:

Ensure the HostName value used for the deployed PC's does not match the Host name used in the template PC used to generate the wim.