How do i delete DFSR folder in System Volume Information

Posted on 2018-01-13
Medium Priority
Last Modified: 2018-01-17
I tried to run command from raised command prompt:  icacls “F:\system volume information” /grant Administrators:F
I get a Invalid parameter "Volume" error
Due to a corrupted DFSR database I need to delete the DFSR folder in the system volume information folder.  I already removed the replication groups and even removed DFS role service from the file services role.
Any help would be appreciated.

Question by:RSchalhoub
LVL 43

Expert Comment

This could mean some service still uses DFSR database or just access problems...

Did you try
Rd “f:\system volume information\dfsr” /s /q”

Source: https://wfcastle33.wordpress.com/2015/09/25/recovering-from-a-massive-microsoft-dfs-failure-quickly/

You may also read this article which describes steps to fix DFSR database: https://www.brisk-it.net/when-dfs-replication-goes-wrong-and-how-to-fix-it/
Additional info is e.g. here: https://social.technet.microsoft.com/Forums/windowsserver/en-US/7599f885-e445-46db-8ead-2ab41af11206/dfs-replication-database-corruption?forum=winserverfiles
LVL 38

Expert Comment

by:Shaun Vermaak

Accepted Solution

Sabir Shaikh earned 2000 total points
To fully remove DFSR, you need to do the following:
1. Uninstall the DFSR role via Server Manager (on Win2008/R2) or Add/Remove Windows Components (Win2003):
2. Delete the folder(s) that you were replicating.
3. If using Win2008/R2, give yourself access to the hidden operating system folder “System Volume Information” on the C: drive with this command (that should be run as an elevated Admin user; if on Win2003 the Admin will already have permissions):
icacls “c:\system volume information” /grant Administrators:F
4. Repeat step 3 on any drives that had replicated folders, changing the path to that drive.
5. In that CMD prompt (don’t use Windows Explorer) you can then delete the “DFSR” folder that was left behind on those drives. That contains all the staged, pre-existing, and conflicted files in 2008/R2. It also contains the DFSR database and XML files in all versions of Windows. For example:
Rd “c:\system volume information\dfsr” /s /q
6. Repeat as needed on any other drives.
7. Done.

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Join & Write a Comment

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

579 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