Avatar of skates94
skates94
 asked on

User folder renamed in windows 7

I have a user named Mary.  All of her data was in c:\windows\users\mary\ .  Somehow starting in October, all of data is in c:\windows\users\user .  The Mary folder is still there but with just a few files.  The username at login is still Mary and that is the only account.  

1 - How do I fix this?  Can I just copy the user folders under the mary folder?  Do I have to change any registry settings so my documents etc point in the right place?  Should I create another login MaryS and then just copy everything there?

2 - How did this happen?
Windows 7

Avatar of undefined
Last Comment
skates94

8/22/2022 - Mon
Tony Giangreco

Depending on what else has changed, you might be able to copy the folder back. It shounds like some wndows bug has changed her account or a slip of the mouse.

Before doing anything, I'd backup all oyu files and if possible run a Pc backup.

It sounds like your not in a domain. We run everything in a domain where the user wouldn't have security to do this.

Let me know how it works out.
skates94

ASKER
I can copy the data from User to Mary but the junction point, etc point to User.   This is a stand-alone Windows 7 machine.
Darren S

I thought user profiles were stored under c:\users ?

Anyway, you can check the below in regedit to see where the local profile paths are pointing.  Look for something similar to %USERPROFILE%\Documents (this one is the Documents directory)

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Tony Giangreco

In Windows 7, the user profile should be in c:\Users\username.. not in C:\Documents and Settings. That was the old XP location and now it's a junction point that points to c:\Users\Username..
skates94

ASKER
Sharpting - It could be!   I'm on a Mac right now and was trying to go from memory.  The path was users\mary\ and now almost all of her files including the latest are in users\user\

So I can go into the registry and see what is happening but how does that resolve the issue?  Do I change it in the registry?  How do I know if I fix everything if I do it manually?  I'm a bit nervous going that route.

How could this have happened?
Tony Giangreco

Take a backup incase you need to restore anything...
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
skates94

ASKER
TG-TIS - Yes, I probably wrote that part wrong.  The issue is that her files are mostly under \users\user and not under \users\mary.  I don't want to just copy the files because Windows somehow thinks everything should be under \users\user.  

How can I either change everything back to users\mary so that all her applications etc know that everything should go there?

Or should I create a new account called marys and have everything go to \users\marys\?  I don't know how she got the user folder but it's confusing to her and she wants it under her name.  Although if I do the marys route, then her wallpaper, favorites, etc will need to be updated.
Tony Giangreco

I would take a backup, then check the registry and correct it, the try copying the folders back to the correct location. if that does not work, jst recreate her account. You might want to make it Mary2 to eliminate any problems.
Darren S

This might be a long shot but is there an account on this machine called "user"? could it be that someone dragged and dropped Mary's profile folder into the User folder?

I wouldnt worry too much about it, just fix it and worry about it if it happens again.  

First, log in as Mary and go to the location in regedit that I mentioned above.  You will see straight away if there is a problem (it will be c:\users\user\mary\desktop instead of %USERPROFILE%\Desktop for example)

Copy the folder back to where it should be, correct the registry and log out and back in.

Make a backup of the files also
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
skates94

ASKER
The only user on the account is Mary.
ASKER CERTIFIED SOLUTION
Imal Upalakshitha

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
skates94

ASKER
Thank you everyone.  The registry changes didn't solve the problem.  Creating a new profile/user did.