Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9663

Robocopy loops/nests "Application Data" 29 times when copying "Application Data" folder on Windows 10

$
0
0

My goal here is to be able to back up my entire computer by using robocopy. My robocopy script keeps getting stuck here as you can see with the Application Data.

C:\Documents and Settings\All Users\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Microsoft\Provisioning

Each time it copies, it adds another "Application Data" to the nesting. At first, it started with 1 Application Data, and then 29 Application Data you can see above. It stops at 29 Application Data and doesn't go further.enter image description here

Here is my robocopy command:

robocopy C:\ "F:\Backup Full" /mir /xd "C:\windows""C:\$Recycle.Bin""C:\Documents and Settings\Administrator\AppData\Local\Application Data""C:\Documents and Settings\Administrator\Local Settings\Application Data" /w:0 /r:0 /A-:SH

I added a few exclusions with "/xd" where it contained "Application Data", but it doesn't seem to be enough so far. Seems like I have to exclude every single place that can have the cursed "Application Data".

I notice that when I try to open the "Application Data" folders on my computer manually, I can't because I get "Location is not available""C:\Documents and Settings is not accessible.""Access is denied."enter image description hereI went to the properties of the "Documents and Settings" folder and checked the security tab and saw that admins have full control, so I should be able to open it since I'm an admin, but that does not appear to be the case.enter image description here


Viewing all articles
Browse latest Browse all 9663

Trending Articles