I am going to deploying Windows7 x64  OS into 100 plus laptop using Kace k2000.I want the computers names to be something like (DST_LTP001,DST_LTP002,DST_LTP003,DST_LTP004,etc).How to do it?

 I have also Downloaded "get-setcomputername.zip" from https://support.software.dell.com/download-install-detail/6060030


How to set the computer name?


0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

This is from the "readme file" in the "get-setcomputername.zip". Open it and read for all the ways to set computer names.


-------------------------- Set Computer Name for use with a data file --------------------------
The “/rdf:” and “/dfk:” flags allow Set Computer Name to look in a text file for the new computer name. This allows you to build up a data file that maps devices to their names. The most popular variables to use as identifiers are MAC address ($Mac) & Serial Number ($Serial)

To create the data file, you will need to create a text file and list the entries in the following format:
identifier = desiredcomputername

Here’s an example with MAC addresses:
00508B052AE8 = Computer1
005056C00008 = Computer2
005056C00001 = Computer3

Once complete, zip up the text file along with the appropriate setcomputername executable, 32bit or 64bit.

To create this task:
 1. Go to Library --> Postinstallation Tasks.
 2. From the "choose action..." drop-down menu
 3. Select Add New Application...
 4. Give the task a name, such as "Set Computer Name x86"
  1. Select the K2000 Boot Environment (Windows) as the runtime environment
  2. Click on Upload to select the zip file you created with the data file and setcomputername executable.
  3. In version 3.5 type the following in the command line field: start /wait setcomputername.exe /rdf:Nameofdatafile /dfk:$Variable
     In version 3.6 type the following in the command line field: setcomputername.exe /rdf:Nameofdatafile /dfk:$Variable
    (Note: If you would like to get messages from the script as to what it is doing add the flag "/debug" or add the “/log” flag to generate a log file (both flags are used without the quotes)
 5. Save the Postinstallation Task

Usage Examples:
setcomputername.exe /rdf:computernames.txt /dfk:$Serial will search the computernames.txt file for the serial number of the current system and set the computer name to the associated name if it finds the serial number in computernames.txt
setcomputername.exe /rdf:computernames.txt /dfk:$Mac will search the computernames.txt file for the MAC address of the current system and set the computer name to the associated name if it finds the MAC in computernames.txt

Answered 04/22/2016 by: akmagnum
Third Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity