Restore a Windows user profile to a new PC

Use the restore wizard in S.A.K. Utility to copy a backed up profile onto a PC, choose which account gets the files, and bring back apps and network settings.

To restore a Windows user profile from a backup, use the restore wizard in S.A.K. Utility: open the Backup and Restore tab, click Start Restore Wizard..., and pick the backup folder. You choose which account gets each person's files, how to handle files that already exist, and whether to bring back application data, apps, Wi-Fi networks, and network adapter settings. It works with backups made by the backup wizard.

When to use this

Use this after you reinstall Windows, when you set someone up on a new PC, or when you want to merge one person's files into another account.

What you need

  • The backup folder, the one with manifest.json inside it, on a drive connected to this PC.
  • The password, if the backup is encrypted.
  • Administrator rights, unless you are only restoring files into your own account. They are needed to write into another person's profile, create a new folder under C:\Users, restore Wi-Fi and network adapter settings, and reinstall apps. Click Run as Admin in the status bar first. The wizard offers to restart as administrator on its last step if you forget, but that restart loses your place.
  • The account already set up. Create the person's Windows account and sign in once, so Windows makes their profile. The wizard can only pick accounts that have a profile.
  • Programs closed, if you are bringing back application data. A browser that is running keeps its files locked.
  • An internet connection, if you want to reinstall apps.

Steps

  1. Open the Backup and Restore tab.
  2. Click Start Restore Wizard....
  3. On Restore User Profiles, click Browse... and choose the backup folder.
  4. Check that it says Valid Backup Found, then click Next >.
The Restore User Profiles page with a backup folder chosen and its version, date, source machine, users, and total size shown
Pick the backup and check its details
  1. On Map Users, click Auto-Map by Username to match accounts with the same name.
  2. For any other row, choose an account under Destination User.
  3. Check Merge Mode for each row, explained below. Picking an account sets it to Merge Into Destination.
  4. Click Next >.
The Map Users page with a table pairing each user in the backup with a destination user and a merge mode
Choose who gets each person's files
  1. On Select Folders, untick any folder you do not want, then click Next >.
The Select Folders page listing each backed up folder with its user, size, and file count
Choose the folders to bring back
  1. On Restore Application Data, untick anything you do not want to bring back, then click Next >. Outlook Archives (PST) and Outlook Cache (OST) are listed apart when the backup holds both.
The Restore Application Data page with a tree of app data items and their sizes, all ticked
App data stored in the backup
  1. On Restore Applications, tick the apps you want, click Install Selected Apps, and wait. To skip this, click Next > without installing. Apps the backup recognized are already ticked, and each shows its Chocolatey package. Install Selected Apps offers to restart as administrator if needed, and that restart loses your place in the wizard. If two rows name the same package, it installs once.
  2. Click Next >.
The Restore Applications page listing apps from the backup with their matching Chocolatey packages
Reinstall apps through Chocolatey
  1. On Restore Wi-Fi Networks, untick any network you do not want, then click Next >.
The Restore Wi-Fi Networks page with its Network Name (SSID) and Security Type table empty, saying This backup has no saved Wi-Fi profiles
A backup with saved networks lists them here, all ticked
  1. On Restore Network Adapter Settings, untick any adapter you do not want changed, then click Next >.
The Restore Network Adapter Settings page with a table of adapters and their IP settings
Adapter settings to apply
  1. On Review and Start Restore, choose a Permission Mode: and a Conflict Resolution:, then read the list headed This restore will:.
The Review and Start Restore page with permission mode, conflict resolution, two tick boxes, a summary of what the restore will do, and a Start Restore button
The last step before anything changes

