Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change computer name thru registry?

Status
Not open for further replies.

timlowe

MIS
Jan 15, 2004
91
US
Hi, I was wonder if there is a way to rename a computer thru regedit. I have a bunch of computers on the network that I need to rename, and i would rather do it behind the scenes with desktop authority instead of actually letting everyone know that i am logging on to their desktop.

Thanks,

Tim
 
The name is stored here: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName
It is of type REG_SZ

Let say the existing name was TIMLOWE. I would write the following .reg file to rename it LINNEY:

--------------ren_computer.reg ------------
Windows Registry Editor Version 5.0

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName]
"ComputerName"="LINNEY"

--------------------------------------------

Notes:

. it must be all UPPERCASE
. it takes effect with a reboot
. This will assuredly prevent you in a Domain from being able to logon.


 
Sorry for answering the wrong question. At least Bill was awake.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top