Thursday, March 11, 2010

Migrate user profile from one domain to another

Here is an easy way to do this (tried and tested)

Make a note of the profile that you want to keep (ie c:\documents and settings\profileyouwanttokeep)

Join them to the domain
Log them in under their domain account then log off
Log on as Administrator (of the domain) and add the domain user to the local administrators group.

Go into Regedit and go to;-

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

an you will see a lot of keys starting with S-1-5- etc.

If you browse through them you will dind these are the profiles stored on the PC.
Look for the the 'Profileimagepath' line and find the one with the profile you want to keep. Copy the entry and paste it over the new domain users account in the same field (ie c:\documents and settings\newdomainuser.domain)

Log off and log back on as the the new domain user and you will have all the same settings desktop etc.

All you are doing basically is tricking the computer to use the original profile. The domain user MUST have the permissions set though.

No comments: