Turn off DFS Replication completely

dfswindows-server-2008-r2windows-server-2012

I have an environment where there is a fileserver (physical) and a DC (virtual) with DFS replication setup by a previous tech. I've never worked with DFS before.

There is about 1TB of data being replicated to a 2nd drive on the DC. I'd like to stop all replication completely to the DC. But I don't know how to do this safely. I'm assuming/hoping this can be done without any impact to the fileserver, not having to kick users off, turn it off, reboot, etc. as that takes days to coordinate in this situation.

When I look in DFS Management on the DC, I see 1 namespace and 2 replication entries. One for the fileserver shares – dfs-rep, and one for the Domain System Volume.

The end result I'm looking for is the fileserver having all the data and the DC just being a DC. Nobody accesses the data from the DC, it was implemented as a "backup". So I'd like to delete that entire drive, without obviously loosing anything on the actual file server.

Fileserver is 2008 R2, DC is 2012 Standard.

Does anyone know the procedure for doing this?

Best Answer

Remove-DfsrMember

The Remove-DfsrMember cmdlet removes member computers from a replication group. Members of a replication group host replicated folders. If you remove a member from its replication group, Distributed File System (DFS) Replication stops replication on that member. This cmdlet does not delete the contents of replicated folders or their private data.

And in case you don't have that cmdlet, as it's a relatively recent addition, the point is, yeah, just remove the DC from the replication group using the DFS management mmc snap-in. Needless to say, don't do anything to the replication group named "Domain System Volume" - that's sysvol.