Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Customizing desktops with sysprep fails with the error: a specified parameter was not correct: \nspec.identity.userData.computerName (2009820)

Symptoms

  • You are unable to customize desktops with sysprep for View automated pools
  • When provisioning a View pool, the parent machine is cloned to 100% and then fails
  • You see the error:

    a specified parameter was not correct:
    \nspec.identity.userData.computerName"

  • In the vpxd.log file, you see entries similar to:

    [2011-11-25 10:17:37.101 02652 info 'App' opID=7f076425] [VpxLRO] -- ERROR task-17455 -- vm-5929 -- vim.VirtualMachine.customize: vmodl.fault.InvalidArgument:
    Result:
    (vmodl.fault.InvalidArgument) {
       dynamicType = <unset>, 
       faultCause = (vmodl.MethodFault) null, 
       invalidProperty = "spec.identity.userData.computerName", 
       msg = "",

  • Within the vSphere Client, you are able to successfully customize a full clone using the same sysprep customization script

Cause

This issue occurs if the name of any of the computers in DNS include an underscore. For more information, see the Microsoft Knowledge Base article 909264.

Resolution

To resolve this issue:
  1. Reconfigure the parent virtual machine or template and ensure that:

    • The name is less than 15 characters
    • There are no underscores in the name

  2. Release the virtual machine's IP.
  3. Shut down virtual machine.
  4. Take new snapshot.
  5. Recompose the pool or provision a new virtual machine.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 3 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 3 Ratings
Actions
KB: