Windows 7: Migrate user profile to another computer manually

15

11

Here is simple task I'm trying to achieve:

I need to migrate user profile from old PC to new PC.

What I got:

  • Hard drive from old Windows 7 PC
  • New Windows 7 PC

I can't use Windows Easy Transfer because old PC is gone.

What I've done (on new PC):

  • Created new_user account
  • Logged in as new_user to initialize profile
  • Rebooted
  • Logged in as Administrator and copied profile from old PC's hard drive to C:\Users\old_profile
  • Changed permissions of C:\Users\old_profile: Added new_user account with Full Access
  • Changed new_user's ProfileImagePath key in registry: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList] to C:\Users\old_profile
  • Loaded hive C:\Users\old_profile\ntuser.dat and added new_user account with Full Access
  • Rebooted
  • Logged in as new_user

From the first look things were in place, but when I click any document on the Desktop - it prompts "File not found / Invalid location". When I try to click Start->Computer it prompts "explorer.exe Access Denied". EDIT: I can read and run any file from Task Manager, except for explorer.exe

An old PC had only C: drive and all files were kept only under profile directory.

Did I forget something?

Thanks.

Alex G

Posted 2013-10-16T10:09:48.890

Reputation: 909

Where does this C:\Users\old_profile\ntuser.dat file come from? I don't have one. – Merchako – 2017-06-16T08:55:51.807

Answers

19

Solution is 1 extra step:

Load hive C:\Users\old_profile\AppData\Local\Microsoft\Windows\UsrClass.dat and add new_user account with Full Access permissions.

As the result: User Profile is migrated exactly like it was on the old computer. Without any utilities used. =)

UPDATE (after 4 years): I started using a free tool User Profile Manager (not User Profile Wizard!) from ForensiT. It really does everything mentioned above in couple clicks.

Alex G

Posted 2013-10-16T10:09:48.890

Reputation: 909

What do you mean "Load hive"? – marklark – 2015-01-05T19:34:41.890

12marklark: Google how to load hive. – Alex G – 2015-01-06T02:00:36.120

1

results from Google: http://technet.microsoft.com/en-us/library/cc732157.aspx

– marklark – 2015-01-06T18:14:09.690

Yep. This is the one you need. – Alex G – 2015-01-07T05:30:52.723

1Has anyone gotten this to work on Windows 10? I've tried two times; the first time I copied the old profile with Explorer (with several permission errors which I ignored) and also changed the permissions with Explorer; the second time I restored the profile with the Windows 7 Backup utility (so no permission errors) and changed the permissions by replacing the old SID with SetACL. Both times the Start menu wouldn't open after I logged in with the restored account. – Martin von Wittich – 2015-11-06T14:30:32.067

1Clicking on the Start menu caused the following message in the Application event log: Apps 5973: Activation of app Microsoft.Windows.Cortana_cw5n1h2txyewy!CortanaUI failed with error: Invalid value for registry See the Microsoft-Windows-TWinUI/Operational log for additional information. – Martin von Wittich – 2015-11-06T14:37:57.367

Hi, I'm trying the user profile manager tool you suggested. But I don't see how you can get it to list profiles that exist on an external drive, as is the use case described by the OP. It only lets you copy profiles that the local installation of Windows is already aware of. – kLy – 2017-07-05T07:28:44.363

@kLy: You first need to copy profile directory from external hard drive to C:\Users\ (or C:\Documents and Settings\), then User Profile Manager will show it in the list. – Alex G – 2017-07-05T14:07:48.920

@AlexG can you provide some specific steps for User Profile Manager? I've copied E:\Users\Sharon to C:\Users\Sharon. I have not yet created an account for her. Should I? If so, should I also log in? I'd like to have the names match, namely the user is Sharon so her data is in C:\Users\Sharon, not Sharon-1 or something. – Zonker.in.Geneva – 2018-01-21T12:23:27.743

0

I used Zinstall for this kind of job, although was transferring from a live old computer, not from a drive (tutorial here in case it helps: http://www.zinstall.com/how-to/how-to-migrate-user-profile-to-new-domain-windows-10-windows-7). In the past, I did use it for a drive transfer, so that should work as well.

Regarding the Windows 10 issue with Start menu not opening after the transfer, here is how to solve it:

  1. Log off completely from the damaged user, and then log on as a different user (e.g. admin)
  2. Delete everything from

C:\Users\ problematic user name \AppData\Local\TileDataLayer\Database\

  1. Restart

The start menu will now open.

Barakando

Posted 2013-10-16T10:09:48.890

Reputation: 27