149Updating Security Identifiers (SIDs) and computer names
Using Ghost Walker
/CN=
"<random_computer_
name_format>"
Replaces the original computer name with a randomly generated
name using the <random_computer_name_format> template.
The <random_computer_name_format> template specifies
which sections of the new name will be randomly generated and
the type of random value to place in that location.
Only one instance of the following keywords is permitted in a
template:
<RANDOM_NUMERIC> - Generate random numbers
<RANDOM_ALPHA>- Generate random letters
<RANDOM_HEX> - Generate random hex digits (0-9, A-F)
Examples:
/CN=”PC<RANDOM_NUMERIC>” replaces the computer name
with a name that starts with PC, followed by a series of random
digits between 0 and 9.
/CN=”ID<RANDOM_ALPHA>X” replaces the computer name
with a name that starts with ID, followed by a series of random
letters, ending with the character X.
/CN=”<RANDOM_ALPHA>” replaces the computer name with
a name that is randomly generated using letters.
The random output fills out the format string to produce a new
computer name of the same length as the original name. Ensure
that the format string allows enough room to embed at least one
random character without exceeding the length of the original
name.
/BV=<drv:part> Specifies the drive number and partition number of the bootable
operating system installation to update.
If there is more than one operating system, then this switch must
be included in the command.
/AV=<drv:part> Specifies the drive number and partition number of an
additional volume containing a file system to update.
■ More than one volume may be specified by repeating the
argument for each additional volume.
■ This switch cannot be combined with /AV=ALL.
Table 11-1 Command-line options
Switch Description