Solved

User folder renamed in windows 7

Posted on 2012-12-24
12
417 Views
Last Modified: 2013-01-12
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?
0
Comment
Question by:skates94
  • 5
  • 4
  • 2
  • +1
12 Comments
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 38718665
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.
0
 

Author Comment

by:skates94
ID: 38718752
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.
0
 
LVL 6

Expert Comment

by:Darren Sharples
ID: 38718760
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
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 38718769
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..
0
 

Author Comment

by:skates94
ID: 38718771
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?
0
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 38718782
Take a backup incase you need to restore anything...
0
 

Author Comment

by:skates94
ID: 38718786
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.
0
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 38718799
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.
0
 
LVL 6

Expert Comment

by:Darren Sharples
ID: 38718821
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
0
 

Author Comment

by:skates94
ID: 38718829
The only user on the account is Mary.
0
 
LVL 13

Accepted Solution

by:
upalakshitha earned 500 total points
ID: 38719552
this happens to a OS related issue. if you can find data without issue just copy it to requiered profile. beware with file & folder permission.
windows 7 default user profile path is c:\users\user name

just create a new user & see where it creates user profile. it should be in c:\users\user name
do not try to play with registry at this situation. because you have only one user. if you go with a ne installation, it will be very easy for you to future trouble shooting. my reccomondation is fresh install.
kindly ignore if you do not like my suggestions..
thank you..
0
 

Author Closing Comment

by:skates94
ID: 38770113
Thank you everyone.  The registry changes didn't solve the problem.  Creating a new profile/user did.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question