How do i delete DFSR folder in System Volume Information

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.

Steve
RSchalhoubAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pcelbaCommented:
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
0
Shaun VermaakTechnical Specialist IVCommented:
0
Sabir ShaikhCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Distributed File System Replication (DFSR)

From novice to tech pro — start learning today.