I had a corrupt user profile (let's call it bob) affecting xslx files for Excel on a Windows 7 Pro x64 workstation. I verified that the issue was not present on other profiles on the same machine.
I made a new user, temp. I logged in with the local administrator account and took ownership of bob's profile folder. I then copied everything in this folder except for ntuser.dat, ntuser.dat.log and ntuser.ini to the new user temp's profile folder. I then logged in as temp to make sure that the files were there. They were. My Excel file open issue and icon association was resolved on this user profile.
Next I deleted bob's profile folder after I made a copy of it to C:\temp for restore purposes. I then logged in as domain\bob, and Windows 7 put me into a temporary profile.
Making a local user with the name bob won't work for me here because the security context for that account won't point to the domain.
What do I do now to allow Windows 7 to forget I ever had a domain user called bob? I want to be able to log back in as this user and want the computer treat it like the first time they are logging in and make me a new profile. I will then move profile files over manually to synchronize things.
My user has a standard domain profile and not a roaming one.
I thought this was a relatively straightforward process, but I can't seem to figure out what I do differently when I am dealing with domain level accounts.