Nothing changes until you click Start Restore, and it is the last step. Once it starts there is no going back through the wizard. Cancel Restore stops at the next file, and files already restored stay.

  1. Click Start Restore.
  2. If the wizard asks for administrator rights, or to close a program, answer it. Choosing No or Cancel keeps you on this page with nothing changed.
  3. If the backup is encrypted, type the password and click OK. A wrong password is refused here, before anything changes.
  4. Wait for the result. Restore completed successfully! means every step worked. Restore finished with problems means the restore ran to its end but some items were not restored or applied; the line says how many, and the summary in the log names each file error and each network setting that was not applied. Restore Stopped means it stopped part way, because you cancelled it or the backup could not be read.
  5. Click View Full Log if you want to read or save the details.
  6. Click Finish.
The finished restore page titled Restore Finished with Problems, with full progress bars, Done, and an operation log whose warnings name the files that could not be restored
A restore that ran to its end but could not restore some files

How it works

First the wizard checks the backup against the fingerprints saved in manifest.json. If the files have changed since the backup was made, it refuses to restore them. Then it copies the chosen folders and application data into each person's profile, and applies the Wi-Fi and network adapter settings last.

Merge Mode

  • Merge Into Destination follows Conflict Resolution: for any file that is already there.
  • Replace Destination overwrites any file that is already there, whatever Conflict Resolution: says.
  • New Folder Only makes a folder under C:\Users with the name you see, and refuses if that folder exists. It does not create a Windows account.

Neither Merge Into Destination nor Replace Destination removes a file the backup does not have.

If a file already exists

Conflict Resolution: on the last page decides what happens under Merge Into Destination:

  • Rename with Suffix is the default. It keeps both, and the restored file gets a new name, such as report_backup1.docx.
  • Skip Duplicate keeps the file already there.
  • Keep Newer replaces the file only if the backup's copy is newer.
  • Keep Larger replaces the file only if the backup's copy is larger.

A replaced file is moved aside first and put back if the new copy fails its checks. Tick Create backup of existing files before overwriting to also keep a copy ending in .sakbak.

Application data

Application data always replaces what is there, because a program's files only work together. A browser would ignore a renamed Bookmarks file, and the restore would look like it did nothing. Each file it replaces is kept beside the new one, with .sakbak on the end of its name.

File permissions

Windows keeps a list of who may open each file. Permission Mode: decides what happens to those lists:

  • Strip All ACLs (Safest) clears them, so each file takes the permissions of the folder it lands in.
  • Assign to Destination User makes the destination account the owner. It needs administrator rights and a real account, so the wizard refuses it for New Folder Only.
  • Preserve Original leaves them alone, which can cause access problems when the accounts differ.

Verification

Verify file integrity after restore compares each restored file with what the backup holds, including files in a compressed or encrypted backup. If a file does not match, it counts as an error, and whatever was there before goes back in place.

Good to know

Saved browser passwords usually do not come back. Windows protects them for the original account on the original PC, so they usually will not open anywhere else. Bookmarks, history, extensions, and settings do come back. Sign in again, and export passwords from the browser before you back up.

  • "New Folder Only" is not an account. For someone who will sign in on this PC, create their account first and map to it. If you sign in with a new account later, Windows makes its own profile folder and does not use this one.
  • Reinstalling apps. Only apps with a Chocolatey match can be ticked. The rest show (no match), including Store apps, and you install those yourself. A backup made by an older version shows (no match) for everything. Program settings and licenses are not restored by this step.
  • Older backups and app data. A backup made by an older version recorded your application data choices without copying the files. The page says so, and offers nothing to restore.
  • Network adapter changes can cut you off. A saved fixed IP address is applied to the adapter with the same name. If no adapter has that name, that item is not applied, the log gives Windows' reason, and the wizard reports Restore finished with problems. Files already restored stay in place.
  • Wi-Fi passwords. On a different PC you may need to type a network's password again the first time you join.
  • Do not edit a backup. Adding or changing files in a person's backup folder makes the fingerprint check fail, and the restore refuses to run.
  • Backups with no fingerprint. A very old backup with no fingerprint in its manifest can still restore files, but the app data, Wi-Fi, and network adapter pages stay disabled.
  • One run per wizard. To restore again, finish and start a new wizard.