Solved

change computer name

Posted on 2007-12-01
7
1,178 Views
Last Modified: 2008-03-31
I am wanting to role out 200 xp boxes using ghost cast.
I then want to runa script or something to change the computer names.
is there a batch file or something i could use to change the names rather than going into everyone and having to specify a new name manualy.
0
Comment
Question by:jonsharrock
[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
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 70

Expert Comment

by:KCTS
ID: 20387737
If you are imaging machines like this you should use sysprep for 2 main reasons
1) if you don't then all the computers (regardless of name) will have the same SID and that will cause problems on a domain
2) You can specify in the "unattend" file the name(s) of the computers automatically

Thsi article http://support.microsoft.com/kb/302577 details the use of sysprep for XP - 2000/2003 are essentaill the same as far as this process is concerned.
0
 

Author Comment

by:jonsharrock
ID: 20387863
they are not going onto a domain they are hired out so go to variouse places.
i dont want to use sysprep as then i have to spen time on each i just want a quick and simple way to change the name only.
Cheers
0
 
LVL 3

Expert Comment

by:top_gizmo
ID: 20387967
You could use the netdom.exe utility to rename them, but you would need to create a script to automate it.

http://support.microsoft.com/kb/298593

0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 3

Expert Comment

by:top_gizmo
ID: 20387973
0
 
LVL 2

Expert Comment

by:h11
ID: 20392009
I know you are looking for a script but you could run ghostwalker right afer you are done imagnig your pc.  This is a GUI program that lets you change the name and create a new sid it takes about 1 minute per pc to do what you want to do.  I have it in a bat file that once it is done imaging and I exit Ghost iand the bat file calls ghostwaler.  It comes with ghost.

0
 

Author Comment

by:jonsharrock
ID: 20392381
i know you can open the image with ghost walker but i didn't know you could rename a computer, Would you mind sharing the batch file you use?
Cheers.
Jon.
0
 
LVL 2

Accepted Solution

by:
h11 earned 250 total points
ID: 20394124
I use a boot disk that will boot all type of dell coputers gx 270, 620, 745, 755.  when it is done running ghost instead of restarting I have it exit the ghost program which then calls the Ghostwalker program.  This is where I give it a new name and create a new sid.  See below
Autoexec.bat from boot disk that I use to make boot cd.

@echo off
SET TZ=GHO-01:00
prompt $p$g
netbind.com
MOUSE.COM
MSCDEX.EXE  /D:banana /L:e
MSCDEX.EXE /D:MSCD000 /D:MSCD001 /D:MSCD002
e:
ghost.exe
ghstwalk.exe

Config.SYS
DEVICE=HIMEM.SYS /testmem:off
files=99
buffers=10
dos=high,umb
stacks=9,256
lastdrive=z

[menu]
menuitem=GX270, GX270 Load network drivers  
menuitem=Gx620, Gx620 Load network drivers
menuitem=GX745, GX745 Load network drivers
menuitem=GX755, GX755 Load network drivers
rem Do not really want a default selection
rem menudefault=NEC_IDE,30
menucolor=7,0
[GX270]

DEVICE=\270\protman.dos /I:\270
DEVICE=\270\dis_pkt.dos
DEVICE=\270\e1000.dos
DEVICE=cd1.SYS /D:banana
DEVICE=IDE\GCDROM.SYS /D:MSCD000 /f0
DEVICE=IDE\GCDROM.SYS /D:MSCD001 /f1
DEVICE=IDE\GCDROM.SYS /D:MSCD002 /f2

[GX620]

DEVICE=\620\protman.dos /I:\620
DEVICE=\620\dis_pkt.dos
DEVICE=\620\b57.dos
DEVICE=cd1.SYS /D:banana
DEVICE=IDE\GCDROM.SYS /D:MSCD000 /f0
DEVICE=IDE\GCDROM.SYS /D:MSCD001 /f1
DEVICE=IDE\GCDROM.SYS /D:MSCD002 /f2


[GX745]

DEVICE=\745\protman.dos /I:\745
DEVICE=\745\dis_pkt.dos
DEVICE=\745\B57.dos
DEVICE=IDE\GCDROM.SYS /D:MSCD000 /f0
DEVICE=IDE\GCDROM.SYS /D:MSCD001 /f1
DEVICE=IDE\GCDROM.SYS /D:MSCD002 /f2

[GX755]

DEVICE=\755\protman.dos /I:\755
DEVICE=\755\dis_pkt.dos
DEVICE=\755\E1000.dos
DEVICE=IDE\GCDROM.SYS /D:MSCD000 /f0
DEVICE=IDE\GCDROM.SYS /D:MSCD001 /f1
DEVICE=IDE\GCDROM.SYS /D:MSCD002 /f2



0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

696 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