RestoreDFSR.VBS Script (Recover Conflicted or Preexisting Files)

A simple vbscript to allow recovery of DFS Replicated files that have been pushed into the ConflictAndDeleted or PreExisting folders due to misadventure. Remember, this script must be run from a CMD prompt using cscript.exe. Don't just double-click it.CSCRIPT.EXE RESTOREDFSR.VBSThe script also requires to edit three paths (your source files, a new destination path, and […]

Share online:

A simple vbscript to allow recovery of DFS Replicated files that have been pushed into the ConflictAndDeleted or PreExisting folders due to misadventure. Remember, this script must be run from a CMD prompt using cscript.exe. Don't just double-click it.

CSCRIPT.EXE RESTOREDFSR.VBS

The script also requires to edit three paths (your source files, a new destination path, and the XML manifest you are calling). If you fail to edit those the script will exit with an error.

This new version now properly detects all file and folder types, runs a bit faster, and no longer requires weird trailing backslashes. It doesn't support command-line arguments.

More Info: Download

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.