Login | |
|
 |
RE: How to rename computer name under Domain - 8/2/2005 2:31:43 AM
|
|
 |
|
| |
Snipah
Posts: 1341
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
In order to change the name, the PC name must exist in the domain.... what i always do in order not to receive any errors, i throw the PC out of the domain, rename it, and re-add it....for me it is the safest
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: How to rename computer name under Domain - 8/2/2005 8:53:07 PM
|
|
 |
|
| |
Snipah
Posts: 1341
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
NetXMan, I don't use VBScript for this task, merely b/c VBScript will not speed up this process...(not for what i have seen) 1) throw PC out of the domain...reboot needed... 2) rename PC...reboot needed... 3) throw PC back in the domain...reboot needed... This is a time consuming task, but unfortunatly needed sometimes.. therefore we add the PC name in the Unattended Setup, prior to joining the domain... Hope this helps...
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: How to rename computer name under Domain - 8/3/2005 12:51:05 AM
|
|
 |
|
| |
Country73
Posts: 710
Score: 8
Joined: 8/25/2004
From: USA
Status: offline
|
Sometimes you can actually get away with only two reboots. 1) throw pc out of domain...(make sure it is actually out of the domain and states that a reboot is required) 2) Rename machine and then reboot 3) Join domain and final reboot Still pretty time consuming, but this does cut down (a little) on the time it takes. 2000 / XP machines
|
|
| |
|
|
|
 |
RE: How to rename computer name under Domain - 8/3/2005 11:59:00 PM
|
|
 |
|
| |
mbouchard
Posts: 1804
Score: 12
Joined: 5/15/2003
From: USA
Status: online
|
I started to reply yesterday got called away then the site was brought down, oh well. Here is an option I came across, not sure of it's usefulness as I have not used it, but it is a possiblity. Use the commandline tool Netdom, this seems to have the ability to remove a computer from the domain, rename the computer, and add it back in. I saw mention that the NT4 version, which will work on 2000/XP works better for adding a PC to a workgroup, not sure if this also means Removing from a domain, but it is something to try.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: How to rename computer name under Domain - 8/6/2005 10:30:34 AM
|
|
 |
|
| |
mbouchard
Posts: 1804
Score: 12
Joined: 5/15/2003
From: USA
Status: online
|
So, renamecomputer will allow you to rename a compter while it is still on a domain? Will need to take a look at it myself.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
|
|