Provisioning Services Target Devices Start with MAC Address as the Computer Name

Provisioning Services Target Devices Start with MAC Address as the Computer Name

book

Article ID: CTX138634

calendar_today

Updated On:

Description

When booting, VMware ESX target devices replace computer name with MAC Address.

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Resolution

As a workaround, you can add a registry key to force the target to get the computer name before the login screen.

Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.

Complete the following procedure to add the registry key:

  1. From the Provisioning Services Console, change the vDisk mode to Private Image mode.

  2. Start one target device in Private Image mode.

  3. Open the Registry editor and open the following key on the target device:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BNIStack

  4. Add the key named Parameters, if it does not exist.

  5. Add a DWORD value in the Parameters key called EnableGetComputerName.

  6. Set the value to 1.


Problem Cause

VMware ESX incorrectly writes over the memory allocated to the bootstrap, deleting the computer name information provided by the Provisioning Services server. The operating system by default changes the name to the MAC addresses of the virtual machine.

Issue/Introduction

When booting, VMware ESX target devices replaces computer name with MAC address.