Link to home
Start Free TrialLog in
Avatar of eklas
eklas

asked on

change workstation name on command line

I want to change the name and ip-address of a nt4
workstation on the command line and then reboot it
from command line. Are there some tools to do this and
where can I get them?

(the same Q as pman but more points)
Avatar of jhance
jhance

Avatar of eklas

ASKER

Thanks for the tips. I tried netswitcher but unfortunately it didn't work.
It is possible to use the prg to change "host" and computername.
And you can use load/save/cmd line for host but *not* for
COMPUTERNAME :-(

/klas

ASKER CERTIFIED SOLUTION
Avatar of cbo120897
cbo120897

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eklas

ASKER

ok.
but please post a link to a simple, cheap tool here.
thanks.
/klas

Try shutdown.exe from the NT resource kit - shutdown /r /l will reboot your system. I don't find a link to the Web.
Bye Christian
Avatar of eklas

ASKER

Do you have a name of a tool that can change the computername?
(even if you can't find a link?)
No I hav'nt. But you can run my REG-Script in Batch-mode.

By Christian
Avatar of eklas

ASKER

I tried to 2 computer name variables in the registry
but it didn't work. the computer name was still the same.
if I search the registry the old name still appear on a
dozen places. guess that wasn't the right way to do it.

/klas

You should have verified the answer's correctness before giving the credit.  
Avatar of eklas

ASKER

yes, I know :-)

I'll keep on searching. If you have any better solution than netswitcher I'll give
you 200pts as well.
I got a patched release of netswitcher that *can* change computername.
The problem now is that netswitcher also modifies a lot of other params.

/klas
I use Ghostwalker from Symantec to change computer name in Dos (batch) mode. SID-numbers will also change.

Exuse my bad english,

//Marcus