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.
Answer
Rename the user's profile folder to Bob.old
Logged in as an admin, go to Control Panel → User Accounts → Manage User Accounts. Domain accounts show there after an initial login.
Delete the account for Bob
Open regedit and make sure that the user is no longer in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
. Delete it if present, even if it is followed by ".bak".
Then you can login as bob to recreate the local user profile, then copy your user data into it.
Source: Deleting a Local User Profile - Not as easy as one Might Assume
No comments:
Post a Comment