Rename a Computer

J

jack tinker

Hi,

Are there any Windows or Resource Kit tools to rename a computer from the
command line.

I don't want to use VBScript thanks.


Regards
 
M

Mark V

In said:
Very true, very true. I was just looking for a quicker way to
rename the computer than having to go through the GUI.

Ahh well, guess its tough luck for now.

D:\U2\willowhayes_Oli-Restorick_Unattend-UTILS>compname /?
Displays SMBIOS information and changes/displays the computer name.

-------------------------------------------------------------------
---------
Compname v0.6 Copyright Oli Restorick ([email protected]),
2002.
This is beta software. Use at your own risk.
Uses Mitec SysInfo by Michal Mutl (www.mitec.d2.cz).
Portions of this software are Copyright (c) 1993 - 2002, Chad Z.
Hower (Kudzu)
and the Indy Pit Crew - http://www.nevrona.com/Indy/
-------------------------------------------------------------------
---------

COMPNAME [/c name | /d [template] | /s]

/c[hange] Changes the computer name to the one specified.
/d[isplay] Displays the computer name.
/s[mbios] Displays the serial number information from SMBIOS.
name New computer name. Only valid with the /c option.
This may contain macros; see below.
template When used in conjuction with /d, displays the
evaluated name.
Templates will normally contain macros; see below.

The following macros are valid in the name or template.
?s = System serial number. ?c = Chassis serial number.
?b = Mainboard serial number.
?a = The first populated number from system, chassis and mainboard
numbers.
Press [enter] for more...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top