How to restore user profile
While I was logging on from a remote console through RDP I've got a message telling me that the user profile is damaged. I was able to log on and I lost all the settings: desktop, menu and all the settings of the various applications, as if my user had just been created; that means, the user registry was corrupted and it has been replaced with the default user registry.
Event Viewer reported these error messages:
I don't know what would have happened logging off and on again (the original profile would have been restored automatically?), by the way I recovered it this way:- I created a new user, just to be sure to be able to logon if something went bad
- I rebooted into linux
- I copied the user registry file
C:\System Volume Information\_restore{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\RPyy\snapshot\_REGISTRY_USER_NTUSER_S-z-z-zz-zzzzzzzzzz-zzzzzzzzzz-zzzzzzzzz-zzzztoC:\Documents and Settings\USERNAME\ntuser.dat:
the x's in the restore path are hex digits and yy is a number: the exact restore path where to look in should be the one with the most recent date and time before the date and time of the unsuccessful logon, i.e. yesterday's date if the error happened at today's first logon;
S-z-z-zz...is the user's SID (see how to associate username and SID);
andUSERNAMEis the username - I also copied the file
_REGISTRY_USER_USRCLASS_S-z-z-zz-zzzzzzzzzz-zzzzzzzzzz-zzzzzzzzz-zzzzfrom the same path toC:\Documents and Settings\USERNAME\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat
Posted by: Z24 | Thu, Aug 21 2008 |
Category: /windows |
Permanent link |
home
Tagged as: howto, windows, xp
http://www.mycomputingart.com/
To contact the webmaster and author write to: info<at>mycomputingart<dot>com
© mycomputingart.com, year(today()).


