Random computer name generator

laminblake

New Member
Messages
7
Hey guys,
I am deploying hundreds of dummy terminals using windows 8. They all have a locked down user account that our users use to access citrix. I created an image and used sysprep to capture the image but since I didn't generalize the image (generalizing wipes out all of my local policy lockdown settings) I cannot use a specialized pass in the unattend file to set the computer name to random.

On previous versions of windows i used compname.exe to create a batch file that i used as a runonce command to set up the computer name on first logon. Unfortunately all of my attempts to use scripts or software to change the computer name on windows 8 won't run as they error out.

Anyone have any ideas as per a program or script that can create a random computer name on first boot?
 

My Computer

System One

  • OS
    Windows 7

My Computer

System One

  • OS
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz
    Motherboard
    Lenovo
    Memory
    16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
    Graphics Card(s)
    Intel Integrated HD Graphics
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    HP h2207
    Screen Resolution
    1680x1050@59Hz
    Hard Drives
    250GB Samsung EVO SATA-3 SSD;
    2TB Seagate ST2000DM001 SATA-2;
    1.5TB Seagate ST3150041AS SATA
    PSU
    500W
    Keyboard
    Wired USB
    Mouse
    Wired USB
    Internet Speed
    3GB Up, 30GB Down
    Browser
    SeaMonkey
    Antivirus
    Windows Defender; MBAM Pro
    Other Info
    UEFI/GPT
    PLDS DVD-RW DH16AERSH
Looked at those already, the scripts and programs they refer to work great with windows 7 but windows 8 is completely different as the scripts don't work at all. The unattend solution won't work since the image is not generalized windows will not do a specialized pass during first boot, which is where you would set the computer name.
 

My Computer

System One

  • OS
    Windows 7
Back
Top