Software & OS

How to Transfer Data to a New Computer (Windows 10 and 11)

To transfer data to a new computer running Windows, back up your folders with Windows Backup (which syncs them to OneDrive) and sign in with the same Microsoft account during setup on the new PC, or copy your folders to an external drive and copy them back. Microsoft's old direct PC-to-PC transfer is gone, so these two routes are what remains.

Which one to pick depends on how much data you have and whether you want a Microsoft account involved. The sections below cover both, plus what neither route moves, so you don't wipe the old PC too early.

Which method should you use?

MethodNeedsGood forLimit
Windows Backup and OneDrivePersonal Microsoft account, internetDocuments, photos, settings, Wi-Fi networks5 GB free OneDrive storage; no work or school accounts
External driveA drive larger than your dataLarge libraries, local accounts, no cloudManual; settings and apps are not carried over
robocopy to a driveCommand line, a driveExact, logged copies of chosen foldersYou pick every folder yourself

Direct PC-to-PC transfer has been removed

Older guides tell you to pair two PCs on the same network with a one-time code. Microsoft's page for that feature now says "This feature is no longer available" and recommends Windows Backup and Restore instead. If you follow an old tutorial and the option is missing in the Windows Backup app, that is why. Nothing is wrong with your PC.

Method 1: Windows Backup and OneDrive

This is the route Microsoft recommends. You back up on the old PC, then restore during the new PC's first-run setup.

On the old PC

  1. Sign in with a Microsoft account. Go to Settings > Accounts > Your info. If you use a local account, select Sign in with a Microsoft account instead.
  2. Open Windows Backup from the Start menu.
  3. Expand Folders and turn on the ones you want: Desktop, Documents, Pictures, Videos and Music. These sync to OneDrive.
  4. Expand each settings item you want and turn it on, then select Back up. The options are installed apps, accessibility, accounts, Wi-Fi networks and passwords, personalization (wallpaper, colour, theme, Start layout), language preferences and dictionary, and other Windows settings.
  5. Check the status in Windows Backup or under Settings > Accounts > Windows backup. Settings that are already backed up show as "Backed up", and their toggles are unavailable.

If OneDrive shows an error, you may be signed out, out of storage, or hitting another OneDrive problem. Fix that first, because the folder backup depends on it. Our guide to turning on OneDrive folder backup covers the sign-in and folder steps in more detail.

On the new PC

During first-run setup, sign in with the same Microsoft account. Windows offers to restore a backup. If several PCs have backups, choose More options to pick the right one. After setup, your pinned apps appear: Microsoft Store apps install when you select the pin, and other apps send you to a web download. Your folders come back through OneDrive, and you can also get files at any time by signing in to OneDrive with the same account.

Method 2: Copy to an external drive

An external drive needs no account and no internet, and it handles libraries larger than OneDrive's free 5 GB. The cost is that you choose the folders yourself and set up the apps again.

  1. Plug in a drive with more free space than the total size of the folders you are moving.
  2. In File Explorer, open C:\Users\<your name> and copy these folders to the drive: Desktop, Documents, Downloads, Pictures, Videos, Music.
  3. Look beyond the standard folders. Check for a separate data drive, game save folders, and anything you stored directly in C:\.
  4. Eject the drive from the taskbar, plug it into the new PC and copy the folders into the new profile.

If you need a full backup routine rather than a one-off move, see backing up files to an external hard drive.

Method 3: robocopy for a logged, repeatable copy

File Explorer shows a dialog if a file fails, but it doesn't leave a record. robocopy is built into Windows and writes a log. The syntax is robocopy <source> <destination> [<file>[ ...]] [<options>]. Run this in Command Prompt, replacing the user name and drive letter (E: here is the external drive):

robocopy C:\Users\alex\Documents E:\Transfer\Documents /E /R:2 /W:5 /LOG:E:\Transfer\documents.log

What the options do, according to Microsoft's documentation:

  • /E copies subdirectories, including empty ones.
  • /R:2 retries a failed file twice. The default is 1,000,000 retries, which can make a copy appear to hang on one locked file.
  • /W:5 waits 5 seconds between retries. The default is 30 seconds.
  • /LOG:<file> writes the status output to a log file, overwriting an existing one.

By default robocopy copies file data, attributes and time stamps (/COPY:DAT), which is what you want for personal files. Repeat the command for each folder. To preview a copy without writing anything, add /L.

Avoid /MIR for a transfer. It mirrors the source and deletes files in the destination that aren't in the source, so a mistyped destination path can remove data you wanted to keep.

After each run, check the exit code with echo %ERRORLEVEL%. Microsoft documents 1 as "All files were copied successfully" and 0 as "No files were copied" with no failure, usually because the files already exist in the destination. Any value of 8 or higher means at least one failure, so open the log and search for ERROR before you trust the copy.

What none of these methods moves

  • Installed programs. Windows Backup restores app pins, not the apps. Plan to reinstall everything, and note down licence keys or sign-in details first.
  • Browser data. Microsoft Edge preferences are not part of Windows Backup. Sign in to Edge on both PCs and turn on sync. For other browsers, use their own sync or export features.
  • Saved passwords outside Windows Backup. Passwords in a password manager come back by signing in to that manager.
  • Files in hidden or protected locations. Application data, email archives (such as local .pst files) and game saves often live outside your standard folders. Search for them before you wipe the old PC.
  • Encrypted drives. Make sure you can unlock a BitLocker drive on the new PC, or decrypt it first, so you can read the data you copy.

Check before you wipe the old PC

  1. Open a handful of files on the new PC from each folder you moved, including large ones and some old ones.
  2. Compare folder sizes: in File Explorer, select a folder, then Properties, on both PCs. They should be close.
  3. Keep the old PC, or a copy of its data, for a few weeks. Keeping a second copy is the point of the 3-2-1 backup rule, and a PC migration is exactly when it pays off.

Windows 10 support ended on October 14, 2025, and Microsoft's Windows Backup page notes that the Windows 10 steps use slightly different menu names, such as "Back up files" and "Get quick access to apps on Windows device". The Windows 11 steps above are the ones to follow on a new PC.

If the transfer fails

  • The restore option never appears during setup. Confirm you signed in with the same personal Microsoft account that made the backup. Work or school accounts don't support Windows Backup.
  • The folder backup stalls. Open OneDrive and look at the error. Common causes are being signed out and running out of storage.
  • robocopy exits with 8 or higher. Read the log for ERROR lines. The log names each file that failed and the reason.
  • The drive doesn't have enough room. Copy the largest folders first, or move video and photo libraries to a bigger drive.

Frequently asked questions

Is there still a way to transfer files directly from one PC to another over Wi-Fi?
Not through Windows Backup. Microsoft's page on transferring files and settings to a new PC says the direct PC-to-PC transfer feature is no longer available and points to Windows Backup and Restore instead. An external drive or a copy over your own network share still works.
Does Windows Backup transfer my installed programs?
Not the programs themselves. It can remember your apps and, on the new PC, restore their pins. Microsoft Store apps can be installed from the pin, and other apps link you to a web download, so you reinstall them and then sign in again.
Do I need a Microsoft account to transfer data to a new computer?
Windows Backup needs a personal Microsoft account. Microsoft says work or school accounts don't work with it. If you use a local account, a drive copy with robocopy or File Explorer needs no account at all.
How much OneDrive storage do I need?
A free Microsoft account includes 5 GB of OneDrive storage, according to Microsoft. If your Desktop, Documents, Pictures, Videos and Music folders together are larger than your quota, the folder backup can't hold everything, so buy more storage or use an external drive.

Sources