Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sysprep / Ghost / Specific Computer Name Generation

Posted on 2008-10-12
6
Medium Priority
?
3,133 Views
Last Modified: 2012-05-05
Greetings,

I need to have a way to auto name pc's on startup after sysprep that will give the computers a specific name relative to their serial number.
HP Protect Tools is installed with the BIOS configuration which gives that information.

Naming convention.
ABCA-SERIALLLLL

I'd like to do this in Active Directory as well as I have the full serial number list for all 5000+ pc's.
I could add in the first part I.E. ABCA- in excel but how would I automatically create all of those in one generic Computers OU.

INFORMATION
Clients
HP Compaq DC7800 PC's
Windows XP Pro Service Pack 3
Windows XP SP3 Sysprep (the new one)
Ghost Solutions Suite 2.2

Server Active Directory
Windows 2003 R2

Any help will be greatly appreciated.
Best Regards,
0
Comment
Question by:vibesmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:cristides
ID: 22698286
Hi,
Export xls or csv to txt, create a bat file which read the txt file and create the computers on your AD.
0
 

Author Comment

by:vibesmaster
ID: 22698360
Hi Cristides,
That does not tell me much.
What is the script for the .bat file and what are the switches to be used?
What would I do in AD to execute this .bat file?

Also, what about auto naming these on the image.
Sysprep would only let you auto generate or manually assign a name, so a script would be need for this as well.

Best Regards,
0
 
LVL 4

Accepted Solution

by:
TSchug earned 2000 total points
ID: 22700231
http://jimtsay.googlepages.com/mysysprep

For naming in the image use Mysysprep. It allows you to use a serial number %SerialNo% variable in the computer name sysprep config file. Look at the link for an example Then launch mysysprep.exe instead of sysprep.exe

Hopefully this works with SP3, I have only tried it with SP2. You can tell what it's going to use for the serial variable by running

MySysprep.exe /smbios

in the command prompt.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:vibesmaster
ID: 22704890
Tschug,
I ran it on a virtual machine and it worked perfectly.

I'm impressed.Great Job!!!

All I need to do now is take my .txt file of computer names to get them to auto create in Active Directory.
Do you know how to do this.
I would award you more than 500 points if I could.

Best Regards,
0
 

Author Closing Comment

by:vibesmaster
ID: 31505466
Great Answer
0
 
LVL 4

Expert Comment

by:TSchug
ID: 22706175
vibesmaster, glad it worked for ya. I'm not sure what the best way to collect these. I generally do no create the computers in Active Directory, just join them and it will automatically create an account in AD. I am going to guess you can't do it this way because of permissions, group policy or enterprise environment?

How would you collect the serial numbers? using a script? wouldn't the computers have to be joined to the domain before you could run the script anyway, and in that case the name would already be AD.

I'm confused, but I'm sure you have a reason that you can explain.

Thanks
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question