Re: Computer Name Change



Bob Felton wrote:
> Windows XP Pro SP2 client. Windows 2000 domain.
>
> I am installing new (replacement) computers at a client. User
> computers are named after their user, for example "Joe". When I build
> up a new computer for a user, such as Joe, I name it "Joe1". After
> build completion and swapout with the old computer, I want to rename
> the new computer from "Joe1" to "Joe". To do this, I use the Computer
> Name applet in System Properties. First, I removed the computer from
> the domain and added it to a workgroup by the same name as the domain.
> I then changed the computer name to "Joe" using the same applet. I
> then attempted to add the computer back to the domain using the same
> applet. This failed with the following error message:
>
> ---
> Computer Name Changes
>
> The following error occurred attempting to join the domain "LAN":
>
> Multiple connections to a server or shared resource by the same user,
> using more than one user name, are not allowed. Disconnect all
> previous connections to the server or shared resource and try again.
> ---
>
> I removed all mappings (mapped drives and printers) to server
> resources that had been set up and tried again. Same result.
>
> While trying to do this I am logged into the computer as the local
> administrator, I am not logged into the domain. I am asked for server
> credentials to add the computer to the domain and then a short time
> later the error message appears.
>
> Can anyone provide guidance on what is happening and how to correct?

Why do you join the computer to the domain before swapping it out?

Anyway - why not remove the old computer from the domain, then using NETDOM,
rename the new computer to the old computer name in both active directory
and on the machine itself.. all done...

With domain admin rights on the machine in question:

netdom renamecomputer OLDNAME /newname:NEWNAME /userD:DOMAIN\DOMAINADMINNAME
/passwordD:DOMAINADMINPASSWORD /userO:DOMAIN\DOMAINADMINNAME
/passwordO:DOMAINADMINPASSWORD /force /reboot:60

That's all one line, in case it splits..

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


.



Relevant Pages

  • Re: Sharing a network folder not on the server
    ... The simple soluton is, of course, to move the shared resource to the server. ... administrator rights and on either Windows 2000 or Windows XP Pro. ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (microsoft.public.win2000.general)
  • Computer Name Change
    ... Windows XP Pro SP2 client. ... up a new computer for a user, such as Joe, I name it "Joe1". ... Multiple connections to a server or shared resource by the same user, ...
    (microsoft.public.windowsxp.general)
  • Re: Computer Name Change
    ... > Windows XP Pro SP2 client. ... > previous connections to the server or shared resource and try again. ... @ECHO The syntax for this script is: ...
    (microsoft.public.windowsxp.general)
  • Re: Folder Share
    ... Windows 2003/2000/NT ... > There were no connections to the server. ... >>> previous connectinos to the server or shared resource and try again." ...
    (microsoft.public.windows.server.general)
  • SecurityFocus Microsoft Newsletter #154
    ... MICROSOFT VULNERABILITY SUMMARY ... ISS RealSecure Server Sensor SSL Denial Of Service Vulnerabi... ... Roger Wilco Remote Server Side Buffer Overrun Vulnerability ... available for Microsoft Windows operating systems. ...
    (Focus-Microsoft)

Loading