I had a replication enable a folder which was replicating data to a server 2012 r2 but i have disbale the replication but i'm unable to delete this folder or re-enable the replication.

We had a probelm the dfs replication on a folder which we disble it to remove any data from other site but now when I re-enable to dfs i get error "server(folder): Security cannot be set on the replicated folder. access is denined"

When I try to delete the folder from server 2012 R2 i get "You required permission from admin to mkae changes to this folder"

Please find the images


UPDATE: After delete the membership i'm now able to delete the data but i got new problem now. I cant delete the connection. When I delete the connection i get following error "Server to mainserver: The dfs replication connection object cannot be deleted. the user has insuffuient access reights."

  • Explain this replication. Replicating how? With what? – joeqwerty Apr 6 '17 at 14:01
  • 1
    "It doesn't work" is not a helpful description of a problem. More details, please. Your question is unanswerable because you don't say what happens when you try to delete it or re-enable replication. – longneck Apr 6 '17 at 14:01

You don't have Permissions into the folder. Make sure in the security tab that your user has permissions.

Share Security Permissions

And also check the Shared tab permissions and make sure that your user is listed.

Share Security Permissions


Maybe is still in use by someone.

Try to disconnect all clients (reboot machine etc..) and set owner and permissions as described in other answers.

  • restart the server and also disable to dfs service – maj Apr 6 '17 at 14:42
  • You deleted all data from other side and now you cannot start service because it can't set permission on other side. Try to restore data, enable service, set permissions on both and then try to update folders – Carlo Apr 6 '17 at 14:50
  • the problme i cant delete the data, I cant do anything with replicated folder on server 2012 r2 – maj Apr 6 '17 at 14:54

After deleteing the membership from dfs management i was able to delete the files from server 2012 r2

  • Wait...so were you trying to delete the DFSRPrivate folder prior to removing the server from the DFS rep group membership? – Steve Freeman Apr 6 '17 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.