Page 1 of 1 1
Topic Options
#58908 - 2001-09-07 01:33 PM computer name change at logon
Anonymous
Unregistered


Hi,

(This maybe a frequent asked question)

Does some one knows a (KIXTART)logon script
wich changes the computer name without rebooting.

(When i restore a "diskimage" and windows starts I get the error: "computername already exists" because it has the computer name of the computer on wich i created the image.)

Now i don't want to change this manualy every time I restore a image!

Does some one know a logon script who can change this "without rebooting"??

or a other way to get around this problem??

Thanx

Top
#58909 - 2001-09-07 03:35 PM Re: computer name change at logon
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Migz,

Welcome to the board.

No good news for you here for NT/2k machines.

Unfortunately, machine names are part of the SID (Security IDentifier).

You will have to do the following:
Pull the machine(s) out of the domain.
Restart..
Rename to a "unique" name.
Restart..
Add the machine back into the domain using a Domain Admin Account..
Restart..

Kinda tedious huh?

Sorry.

- Kent

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#58910 - 2001-09-07 04:04 PM Re: computer name change at logon
Anonymous
Unregistered


Well Ok

THanx for the Info!

Top
#58911 - 2001-09-07 04:18 PM Re: computer name change at logon
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
if you are doing Win2k images, you can use sysprep. It is a WONDERFUL tool for imaging PCs (for preparing the image specifically)

If you are running WinNT... well, at least you are being paid to run around to them.

_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#58912 - 2001-09-07 05:48 PM Re: computer name change at logon
Anonymous
Unregistered


Migz,
As Radimus pointed SYSPREP is king for this in 2000, on Nt you have to take a more complex approach.
We do this by taking a ghost image of the NT machine just before the disk is converted to NTFS, then we have a bootable floppy which runs a REXX script to ask the user a bunch of quesions, ghost the FAT disk image onto his drive, and then customise some answer files, then take the floppy disk out, reboot and NT continues the install unattended - you then need a series of auto installing apps (office etc) built using ZAK or the like.

We used to use it before 2000 hit the streets - it took a while to set up, but it meant that rebuilding a PC took about 90 minutes, with 15 minutes of interaction at the start (mostly waiting for the image to ghost down).

Id go 2000 and SYSPREP if you have the choice.

HTH
Mark

Top
#58913 - 2001-09-07 06:09 PM Re: computer name change at logon
Jeroen Offline
Starting to like KiXtart

Registered: 2001-08-16
Posts: 180
Loc: Netherlands
Guys,

SysPrep can be used on NT4 as well. However, keep in mind there are (at least) 2 versions of SysPrep, so you have to use the correct one. I think version 1.1 is for Win2K, and 1.0 is for NT4, but you should check this, because I'm not sure of the version numbers.

But what's the intent? Do you need to use images? Or do you need to change computernames of existing computers on your network? Do you need to migrate or something? Please provide some more info, so we can offer better help... ?

_________________________
Regards, Jeroen. There are two ways to write error-free programs. Only the third one works.

Top
#58914 - 2001-09-07 06:14 PM Re: computer name change at logon
Jeroen Offline
Starting to like KiXtart

Registered: 2001-08-16
Posts: 180
Loc: Netherlands
Woops, didn't read your original posting that well!, you did already mention you wanted to use it with cloning... Ok, well, SysPrep is the way you want to go then...

For NT4, it will ask you the computername at first boot, and then create a unique SID for the installation...

By the way, Microsoft will only give support on problems with cloning or cloned machines, if SysPrep has been used for the cloning... (at least that was their policy 6 months ago)

_________________________
Regards, Jeroen. There are two ways to write error-free programs. Only the third one works.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.062 seconds in which 0.033 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org