Fast and safe way to copy data partition onto new disk?


  1. Posts : 43
    Windows 7
       #1

    Fast and safe way to copy data partition onto new disk?


    Hello,

    To move to Windows10 safely, I need to copy my computer's ~500GB data directory (D:) onto the new drive running Windows10.

    Should I perform this by using Linux-based Clonezilla, or start Windows10 and simply copy the partition onto the free section of the new drive, possibly after having pre-created an empty D: drive?

    Thank you.

    OS Name: Microsoft Windows 7 Ultimate
    OS Version: 6.1.7601 Service Pack 1 Build 7601
    System Type: X86-based PC
      My Computer


  2. Posts : 8,111
    windows 10
       #2

    It's safer to create the partition on the new drive then use robocopy to copy data over via network using partition copy runs the risk of errors and copying over wrong partition
      My Computer


  3. Posts : 4,801
    Windows 11 Pro 64 Bit 22H2
       #3

    If not comfortable in the Command Prompt running Robocopy
    You can also select all the files on the Data drive and drag an drop or copy and paste to the new partition. Be patient, it will take a while if you have a lot of data.
    You may want to use a 3rd party app like FastCopy
    Last edited by spunk; 17 Aug 2023 at 22:06.
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #4

    Hello @spunk,

    spunk said:
    You may want to use a 3rd party app like FastCopy The Ultimate Guide to Robocopy
    Did you mean > FastCopy ?
      My Computer


  5. Posts : 4,801
    Windows 11 Pro 64 Bit 22H2
       #5

    My Bad, Paul, I have reedited my post.
      My Computer


  6. Posts : 4,187
    Windows 11 Pro, 22H2
       #6

    Maybe it's just me because I do this so often, but I find it super simple to copy everything from a partition on one drive to another. Simply do this (make sure to read the notes following the command before running):

    Scenario One - Copying the entire drive

    robocopy E:\ D:\ /mir /xd "system volume information" $recycle.bin

    In the above command, E: is the source drive that you are copying from and D: is the destination that you are copying to. Just change as needed.

    Scenario Two - Your question sounded like you wanted to copy the contents of the data drive to the actual Windows drive. In that case you could modify the command just slightly so you are copying to a folder on the Windows drive like this:

    robocopy E:\ D:\MyData /mir /xd "system volume information" $recycle.bin

    If you want to preview what the command would do so that you can see if any errors would result but without actually copying any files, just a "/L" to the end of the command.
      My Computers


  7. Posts : 43
    Windows 7
    Thread Starter
       #7

    Thanks for the infos. I'm comfortable with the CLI.

    Like the old drive, the new drive will have two partitions: C for Windows and the apps, D for the data.

    Besides reliability, I was also looking for the fastest way to copy from one drive to the other. For maximum performance, they'll be physically plugged into the computer, instead of going through the network.

    I'll read up on robocopy and FastCopy.
      My Computer


  8. Posts : 4,187
    Windows 11 Pro, 22H2
       #8

    Winfried said:
    Besides reliability, I was also looking for the fastest way to copy from one drive to the other.
    Question: Was this going to a one-time copy or were you planning to sync the one drive over to the other drive repeatedly?
      My Computers


  9. Posts : 43
    Windows 7
    Thread Starter
       #9

    One-time copy while migrating from W7 to W10.
      My Computer


  10. Posts : 43
    Windows 7
    Thread Starter
       #10

    After installing a fresh Windows 10 on the target computer (which only has a single SATA connector), moved its drive to temporary desktop computer (that has two) to copy the source's data partition (F:) to the target's data partition (D:)

    As admin, I ran:
    Code:
    robocopy.exe F:\ D:\ /e /copyall /xd $RECYCLE.BIN "System Volume Information" /LOG:robocopy.error.txt /tee
    Still on the desktop computer, I notice two issues on the D: drive: 1) directories are read-only, and 2) some require admin rights to open ("Access denied on file")

    Right-click on any off-limit folder > Properties:
    General tab: Read-only
    Security: "You must have Read permissions to view the properties of this object

    Any idea what it could be?
    ---
    Edit:

    For the read-only thing: Turns out some files on the source target were already read-only, so it doesn't look like robocopy is to blame.

    As for the access rights… Come to think of it: Since each file is told what users can perform what tasks on it… isn't it a bit naïve to think you can you just copy files into a new computer without first creating the same user accounts? It doesn't explain why some folders work fine while others require admin rights for access, though. :sarc:

    Fast and safe way to copy data partition onto new disk?-39053968-d0bc-422e-aaf4-92368e69548a.png

    - - - Updated - - -

    /COPYALL = /COPY:DATSOU, where D=Data, A=Attributes, T=Timestamps, S=Security=NTFS ACLs, O=Owner info, U=Auditing info

    Would ignoring the extra bits (SOU; I don't know what they do) solve the problem?


    Code:
    robocopy.exe F: D: /E /DCOPY:DAT /COPY:DAT /XD $RECYCLE.BIN "System Volume Information" /LOG:robocopy.error.txt /TEE
    --
    Edit: Much better. At least, I can now open a sub-folder and launch an app found within.
    Last edited by Winfried; 04 Sep 2023 at 07:44.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:50.
Find Us




Windows 10 Forums