Share via


How to do a clean re-add for a domain user to local PC?

Question

Thursday, December 22, 2016 9:41 AM

I'm using a domain user in a company. I'm encountering some strange problems, such as windows store and store apps are missing, edge is missing, some applications such as NSight don't work properly. But all these stuff work fine in another local user account.

I tried to logged in with the local user account, and removed the domain user account from the PC. And I re-added it back. After I logged in with the domain user account, everything was back, problems existed.

Then I logged in with the local one. This time I removed the domain user, and renamed the user folder to another name. Then I re-added the domain user and logged in with it. System said that it couldn't log me in, and I was using a temporary account.

So is there anyone knowing how to completely re-added a domain user to a local PC?

All replies (4)

Friday, December 23, 2016 2:42 AM âś…Answered

Hi niexuchina,

We could delete the domain profile here, if there is no roaming profile configured.

Computer -> Properties -> Advanced System Settings. On the Advanced tab, choose the Settings-button under User Profiles. Delete the profile you want deleted.
Check the following registry key and look for the domain account profile. Backup it and delete it.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Try to open an administrator command line and run "Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}" to register all the store apps.

Best regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Thursday, December 22, 2016 11:29 AM

Are you using roaming profiles?  The profile will just be pulled down again next time you login, so if the issue is within the profile just deleting the computer version will not resolve the issue, you will need to delete the roaming version to.


Friday, December 23, 2016 10:10 AM

I checked. It's not roaming profile.


Friday, December 23, 2016 10:33 AM

Hi niexuchina,

We could delete the domain profile here, if there is no roaming profile configured.

Computer -> Properties -> Advanced System Settings. On the Advanced tab, choose the Settings-button under User Profiles. Delete the profile you want deleted.
Check the following registry key and look for the domain account profile. Backup it and delete it.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Try to open an administrator command line and run "Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}" to register all the store apps.

Best regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].

You did the magic!!