- Logon to the machine with a machine administrator account (assuming this issue is with a domain account, if not logon to the machine using another account with administrative privilege).
- Move the machine to a workgroup from domain. (If it was part of one workgroup then change it to another one or join a domain.) You could do this through Control Panel\System and Security\System and then Change Settings.
- Restart the machine and logon with a machine administrator account.
- Delete your user profile data (or move it a different location) completely from c:\users. “C” in my case is system directory but if you have a different one then use that one.
- Join the machine back to domain account (or to workgroup that the machine was originally joined to), and restart the machine.
- Logon with your domain account that you were having trouble with. Keep fingers crossed.
- If all goes well, you should be logged on.
Case select you will be logged on with a temporary user profile:
- Login with Administrator account on the local machine.
- Open Regedit.
- Navigate to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
- There should be a multitude of Registry keys inside the ProfileList and search for two identical ones which are differentiated by the .bak extension (e.g. xxxxxx1234.bak & xxxxxx1234).
- The Registry key with the .bak extension contains the user’s actual profile while the one without the .bak contains the Temp profile.
- Delete the Registry Key WITHOUT the .bak extension and rename the one with it to xxxxx1234 (without the .bak). Notice the fields on the right, there should be a value named RefCount, change the value to 0.