Windows 7 Corrupt Profile

deleted profile on windows 7 system
deleted directories etc
when user logged back into system we get error about temp profile being created
then we received message about unable to locate files in c:\windows\system32\config\system profile\desktop
location unavailable
all help is greatly appreciated
David ElebuteSystems ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tyler BrooksNetwork and Security ConsultantCommented:
I would do a sfc/scannow to see if Windows can replace the missing files.

(Has to be run from an administrator instance of the command prompt)

If that doesn't work then system restore will often correct these issues, assuming you have a viable restore point.
Matthew ParsonsDirectorCommented:
Hi David,

After you remove/rename the profile under C:\Users you need to go into the registry and remove a registry key for the old profile before it will create a new profile for your user.

Start > Run > Regedit

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Locate the Key relevant to the profile by looking at the ProfileImagePath .i,e

Renamed C:\Users\Matt to C:\Users\Matt.old
In Registry as stated above i would a Key call S-1-5-21-41096..........864, in there the ProfileImagePath is C:\Users\Matt. delete the entire key S-1-5-21-41096.......864. Log off as admin, log back in as your user who had the corrupt profile and all should be right in the world again.

unable to locate files in c:\windows\system32\config\system profile\desktop i believe may relate to another problem, but lets see how you get on after the profile stops using a temp profile.

Hope this helps. Matt

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.