?
Solved

how do i remove dfs?

Posted on 2008-11-16
13
Medium Priority
?
2,585 Views
Last Modified: 2012-05-05
I use 2 servers as DC , dhcp, dns and file server. There is also a dfs root named DFS between those 2 servers that map 3 folders(eg. FILES, COMMON, PROFILES). there is a replication between those 2 servers through dfs.
I want to stop using dfs due to some problems in administering it. The server-2 is out of network for many days now and only the server-1 works. I want to disable dfs so the server-1 to be used as file server directly and not through dfs. After that i will use the server-2 as backup server or something else.Is this possible? how can i do it??
0
Comment
Question by:straemm
  • 7
  • 6
13 Comments
 
LVL 3

Expert Comment

by:tibble2
ID: 22971494
DFS configuration information is stored in the registry, and possibly in the Active Directory.

The procedure for deleting DFS configuration information is different for Fault-Tolerant DFS Roots versus Stand-Alone DFS Roots and Windows 2000 Cluster Servers.

Fault-Tolerant DFS Roots
1. Open a CMD prompt and type net stop dfs.

2. Use Regedt32 to navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DfsHost.

3. Delete the Volumes key and any sub-keys.

4. Navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DfsDriver\LocalVolumes

5. Delete all the sub-keys, but NOT the LocalVolumes key.

6. Open Active Directory Users and Computers.

7. On the View menu, press Advanced Features.

8. Open the DFS-Configuration container in the System object. Delete the DFS root in the right-hand pane.

9. Open a CMD prompt and type net start dfs.

0
 
LVL 3

Expert Comment

by:tibble2
ID: 22971498
Stand-Alone DFS Roots and Windows 2000 Cluster Servers
1. Open a CMD prompt and type net stop dfs.

2. Use Regedt32 to navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DfsHost.

3. Delete the Volumes key and any sub-keys.

4. Navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DfsDriver\LocalVolumes

5. Delete all the sub-keys, but NOT the LocalVolumes key.

6. Open a CMD prompt and type net start dfs.

0
 

Author Comment

by:straemm
ID: 22971616
thank you for the answer!
but i use windows server 2003 and no 2000..
If i use this way the shared folders will be available to users??
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 3

Accepted Solution

by:
tibble2 earned 2000 total points
ID: 22971723
Hi,

Here is an alternative  for 2003:

Use the following procedure to decommission a root server:
1.
Remove the root server from the DFS namespace by using one of the following methods:"
In the Distributed File System snap-in, right-click the root target you want to remove, and then click Remove Target."
Using the version of Dfsutil.exe included in the Windows Server 2003 Support Tools, run the following command, where RootTargetServer refers to the root server to be decommissioned:
Dfsutil /UnmapFtRoot /Root:<DFSName> /Server:RootTargetServer /Share:<Share>
2.
On the decommissioned root target, remove DFS information from the registry by using the following Dfsutil.exe command:
Dfsutil /Clean /Server:RootTargetServer /Share:<RootName>
3.
On the decommissioned root target, at the command prompt, type net stop dfs & net start dfs.After you remove a root target, DFS stops giving referrals to the decommissioned server within 15 minutes of the update to the DFS Active Directory object on the local domain controller from the PDC emulator master.

You need to make sure you delete the shares from server 2 as this will lead to out of sync data.
0
 

Author Comment

by:straemm
ID: 22972255
thank you for the answer...
Does it matter which one of the 2 server is the master?? I mean i must do the above mentioned procedure in server-1?
How is it possible to delete the shares in server-2?
Sorry to ask but i am totally inexperienced in dfs.
I don't want to lose the shared folders for the users not even te user rights..
Right now users can access the shares through "server name\dfs\....."
And i just want users to have access through "server name\..."
Will it be possible after the above actions???
 
0
 
LVL 3

Expert Comment

by:tibble2
ID: 22973100
Hi,

you have replication set up correct? this means there will be a copy of the shares on both servers and so you will need to remove on set. At present users acess shares via objects created in active directory. Breaking the DFS conneciton won't delete the shares but it will mean that all users will need to map drives using the standard UNC \\xxx\xx\xx and so on. It is alwasy advisable to doccument permisions and back up the data when make changes such as this on a live environment incase something does go wrong. You should be placing users into groups and then giving the group access to the folder under permissions tab. This will make life alot easier.

cheers


0
 

Author Comment

by:straemm
ID: 22973813
thank you again for the answer.
The users already see 2 shortcuts and 1 map drive that are created in default user in sysvol..
If i change the shortcuts and map drive i should do this in default user also?
If i do this will the existing user use the new correct shortcuts and map drive???
 
0
 

Author Comment

by:straemm
ID: 23033660
Anyone to help me???
0
 
LVL 3

Expert Comment

by:tibble2
ID: 23040075
Hi,

I am a little confused about your last question. The default user is used to make new accounts and so shouldnt be an issue for currently existing users. Adding mappings to a drive is a manual event unless you use say a logon script deployed by active directory GPO. This is the reason for the existence. If you are unsure I would suggest trying this out on a test environment first to see the effects. Also make sure to back up ure data.
0
 

Author Comment

by:straemm
ID: 23041229
thank you for the answer.
So the Default User is only for newly created users and i must create the new shortcuts in login script. That is right??
How is it possible to create desktop shortcuts for users???
0
 
LVL 3

Expert Comment

by:tibble2
ID: 23042345
place short cuts in the all users folder.
0
 

Author Comment

by:straemm
ID: 23049078
Where in server??
After i searched a lot, i found that my problem has to do with FRS (file replication system) between the 2 servers.( 3 folders in each server). I think that this is my problem..
Now if i turned off dfs, the rfs also is going to be turned off?? I mean only for theese folders not for sysvol or anything else that is crucial for servers to work...
0
 

Author Comment

by:straemm
ID: 23195540
Hello again
recently i found that server is part of a cluster and i don't know what that is....
I am thinking of formatting it and setting up again....
I don't know what to do....
How is it possible to make sure that it is part of cluster and what is this???
sorry to bother you but i am very anxious about it!!

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

616 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question