Avatar of ejcrist
ejcrist
 asked on

Need Ghost image to generate new sid and computer name

I want to Ghost image 185 laptops.  I"ve setup the harddrive with all my updates and apps.  All laptops are the exact same hardware. (ThinkPad R61).

I want to load the image, generate a new sid, auto name the computer and auto add to the domain.

I'm trying Sysprep, but I'm not confident in what I'm doing.  I was wondering if "NewSid" would do what I want?  Any help is appreciated.
Microsoft Legacy OSWindows OSWindows XP

Avatar of undefined
Last Comment
ejcrist

8/22/2022 - Mon
jfrancis10

Ghost has an option to run sysprep on your image when creating it.  Sysprep will strip the sid and computer name from your image.  You will need to run a mini setup once the target pc are done.
AutoIt_Airwolf

NewSID will allow you to create a new SID on all images, but Sysprep will do the same and allow you to automate the setup process.  Here is an example of a sysprep.inf file that would automatically name the machine randomly, join it to a domain, and set the local admin password. The only thing you will have to do during setup is choose the time zone and set the correct time.

;SetupMgrTag
[Unattended]
    OemSkipEula=Yes
    InstallFilesPath=C:\i386

[GuiUnattended]
    AdminPassword="password"
    EncryptedAdminPassword=NO
    OEMSkipRegional=1
    OemSkipWelcome=1

[UserData]
    ProductKey=12345-12345-12345-12345-12345
    FullName="Name"
    OrgName="Company Name"
    ComputerName=*

[SetupMgr]
    DistFolder=C:\i386
    DistShare=windist

[Identification]
    JoinDomain=domain.com
    DomainAdmin=domainadmin
    DomainAdminPassword=password

[Networking]
    InstallDefaultComponents=Yes

[sysprepcleanup]
ejcrist

ASKER
Excellent!  Now once I have this inf file in C:\Sysprep, do I run Setup Manager and choose "Factory"?
Your help has saved me hundreds of hours of internet surfing.
fblack61
AutoIt_Airwolf

Run Sysprep.exe from command line with a -pnp switch (it will help with any plug and play driver problems). Make sure you leave the box labeled "Don't regenerate security identifiers" UNCHECKED so that the SID will be fresh for each client. I typically check the boxes labeled "Use Mini-Setup" and "Don't reset grace period for activation".
ASKER CERTIFIED SOLUTION
Brian Pierce

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ejcrist

ASKER
Ok....I've done some testing.  Here's been my steps...

Prepare the harddrive with all apps and OS.

Run setupmgr from c:\sysprep folder

Create new inf file for a sysprep setup

Answer all questions.

Run sysprep

Click on reseal and leave all check boxes UNCHECKED

Upload the image using GHOST

Download the image to a laptop...restart.  The laptop doesn't read the answer file and prompts me for all the information (name, serial#, etc.)

I want the restart to read the setup.inf file.  What am I doing wrong?

THANKS!