+ Post New Thread
Results 1 to 5 of 5
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? ...
  1. #1

    Join Date
    Feb 2008
    Location
    Portsmouth
    Posts
    163
    Thank Post
    16
    Thanked 18 Times in 13 Posts
    Rep Power
    16

    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 ?

  2. #2

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,539
    Thank Post
    830
    Thanked 609 Times in 412 Posts
    Rep Power
    432
    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..

  3. #3

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,144
    Thank Post
    113
    Thanked 518 Times in 447 Posts
    Blog Entries
    2
    Rep Power
    121
    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.

  4. #4
    torledo's Avatar
    Join Date
    Oct 2007
    Posts
    2,928
    Thank Post
    168
    Thanked 155 Times in 126 Posts
    Rep Power
    47
    Quote Originally Posted by dtakias View Post
    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 ?

  5. #5

    Join Date
    Feb 2008
    Location
    Portsmouth
    Posts
    163
    Thank Post
    16
    Thanked 18 Times in 13 Posts
    Rep Power
    16
    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:
+ Post New Thread

Similar Threads

  1. Sysprep help Please
    By Ste_Harve in forum Windows
    Replies: 25
    Last Post: 31st July 2008, 02:51 PM
  2. Sysprep & Ghost
    By cgiuk in forum How do you do....it?
    Replies: 13
    Last Post: 26th November 2007, 09:14 AM
  3. RIS/Sysprep problem
    By Gatt in forum Windows
    Replies: 3
    Last Post: 17th August 2006, 11:44 AM
  4. Sysprep
    By tosca925 in forum Windows
    Replies: 14
    Last Post: 7th April 2006, 01:53 PM
  5. Activate before Sysprep
    By thom in forum Windows
    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
  •