Windows 8 and 8.1 Forums


User Profiles - Relocate to another Partition or Disk

  1. #20


    Quote Originally Posted by wormyrocks View Post
    Hello,

    So I followed the directions in this thread and indeed my Users folder seemed to relocate to my hard disk, but unfortunately I am no longer allowed to install any Metro apps. Also, my Mail and Calendar apps in Metro have stopped working. I didn't touch the Program Data folder.

    Does anyone else experience this problem, and is there any way for me to fix it? If not, how do I move my files back onto the boot disk?

    Thanks.
    After installing NetBeans and reporting a shortcut bug, I had discovered that sysprep misses some parts of the registry. Bug report:

    Bug 215908 - Desktop shortcut created using hardcoded path:
    Bug 215908 – Desktop shortcut created using hardcoded path

    For example, the entries in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell
    Folders] and [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Shell
    Folders] still point to the C drive even after you move the folders.

    Some programs rely on this registry data to discover where the Users and ProgramData folders are located.

    Instead of fixing the registry, it would be a good idea to create directory junctions:

    In a command prompt, if the relocated drive letter is U, type:

    Code:
    C:
    mklink /j C:\Users U:\Users
    mklink /j C:\ProgramData U:\ProgramData
    Once you have created the directory junctions, you can create a user profile and use the Metro apps.

      My System SpecsSystem Spec

  2. #21


    A Finnish ex-pat in Leipzig, Germany
    Posts : 1,452
    Windows 8.1 Pro with Media Center


    Hi Wormyrocks, welcome to the Eight Forums.

    I will do some testing and will get back to you.

    In the mean time, to revert relocation back to default place you need to boot to Audit Mode and run sysprep with the answer file file exactly as told in the tutorial, this time changing the value of ProfilesDirectory (line 6) back to C:\Users:
    Code:
    <ProfilesDirectory>C:\Users</ProfilesDirectory>
    This moves Users back to C:.

    Kari
      My System SpecsSystem Spec

  3. #22


    Posts : 2
    Windows 8 / OS 10.8.0


    Quote Originally Posted by Kari View Post
    Hi Wormyrocks, welcome to the Eight Forums.

    I will do some testing and will get back to you.

    In the mean time, to revert relocation back to default place you need to boot to Audit Mode and run sysprep with the answer file file exactly as told in the tutorial, this time changing the value of ProfilesDirectory (line 6) back to C:\Users:
    Code:
    <ProfilesDirectory>C:\Users</ProfilesDirectory>
    This moves Users back to C:.

    Kari
    Thanks a lot; I'm back to normal functionality now.
      My System SpecsSystem Spec

  4. #23


    Posts : 2
    Windows 8


    I have the same problem as wormyrocks.
    I also had a problem with the .xml not being parsed, I tried several times and gave up. I resulted to changing the registry in:

    HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/CurrentVersion/ProfileList/ProfilesDirectory

    to what I wanted (while being in Audit Mode).

    This worked in Win7 and also does now, but _all_ Metro Apps either immediately close or behave very weirdly.

    Does the .xml way do anything else than this registry change? Since wormyrocks did it the right way and has the same problems I guess not?!

    Enterprise x64.
      My System SpecsSystem Spec

  5. #24


    Posts : 1
    Windows 7 Ultimate


    Kari - thanks for the great post

    I am trying to install Win 8 Pro - upgrading from Win 7 ultimate.

    I would like to do upgrade apps, data, settings - so as to not have to re-install all apps, settings

    When I come to the "Keep" screen - I am presented with the Nothing option only

    I started digging a bit more into this - and once the install reported that it could upgrade "Nothing" - I stopped and switched over to look in the temp install files.

    A section from the compatibility scan output file - located in
    C:\$WINDOWS.~BT\Sources\Panther
    filename: CompatData_2012_08_18_23_29_06_3_000001c0

    <HardwareItem HardwareType="Setup_NonStandardDirectory">
    <CompatibilityInfo BlockingType="Hard"/>
    <Action ResolveState="Hard" Name="Setup_NonStandardDirectory"/>
    </HardwareItem>

    This file was reported in C:\$WINDOWS.~BT\Sources\Panther\setupact.log - near the bottom of the file

    So it appears to be complaining about a non-standard directory structure - and I am guessing it is because my user profiles are set to use d:\ rather than c:\

    Also from the file - C:\$WINDOWS.~BT\Sources\Panther\setupact.log
    CNonStandardDirectoryChecker: checked NonStandardDirectory, found HardBlock. Profile directory D:\Users is not on system drive C:


    I need to keep my profiles on my d drive as my c drive is a small ssd


    My current way of setting the d:\users as the profile directory is to have the registry updated
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList


    Any suggestions on how I might bet Win 8 install to allow me to upgrade apps, settings and data?

    Thanks in advance for any help!
      My System SpecsSystem Spec

  6. #25


    Posts : 3
    win7 Win8 X64


    Kari
    I congratulate you on your article "Relocate User Profiles to another disk". I made a clean instal of Win 8 Pro on a two partition disk with OS and DATA partitions, and it worked fine. I am shortly going to upgrade a new Notebook with 2 partitions from OS win 7 X64 to Win8. Am I better off moving the profiles now within Win7 and going to Win8 later, or am I better doing it with the Win8 UPGRADE.

    Regards uranus
      My System SpecsSystem Spec

  7. #26


    Posts : 2
    Windows 8 Enterprise Evaluation (Build 9200)


    Quote Originally Posted by wormyrocks View Post
    Hello,

    So I followed the directions in this thread and indeed my Users folder seemed to relocate to my hard disk, but unfortunately I am no longer allowed to install any Metro apps. Also, my Mail and Calendar apps in Metro have stopped working. I didn't touch the Program Data folder.

    Does anyone else experience this problem, and is there any way for me to fix it? If not, how do I move my files back onto the boot disk?

    Thanks.
    This is a fantastic tutorial, and works beautifully - except I have exactly the same issue as WormyRocks. If I move the User's Folder only to my D Drive, The Windows Store refuses to connect or download any new apps, whether I'm logged in as a local user, or a Windows user. I have reverted to using my larger D Drive as the boot drive for now, but I want to get an SSD system drive with user data on a separate disk.
      My System SpecsSystem Spec

  8. #27


    Posts : 3
    win7 Win8 X64


    To Rocker
    Hi I used win 8 Pro in a clean installation on a scrap HDD set up first with 2 primary partitions. It will not work for a Win 8 UPGRADE because of sysprep design, I used it only with user profiles. I had no problems entering the App store and adding new Apps.
    uranus
      My System SpecsSystem Spec

  9. #28


    Posts : 2
    Windows 8 Enterprise Evaluation (Build 9200)


    Thanks Uranus,

    I did this from a brand new install, and then followed Kari's instructions for moving the user's folder afterwards. Next time I will try moving the folder during the installation (instead of afterwards).

    //RKR

    QUOTE=uranus;116690]To Rocker
    Hi I used win 8 Pro in a clean installation on a scrap HDD set up first with 2 primary partitions. It will not work for a Win 8 UPGRADE because of sysprep design, I used it only with user profiles. I had no problems entering the App store and adding new Apps.
    uranus[/QUOTE]
      My System SpecsSystem Spec

  10. #29


    Posts : 1
    Windows 8


    Another option to move \Users automatically while installing Windows 8 is to save relocate.xml as AutoUnattend.xml on the setup media of Windows 8.
    In this case you won't have to do any sysprep: the \Users folder will be relocated during setup.

    edit:
    best moment to make the junction to avoid problems with the metro apps and maybe other programs is to do it on the 'Personalize' screen. Press shift-f10 to enter into a command prompt and type:
    mklink /j C:\Users U:\Users

    then continue with the setup

    (edit2: this doesn't work for ProgramData. That's a bit more complicated.
    you will need to reboot into your setup-media
    press shift-f10 to go into a command prompt
    change with remove and assign in diskpart your drives to the correct C: and U:
    then use robocopy /copyall /e /move C:\ProgramData U:\ProgramData
    and finally mklink /j C:\ProgramData U:\ProgramData
    Don't do this if you don't understand what you're doing)

    U: means your second drive, for example D:
    Last edited by birdibird; 14 Sep 2012 at 07:47. Reason: added junctions
      My System SpecsSystem Spec

Page 3 of 70 FirstFirst 123451353 ... LastLast
User Profiles - Relocate to another Partition or Disk

Similar Threads
Thread Forum
move User profiles to a different drive
Hi everyone, So I have a SSD that is loaded with my OS (C: ) and a HDD 1TB.(B: ) I would like to move the User profiles to the HDD. What is the best way to do this?
Performance & Maintenance
Don't move your Windows user profiles folder to another dr
Don't move your Windows user profiles folder to another drive | ZDNet
Windows 8 News
Relocate User folders into Google drive folder?
My buddy wants me to relocate his Documents and Pictures folders (by going to Properties/Location tab/Move on those folders) so that they would be in his Google Drive folder, and thereby backed up automatically to the cloud. Has anyone here tried that, or have any thoughts about it? I know that...
User Accounts and Family Safety
Relocate User Profiles To Another Partition or Disk
I did a Clean Install on a new SSD Drive. When I tried the Relocate User Profiles to another Partition, the System gave me a message that I would have to re-install, but the Windows 8 CD will not re-install. What can I do?
Installation & Setup
Remove or relocate or stop user folder from expanding
How can I stop the libraries and user folder from expanding when I open Explorer? I used your example and removed the libraries folder, but I did not see one for the user folder.
General Support
Why does chrome use two profiles? one for metro and one for the user.
I just installed chrome via the store on my fresh install and when I use chrome via the metro UI it has a different profile and when I use via the desktop it has a different profile. Its quite annoying as I cant use facebook properly. I have noticed facebook doesn't load properly when using...
Software and Apps
Eight Forums Android App Eight Forums IOS App Follow us on Facebook