Replace data drive
What is the best approach to replacing a drive (D: in my case) that I use for all my data:documents, images, video, Dropbox with another drive?
I have already installed and partitioned the new drive. Since all the programs point to the current D: drive, I will presumably have to change the new drive To D: while changing the old drive to some other letter. So, is it okay to copy all the files from new to old drive and then quickly switch the drive letter designations?
Thanks,
Jeff


- Se connecter pour poster des commentaires

Hi Steve,
It copies a few files and then I get this:
2019/10/23 05:52:29 ERROR 5 (0x00000005) Accessing Destination Directory k:\$RECYCLE.BIN\S-1-5-18\
Access is denied.
It keeps retrying. I rebooted to stop the retry. I see in the example page I could limit the retries.
Jeff
- Se connecter pour poster des commentaires

Jeff, are you running robocopy from an Administrator level command prompt, if not, please try doing so.
If that still has a problem with the recycle bin, then modify the command
robocopy d:\ k:\ /mir /xd $RECYCLE.BIN
you may also want to exclude the System Volume Information folders if present
robocopy d:\ k:\ /mir /xd $RECYCLE.BIN "System Volume Information"
- Se connecter pour poster des commentaires

Depending on how many folders are in your root folder, try copying just those folders rather than using just D: as the source. That way, all the mystery stuff is skipped.
- Se connecter pour poster des commentaires

Hi Steve,
Yeah, running CMD.exe as administrator did the trick. I did add /r:4 just in case it did not work and would keep trying. However, it was not necessary.
Thanks,
Jeff
- Se connecter pour poster des commentaires

Jeff, glad to hear, thanks for the feedback.
- Se connecter pour poster des commentaires