Windows Thread, Question on Sysprep.inf in Technical; When comes to the entry for the ComputerName is there a way to set it to start counting by itself?
...
-
19th February 2008, 12:47 AM #1
- Rep Power
- 14
Question on Sysprep.inf
When comes to the entry for the ComputerName is there a way to set it to start counting by itself?
For example If I need to name the computers as CLASS00,CLASS01,CLASS02,CLASS03....
Can i keep the first part and let it name the second part or something similar to that ?
-
-
IDG Tech News
-
19th February 2008, 08:23 AM #2 Are you using it with imaging? (RIS, WDS, Ghost, etc)
In RIS you can set it up to auto-number or use the MAC address, etc as the following KB article shows..
http://www.microsoft.com/technet/pro....mspx?mfr=true
Not sure about WDS.. or Ghost..
If i'm using a generic sysprep (for any PC) I usually use # or * as the name (or part of a name) which then forces Sysprep to prompt you for a valid name..
-
-
19th February 2008, 08:59 AM #3 Pretty sure you can't do it without something like RIS - you need something external to the machine to tell it what name to have. (You could imagine something that connects to AD and says "what's the highest number you have in the CLASSnn sequence" A PC gets that number and starts using it. Unless you're running some special code on the PC which can talk to the DC and create an account at that point then the next PC to boot will ask the same question, get the same answer and try to use the same name).
If you don't have a way of dealing with it and end up with random names then you can just rename them all fairly quickly - I've put a script here which will rename 1 computer; what I do for a batch is put old names in column A of a spreadsheet; new names in column B and a formula in column C to generate a set of rename commands - it's then fairly quick to use.
-
-
19th February 2008, 09:10 AM #4 
Originally Posted by
dtakias
When comes to the entry for the ComputerName is there a way to set it to start counting by itself?
For example If I need to name the computers as CLASS00,CLASS01,CLASS02,CLASS03....
Can i keep the first part and let it name the second part or something similar to that ?
I recall someone at my last place of work developed a way to modify computer name in a sysprepped install before it was ghosted by using change.exe and one or two other utilities to accept computer name variables entered by the operator during the ghost bootdisk stage.
Sorry, not sure on the specifics but this problem was a tough nut to crack from what i recall. Chagning computer names post install seems to be the way most people manage it nowadays, or to use other deployment techniques other than sysprep/ghost. But i've always preferred the idea of setting computer names before installation so that the correct compnames are set.
any clues to help me and the ts out on this one ?
-
-
19th February 2008, 10:03 AM #5
- Rep Power
- 14
I will be using Ghost with sysprep. I think for now I will just rename them manualy and will consider using that script srochford posted.
I wonder if I use something like CLASS* or CLASS# will it keep the first part and then ask me to enter manually the second part?
-
SHARE: 
Similar Threads
-
By Ste_Harve in forum Windows
Replies: 25
Last Post: 31st July 2008, 02:51 PM
-
By cgiuk in forum How do you do....it?
Replies: 13
Last Post: 26th November 2007, 09:14 AM
-
Replies: 3
Last Post: 17th August 2006, 11:44 AM
-
By tosca925 in forum Windows
Replies: 14
Last Post: 7th April 2006, 01:53 PM
-
Replies: 10
Last Post: 4th April 2006, 03:30 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules