Windows 10: Restore Users Profiles back to C:\Users without data folders

Discus and support Restore Users Profiles back to C:\Users without data folders in User Accounts and Family Safety to solve the problem; I don't remember when, but I availed myself of the free Windows 10 upgrade sometime back. I was using 8.1 and I had, at some point, moved C:\Users and... Discussion in 'User Accounts and Family Safety' started by Jim McClain, Apr 16, 2017.

  1. Restore Users Profiles back to C:\Users without data folders


    I don't remember when, but I availed myself of the free Windows 10 upgrade sometime back. I was using 8.1 and I had, at some point, moved C:\Users and all its associated folders to E:. Everything has worked fine and Win10 didn't have a problem. I did notice that there was still a C:\Users, but the only folder it contains is Administrator.

    This was probably not a good move to make. Moving data folders, like Pictures, Documents, etc., is fine, but moving the actual User Profiles was not such a good idea. My E: drive is no longer large enough to hold all my photos and other data. I bought a replacement drive large enough, but having my Users Profiles on E: is now a problem and I want to move them back to C:, only without the data folders.

    I can delete all the existing data files from those default folders (I have backed them all up), so now I need to find a way to restore the Users folder and contents to C:. I've tried researching the problem, but found nothing that specifically applies to my situation. The TenForums article, "Relocating Users folder on an existing Windows installation" Seems to be as close as I can get. Unfortunately, this part has made me take pause and ask you all for help:
    As I said, I want to restore E:\Users back to C:\Users, which already exists, with the single folder Administrator in it.

    Do you know what I should do? Maybe Kari's still around and can reply? Any guidance would be appreciated.

    Jim

    :)
     
    Jim McClain, Apr 16, 2017
    #1

  2. Lost all data in Documents folder after changing from a Outlook.com account to a Local account

    Hi there,

    Affected system = Surface Pro 3 / Windows 10

    A client of mine came to me saying that they had lost all their data from their Documents folder (C:\Users\Username).

    After some investigation I found they had been logged into a temporary profile (C:\Users\TEMP) thus their data was safe just in their User account on the C:\ drive (C:\Users\Username). I gave it back to them as they needed to use the Surface Pro 3 for a
    business trip and they could access the data safely knowing now where it was located.

    They aimed to get the device back to me a few days later once they had finished their business.

    When they gave me the Surface back they told me that they had attempted to fix the issue by switching from their outlook.com profile to a local profile which they did in Settings->Accounts->Sign in with a local account instead.

    I took a look at their Documents folder and noticed that they were now logged into the temp folder (C:\Users\TEMP.DESKTOP-CSU**) and that all the data from their original profile (C:\Users\Username) was now gone!!

    After extensive searches I'm still unable to locate their data. It's as if it's just been deleted.

    My next move was to reach for the system restore facility however they never set this up and now have no restore points to restore back to. Additionally they don't have any cloud storage which they backed up to so i'm struggling to recover any data.

    So after all of that my question is.... is there any way I can get this data back for them?

    Or am I better off telling them that their actions have caused all their data to be deleted?

    Hope you can help...

    Regards
     
    troubledtony, Apr 16, 2017
    #2
  3. CW00 Win User
    Unable to change folder name

    I put my folder after the C:\Users\username\ folder, but it keeps changing the name to C:\Users\username\document" instead of the folder name and conflict with C:\Users\username\document that already exist and backup and restore has a problem backing it
    up. Can put a folder after C:\Users\username\ without it being called C:\Users\username\document?

    Original Title : Folders
     
  4. Kari Win User

    Restore Users Profiles back to C:\Users without data folders

    If you used the Sysprep method to relocate the Users folder to E: drive, you can use the same method to relocate it back to C: drive. The warning you quoted is when doing this in a clean install, it does not apply when moving Users folder back to C: drive which will always be accepted and OK for Windows.

    Follow these simple steps (looks more complicated than it in reality is!):

    • Create a new, temporary local user account, name it as you wish like "Dummy" or such (tutorial)
    • Change Dummy's account type to administrator (tutorial)
    • Sign out from all other user accounts, sign in to Dummy
    • Disable all other user accounts except Dummy, the one you are currently signed in (tutorial). No worries, accounts and their data will remain intact, deactivating (disabling) them temporarily is done because sometimes Sysprep causes existing user accounts to lose Start and Search / Cortana functionality. When we are ready we will again activate (enable) all old user accounts
    • When done, open an elevated Notepad (right click and select Run as Administrator) copy the following code and paste it to a new text document]:
      Code: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FolderLocations> <ProfilesDirectory>C:\Users</ProfilesDirectory> </FolderLocations> </component> </settings> </unattend>[/quote]
    • Save the file in C:\Windows\System32\Sysprep folder as unattend.xml, selecting Save As Type: All files. NOTICE: Do not change the save location, do not change the file name. It must be named as unattend.xml and it must be saved in C:\Windows\System32\Sysprep folder!
    • Close all applications
    • Press WIN + R to open Run, type following command and press Enter:
      %windir%\system32\sysprep\sysprep.exe /oobe /reboot
    • Let Sysprep run and move Users back to C: drive
    • In a few minutes Windows starts the Welcome Mode, you need to select your region and so on as if this was first time you set up Windows. When it comes to a screen wanting you to create a user account, create an offline (local) account naming it for instance Dummy2
    • When ready and back on desktop, enable all old original user accounts (tutorial)
    • Sign out from Dummy2, sign in to your old original admin account
    • Remove users Dummy and Dummy2
    That's it. Keep on your mind that the more user data various user profile folders contain, the longer the process will take as there is more to move.

    Do not forget to create a system image backup before doing this! If you come back telling something didn't work and you can't boot the PC anymore, my reply will be "Restore the image backup, then let's see where it went wrong". If you at this point tell that you don't have a backup to restore, I'll say Good By *Wink
     
  5. Thanks so much for your reply, Kari. I have followed your instructions to the letter, right up to this point:
    I don't understand why, but I was not able to save to that folder because the error message said I needed administrator permissions. I set up the Dummy user account as an administrator and was able to use the Command Prompt (Admin) to disable all other accounts (actually, only one existed, Jim, which has admin permissions).

    So, can I save that file from within my original account? Of course, I'm going to try, but I won't go forward from there until I hear back. Even though I have an image backup, I don't want to "practice" doing this.

    Thanks for your help.
     
    Jim McClain, Apr 16, 2017
    #5
  6. Tried and failed. My original account IS an administrator account, but not an Elevated Administrator account. I found out that there is a hidden Administrator user that is an Elevated Admin.

    For some reason, that account is not able to open a browser. That doesn't seem like a good idea to me, but who am I to say? So, I came here to your instructions using my smartphone and manually typed the XML file out and saved it.

    Now, do I continue with your instructions using the Elevated Admin account, or revert to the temporary Dummy account? And when it's time to disable all the other accounts, will I be able to disable the Administrator account (I think I know the answer, since I used the Command Prompt (Admin) to enable it, I should be able to reverse that)?

    For now, I will wait to hear back from you. I can be patient.

    R'gards,

    Jim
     
    Jim McClain, Apr 16, 2017
    #6
  7. Kari Win User
    OK, I had forgotten one crucial step out from instructions: Notepad must be elevated to be able to save under Windows system folder. I now edited that step in my original post:

    A workaround is to save the file to desktop, then manually move it to C:\Windows\System32\Sysprep folder.

    The Dummy account is important in case there's some issues with sign in after the Sysprep. You can run Sysprep from the Dummy account, or from built-in administrator account. In no case do not use your own, original account, it must be disabled / deactivated when you run Sysprep!

    The built-in admin account cannot use UWP apps (also known as Store apps) like Edge browser. When using built-in admin account, use Internet Explorer instead, you can open it by pressing WIN + R, typing iexplore (missing R at the end of this command is not a typo!) and hitting Enter.

    Main thing is, the answer file is exactly where I said it has to be, named exactly as I said. Don't take this personally but I am skeptical when you say you typed it in your phone instead of copy & pasting, let's hope you got it correctly!
     
  8. Restore Users Profiles back to C:\Users without data folders

    Now you sound like a normal human being. I had you on a pedestal. *Wink

    Got it.

    I understand. I didn't type it ON my phone, I only used my phone to visit this website so I could see the code and type it in notepad on my computer. I've been manually typing markup (XHTML, CSS, etc.) for almost 20 years, so I know how critical getting it right is. I double-checked it for accuracy.

    I'll let you know how it goes soon.

    Jim
     
    Jim McClain, Apr 16, 2017
    #8
  9. Even as I was typing that, I thought, maybe I shouldn't say "soon." In preparation for moving my User Profiles back to C:, I deleted all my data files - I had already copied them to the new HDD. I failed to notice that part of that data included my large Outlook email data files. Then I couldn't get Outlook to open because I didn't close it prior to the copy or the deletion. It's a very fragile system that, apparently, many other people have had similar difficulties with and very little solid information from Microsoft.

    I finally had to create a new Outlook profile and recreate all of my email addresses and oh what a huge hassle. Been up all night and have made no headway. I gotta get a couple hours rest because I have a class to attend with a bunch of Highway Patrol cops - you gotta be sharp and act like you know what you're doing around them or they give you a ticket right there in front of the whole class. Well, maybe not a ticket, but it will make my friend look bad. She's the local commander and the class instructor.

    So, I'll put this off until tonight, maybe even tomorrow, depending how I feel. I'm feeling old and feeble at the moment.
     
    Jim McClain, Apr 16, 2017
    #9
  10. I've followed the instructions and am at the step where I am waiting for Windows to start after running the sys prep command. I have been staring at the spinner below the blue Windows logo for over a half hour. There are no data files to move because I deleted them all from Documents, Pictures, etc. before I started. So, I am concerned that it is taking so long.

    I'm using my smartphone to type this, so I will check back later for any replies. Maybe its supposed to take this long.
     
    Jim McClain, Apr 17, 2017
    #10
  11. Kari Win User
    That happens sometimes, although it is not normal, indicating that there might be some underlying issues. It is relatively safe to reset PC if it remains on rotating circle too long. I would wait another half an hour and then reset.
     
  12. About 20 minutes after my last post, Windows started up. I didn't have to select a region. It did provide options and I selected Express something or other. Soon, it booted into my Dummy account - didn't ask me to create a new account. I followed the rest of your instructions to activate the other accounts and remove the Dummy account.

    I checked to see that everything was where it was supposed to be and it seemed to be. The folders for Documents, Pictures, etc. were empty, as they should have been. I then shut down, unplugged and disconnected the old E: drive and reconnected the new HDD, which was originally used as G:. When Windows started back up, I used Disk Management to rename the G: drive to E: and restarted. Now I have E:, with all my data files.

    Library folders do not point to the E: drive yet. I will do a search to see if there is a tutorial for that, to make sure I do it right.

    I'm not going to mark this thread Solved yet, but it looks like it's almost done. I sure do appreciate your help, Kari.

    Jim
     
    Jim McClain, Apr 17, 2017
    #12
  13. Restore Users Profiles back to C:\Users without data folders

    I found a tutorial here on TenForums, by Brink, for "How to Set Default and Public Save Location of Library...", but it must have been for an older version of Windows 10. I don't have a Library Tools or Manage tab. I was still able to point my Library folders to their counterparts on E: though, based on his general instructions.

    Everything is working fine now. This could have been a disaster without your help, Kari. Thanks again. Now that my C: drive shows less than 35 GB free on a 118 GB drive, I guess I should replace it with my now unused 500 GB former E: drive. I'll start a new topic for that, if necessary (new topic here).
     
    Jim McClain, Apr 5, 2018
    #13
Thema:

Restore Users Profiles back to C:\Users without data folders

Loading...
  1. Restore Users Profiles back to C:\Users without data folders - Similar Threads - Restore Users Profiles

  2. User Profile Folders

    in Windows 10 Gaming
    User Profile Folders: In Windows 11, some folders like Documents, 3D Objects, Contacts, Desktop, Downloads, One Drive, Pictures are understood in the user profile, but apart from this there are some folders whose functions and usages are not understood like - Favorites, Links, Music, Saved Games,...
  3. User Profile Folders

    in Windows 10 Software and Apps
    User Profile Folders: In Windows 11, some folders like Documents, 3D Objects, Contacts, Desktop, Downloads, One Drive, Pictures are understood in the user profile, but apart from this there are some folders whose functions and usages are not understood like - Favorites, Links, Music, Saved Games,...
  4. Users folder and Profile folder

    in Windows 10 Network and Sharing
    Users folder and Profile folder: Hello,What are the advantages and disadvantages of deleting the Users main folder and User Folder?I have heard that it will delete viruses or that kind of things!Sorry if it sounds a dumb questionGreetings...
  5. Users folder and Profile folder

    in Windows 10 Gaming
    Users folder and Profile folder: Hello,What are the advantages and disadvantages of deleting the Users main folder and User Folder?I have heard that it will delete viruses or that kind of things!Sorry if it sounds a dumb questionGreetings...
  6. Users folder and Profile folder

    in Windows 10 Software and Apps
    Users folder and Profile folder: Hello,What are the advantages and disadvantages of deleting the Users main folder and User Folder?I have heard that it will delete viruses or that kind of things!Sorry if it sounds a dumb questionGreetings...
  7. Restoring Users or Profile folders

    in Windows 10 Backup and Restore
    Restoring Users or Profile folders: Currently on Windows 10 x64 Pro v2004 build 19041.572 Problem occurs also in v1909 In February in setup my new system with the system drive on an SSD and the Users folder on a HDD following Kari's wonderful tutorial. No problems there. All working splendidly. However after a...
  8. Windows 10 user profile folder in C:\users disappeared

    in Windows 10 Network and Sharing
    Windows 10 user profile folder in C:\users disappeared: Hi, I tried to sign in to my local admin account and Windows loaded a temporary user instead of my user. I then tried to locate my user folder in C:\users but it's not showing there even with the hidden files view enabled. I can see in the registry my profile path and...
  9. Restore profile permissions to user profile folder

    in User Accounts and Family Safety
    Restore profile permissions to user profile folder: I'm not sure why but sometimes when i port a profile over(make new profile, move all files/folder to temp folder, move old profile folder/files in then move the new profile over it) edge and the start menu break. Take ownership seems to miss alot of things and using the...
  10. Removing/renaming a user profile folder in C:\Users?

    in User Accounts and Family Safety
    Removing/renaming a user profile folder in C:\Users?: Just joined this forum recently, so this is my first post. Anyways, I've been looking online for a method to simply delete the folder of an old user profile in C:\Users. I have yet to come across a successful method. The message that appears when I try to delete the folder is...