• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 526
  • Last Modified:

Corrupt profile

I had a situation on one of my servers running Win 2003 SP2. It went down to 0 space on the system disk (this is our Oracle server which is administered by a 3rd party). When I first logged in it complained that something was corrupt and could not load. I was able to free up space after deleting a bunch of .trc Oracle log files. When I log in as the Domain Admin I noticed the Desktop is blank. When I look at the profile in use I see a different profile was created for me. Instead of Administrator.domain, it is now Administrator.domain .000. The original profile is still there. I can't rename or delete the new profile because it says that it is a windows system folder and is required for windows to run properly. Is there a way to recover my original profile or do I have to copy and paste from the original to the new one?
0
InSearchOf
Asked:
InSearchOf
  • 5
  • 4
2 Solutions
 
hkunnanaCommented:
you may need 1st to create another account with Administrator's rights on that machine, restart the server, log on using that new account. Then, 1st, make sure the system is healthy, and there is enough space on the system drive (you may even want to do that before the restart).

Then, you can manipulate these profile folders as you want.

you may rename the profile ending with 000 to 000.old, then try logon with the domain admin, and see if the original profile is used. Other wise, you may need to rename it as well, giving the computer a chance to create a new default profile, then copy the contents of the original one to that profile. Of course, each step of those might require you to do a restart because some files keep in locked in the memory, and you cannot alter the folder while they are opened.
0
 
Henrik JohanssonSystems engineerCommented:
The mapping between the user and the profile path is stored in the following registry value. Update it to be the old value should solve the issue.

HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>\ProfileImagePath

If the registry value doesn't exist when the expected profile folder %username% already exist, system will create new folder as %username%.%userdomain%. If that also already exist, it will suffix it with the *.000 counter increasing for each time this happens again.
Renaming the newly created folder to another name would just re-create the folder with same value as expected in registry next time user logs on.
0
 
InSearchOfAuthor Commented:
I checked the registry and there is an entry for the correct profile and an entry for the incorrect profile. Can I just delete the incorrect one?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
Henrik JohanssonSystems engineerCommented:
Unclear how you see both the correct and the incorrect path at the same time in registry.
ProfileImagePath is a normal REG_EXPAND_SZ and shall only contain the path that is used for the profile.
0
 
InSearchOfAuthor Commented:
Here is a screen shot of the the registry entries.
incorrect--profile.JPG
correct-profile.JPG
0
 
Henrik JohanssonSystems engineerCommented:
Not seeing the end of the SID registry key, but it looks like the two profile folders are associated with two different users (unique SIDs).
If same username, it's normal when having same username in different domains (same thing for local user vs domain user). If deleting and re-creating the user with same username, it will get a new unique SID causing the same behavior.
0
 
InSearchOfAuthor Commented:
Yes, they are two different profiles. The administrator.nyfnet.000 is the one that got created when I logged in as the domain admin when I was down to 0 space on my system disk. I am trying to get back to the administrator.nyfnet profile. The system just keeps recreating the same .000 profile as you mentioned when I delete it and log in again. Can I get back to my original profile?
0
 
Henrik JohanssonSystems engineerCommented:
Delete the other SID registry key (export it to reg-file as backup if you want to be able to restore it) and change the ProfileImagePath for the SID pointing on *.000 to the correct folder should solve the issue.
Just in case something can go wrong (we all know Murphy...), copy the folder that you want to keep to have a backup.
0
 
InSearchOfAuthor Commented:
Ok. Let me try that. Thanks
0
 
InSearchOfAuthor Commented:
Thanks henjoh09, that did the trick.
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now