Solved

Sysprep / Ghost / Specific Computer Name Generation

Posted on 2008-10-12
6
3,091 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
  • 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 500 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

777 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