rename windows2008 servers in AD

I am looking for experts recommendation to rename the servers.
Right now I have srv1 running my applications. I bought a new server and installed windows 2008 named as srv2. Both servers are on AD , same site .
I now have to rename srv2 to be as srv1 because of the drive maps and the application requires the same server name.
I have removed PCs several time and renamed them using AD users and comouters tool ,but not the servers..
Can I use “active directory users and computer” to rename the first server srv1 to srv1_old
Then rename srv2 to srv1.
I appreciate your help on this.
Who is Participating?
Thomas GrassiSystems AdministratorCommented:
That should be ok
Keep us posted
Nick RhodeIT DirectorCommented:

One of the major things you need and want to verify is the DNS records are pointing correctly after the renaming of the servers.
Thomas GrassiSystems AdministratorCommented:
Are these server Domain Controllers or member servers?
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

sara2000Author Commented:
These are file servers , not DC.
old is windows2003 the new windows2008.

Do I have to do anything with Ldp.exe or ADSI Edit?
Nick RhodeIT DirectorCommented:
Renaming them should be fine.  I typically do it from the server itself vs just renaming it through AD.
Thomas GrassiSystems AdministratorCommented:
First I would shutdown SRV1

Then remove it from AD.

Do you need SRV1 up and running? If so I would then rename it to SRVx

Once SRV1 is removed from AD Computers & Users then you can rename SRV2

Member servers a lot easier than DC's
sara2000Author Commented:
I want to rename it rather than removing it, becuase I need to copy few  folders and files.
Do I have to do it through netdom?
How do i make sure AD has not got any entries about srv1 after renaming it?
Thomas GrassiSystems AdministratorCommented:
I would copy the files with the servers running as they are now.

Do this off hours.

once the files are copied then you can shut it down delete it from AD then rename SRV2 to SRV1

Also I would suggest you keep the same ip address defined for SRV1 on the new one.

Then DNS will not need to change.

If the AD servers access SRV1 they will get errors until this server is switched.

Depends on what you do on your network.

Also drive mapping on computers will get a RED X just remap or restart computers after the change.

How many shares are we talking about here?

I would also compare the shares permissions on both before you shutdown SRV1
sara2000Author Commented:
This is what I am thinking of doing it?
1- export below reg val from srv1

2- rename the srv1 to srv1_old and chnage the IP.
3- Shut the server srv1_old
4- change the IP on the srv2 with srv1
5- Rename srv2 to srv1
6- Import the registry val
7 Reboot the server.
Any advice on this ?
Thomas GrassiSystems AdministratorCommented:
All looks good my only concerns is step 6. Import registry val

I would proceed with caution in doing that.

What registry entries are you exporting from SRV1?
sara2000Author Commented:
I am exporting the the registry val from srv1, the registry val must contains all the shared folders ?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.