Hello Muzzamiluddin Mohammed,
Thank you for posting on the Microsoft Community Forum.
Based on your description, the issue may be caused by the registry key of the user profile not being updated correctly. You can try the following steps:
- Log in to the user's computer and open the registry editor.
- Navigate to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
Please note that before modifying the registry, please back up the registry for restoration.
- Under ProfileList, find the SID of the user and click on it. In the right pane, double-click ProfileImagePath and change its value to the new name of the user profile folder, for example, C:\Users\newusername.
- Close the registry editor and restart the computer to log the user in again.
You can also refer to this link: Renaming user account doesn't change profile path - Windows Client | Microsoft Learn
If it does not work above, please tell us how did you rename user profile in AD?
I hope you the information above is helpful.
If you have any questions or concerns, please do not hesitate to let us know.
Best Regards,
Daisy Zhou