1. 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).
2. 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.
3. Restart the machine and logon with a machine administrator account.
4. 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.
5. Join the machine back to domain account (or to workgroup that the machine was originally joined to), and restart the machine.
6. Logon with your domain account that you were having trouble with.
Try logging in.