Redirect a decommission server share to another server.

Hi,

Our users have a shortcut on their desktops which point to \\server1\share.  We have plan to decommission server1 and use server2 for replacement.

The share folder is created on server2 which hold the same data.  I tried to create a DNS cname for server1 to point to server2 but when I try to map \\server1\share, it does not point to \\server2\share.

Please advise if you have an idea of getting this done.  

Thanks in advance.
nav2567Asked:
Who is Participating?
 
QlemoConnect With a Mentor Batchelor, Developer and EE Topic AdvisorCommented:
If you really want to fake server1 shares, you'll need to "get rid" of the proper NetBIOS name resolution of server1 in addition to the DNS fake.
If you are using WINS, which isn't likely, change the entry there for server1 (and prevent server1 from overwriting it).
Else you might have to create an corresponding lmhosts entry on each PC.

Why isn't changing the shortcuts an option?
0
 
Will SzymkowskiConnect With a Mentor Senior Solution ArchitectCommented:
File Shares are registry entries and it is based on a per server basis. When you create a new server with a new name you need to create new shares. If you are looking to decommission the server1 you could then rename server2 to server1 and this will resolve your issue. If you do not plan to do this you can always script using powershell to change all of the shortcuts. Changing the share or renaming the server would be the easiest route.

Will.
0
 
SandeshdubeyConnect With a Mentor Senior Server EngineerCommented:
You can delete old shutcut and create a new one:http://technet.microsoft.com/en-us/library/cc753580.aspx

You can also use script to perfrom the same.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
nav2567Author Commented:
Both replacing shortcut and renaming the new server are not an option in our case. We have to see if there is a third option.
0
 
MaheshArchitectCommented:
If you could try replacing Host (A) record named server1 with IP address of server2,
Then it should work
0
 
Will SzymkowskiConnect With a Mentor Senior Solution ArchitectCommented:
As I have stated in my first post Shares are server specific. You either need to change the name of server2 to server1 or re-create the shortcuts.

Will.
0
 
Pramod UbheConnect With a Mentor Commented:
Here is the detailed steps -

transfer data from server1 to server2
power down server1
delete host A record of server1
create a Cname server1 pointing to server2
on a computer run ipconfig /flushdns and test if you can access \\server1\share

I have done this several times and just work fine; you may have to create some SPNs or edit reg as per this - http://support.microsoft.com/kb/281308
0
 
nav2567Author Commented:
I tried the DNS approach but it did not work.  I have no choice but to rename the server.

Thanks everyone.
0
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.