Restore-DfsrPreservedFiles Access Denied

K

KJJAP

Hello,

I'm attempting to restore some files DFS moved as PreExisting using:

Restore-DfsrPreservedFiles -Path "D:\Users\DfsrPrivate\PreExistingManifest.xml" –RestoreToOrigin

but I'm getting the following error:

Restore-DfsrPreservedFiles : Access to the path
'D:\Users\DfsrPrivate\PreExisting\Desktop-{567731Ef-7225-4131-B997-276B2790B33A}-v56451' is denied.
At Line:1 char:1

I'm logged in under a Domain Admin account which I've given full control and set as the owner to the DfsrPrivate folder and subcontainers, and I'm running Powershell as admin. I'm able to access DfsrPrivate via explorer (but only if I run explorer as admin) and UNC path.

I've seen other threads on this but nothing suggesting what I haven't tried. It's too many files to restore manually so I'm at a loss here.

Thanks for any advice!

Continue reading...
 
Back
Top Bottom