If you are joining to Active Directory computers that are already in use by users you need to migrate their profiles from local to a domain. The same thing happens when you migrate such a computer from one domain to another. Of course, the user may still their local accounts but this is quite pointless.
Join computer to new domain and restart it
Login in on old local account
Grant full permissions on your home folder, such as C:\USERS\testuser, keep in mind to check the option to replicate permissions to all child objects. Don’t worry about not
After this open Regedit
Right-click on HKEY_CURRENT_USER and select permissions
In new window click Advanced, then Add, and then type in DOMAIN ACCOUNT NAME. You may need to provide domain admin credentials to query AD.
Select the user, then checks the following options:
B- Full Control
C- DO NOT SELECT THE LAST CHECKBOX – apply these permissions to objects and/or containers within this container only
Click OK, then OK, then OK
Wait till finish and restart computer
Login into the domain account, this will local profile, store SID information in registry etc.
Logout from domain profile, restart and login to local admin account
Open registry, navigate to HKLM\Software\Microsoft\Windows_NT\CurrentVersion\Profile List
Find the one, with local path to profile in key: ProfileImagePath, copy value of this key, eg. C:\Users\test.local
Find the other one with newly created profile path, eg. C:\Users\test.user.domain
Replace value of ProfileImagePath from old profile, eg. C:\Users\test.user.domain with C:\Users\test.local
Double check permissions for folders, check value of the keys.
If everything is ok, reboot computer and try to login to new domain profile. You should be welcomed with old desktop and settings.
One thing to remember, all outlook passwords need to be re-entered since credentials storage is wiped.