Results 1 to 3 of 3

Thread: Naming a computer in Windows Deployment Services...

  1. #1
    Join Date
    Feb 2006
    Posts
    126

    Naming a computer in Windows Deployment Services...

    I want to know a way to make Windows Deployment Services prompt you for a machine name when adding it to the domain? I have got an unattend file which will install Windows Vista silently on the network bu it is just giving some random name. I want to get access to type in the computer name, so can it be possible? I have checked the XML example <ComputerName>MyComputer</ComputerName> but it needs to be prompted.

  2. #2
    Join Date
    May 2006
    Posts
    976

    RE: Naming a computer in Windows Deployment Services...

    To specify a policy for generating client computer names, use one of the following methods.

    Using the MMC:
    1. Right-click the server name, and then click Properties.
    2. On the Directory Services tab, enter the naming policy in the indicated field.


    Using WDSUTIL:
    1. Open an elevated Command Prompt window.
    2. Run WDSUTIL /Set-Server /NewMachineNamingPolicy:<Policy>
    3. The policy string works as follows:
      • %First: the user's first name
      • %Last: the user's last name
      • %Username: the user's user name
      • %MAC: the MAC address of the computer
      • %n#: an incremental n-digit number. For example, %2# will add a number to the computer name in the following order: 1,2,3,…99.
      • %0n#: an incremental n-digit number, with zeros added before the digit. For example, %02# will add a number to the computer name in the following order: 01,02,03,…99.
    4. These values can be combined in any order. A number before a tag string (such as %3First or %5Username) will crop the string to that length. For example:
      • %61Username%# equals JohnSmi12
      • %2first.%last equals Jo.Smith


    More information can be found here - http://technet.microsoft.com/en-us/l...29.aspx#Common

  3. #3
    Join Date
    Dec 2004
    Posts
    420
    It could be also possible that Windows Deployment Services generates duplicate client computer names when the %MAC variable is used. This problem occurs because of a bug in the Wdsclient.dll file. A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article and downloaded here - http://support.microsoft.com/kb/957051

Similar Threads

  1. Replies: 3
    Last Post: 13-09-2011, 12:34 PM
  2. Windows 7 Unattend.xml not being used during deployment
    By NProtector in forum Operating Systems
    Replies: 6
    Last Post: 10-08-2010, 10:20 PM
  3. Windows 7 Theme Naming Problem
    By Stevo1 in forum Customize Desktop
    Replies: 4
    Last Post: 22-12-2009, 10:53 AM
  4. How to configure Windows Deployment Services
    By Computer_Freak in forum Tips & Tweaks
    Replies: 1
    Last Post: 30-07-2009, 08:21 PM
  5. Windows Deployment Services does not start
    By Dennis van Leur in forum Windows Server Help
    Replies: 2
    Last Post: 17-05-2007, 04:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,576,382.94734 seconds with 17 queries