• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

User Profiles - Relocate to another Partition or Disk


XP1

Member
Member
Posts
14
#21
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 Computer

System One

  • OS
    *

Kari

Old geek, new tricks
Team Member
VIP Member
Pro User
#22
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:
[COLOR=#000000][FONT=verdana]<ProfilesDirectory>C:\Users</ProfilesDirectory>[/FONT][/COLOR]
This moves Users back to C:.

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model Number
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
Posts
2
#23
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:
[COLOR=#000000][FONT=verdana]<ProfilesDirectory>C:\Users</ProfilesDirectory>[/FONT][/COLOR]
This moves Users back to C:.

Kari
Thanks a lot; I'm back to normal functionality now.
 

My Computer

System One

  • OS
    Windows 8 / OS 10.8.0

keinstein

New Member
Posts
2
#24
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 Computer

System One

  • OS
    Windows 8
    CPU
    x64
    Graphics Card(s)
    ATI HD 5800

jmccartan

New Member
Posts
1
#25
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 Computer

System One

  • OS
    Windows 7 Ultimate
    System Manufacturer/Model Number
    Dell M4600
    Memory
    8G

uranus

New Member
Posts
3
#26
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 Computer

System One

  • OS
    win7 Win8 X64
    System Manufacturer/Model Number
    Asus
    CPU
    i5-3570K Ivy
    Motherboard
    P8Z77 V PRO
    Memory
    8 Gb
    Graphics Card(s)
    Intel 4000

RocKeR

New Member
Posts
2
#27
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 Computer

System One

  • OS
    Windows 8 Enterprise Evaluation (Build 9200)

uranus

New Member
Posts
3
#28
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 Computer

System One

  • OS
    win7 Win8 X64
    System Manufacturer/Model Number
    Asus
    CPU
    i5-3570K Ivy
    Motherboard
    P8Z77 V PRO
    Memory
    8 Gb
    Graphics Card(s)
    Intel 4000

RocKeR

New Member
Posts
2
#29
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 Computer

System One

  • OS
    Windows 8 Enterprise Evaluation (Build 9200)

birdibird

New Member
Posts
1
#30
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:

My Computer

System One

  • OS
    Windows 8

zucram

New Member
Posts
4
#31
Hi!
I have downloaded the latest version of windows 8 from Microsoft Dreamspark (windows 8 professional swedish). Should i change row 11 to:

<cpi:eek:fflineImage cpi:source="wim:F:/sources/install.wim#Windows 8 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
 

My Computer

System One

  • OS
    Windows 7

jomo1911

New Member
Posts
1
#32
Hello!

Thanks for the great tutorial!
When i follow the instructions, i always get a Profile-Folder that is named "Username.Computername"

Is it possible just to get a Folder named "Username", because Adobe Creative Suite is not working when User-Profile contains a "."

Thank you,
 

My Computer

System One

  • OS
    Windows 8 Pro
Posts
3
#33
I'm going to use this in a week when my new laptop arrivés. I'm going to install Windows 8 Enterprise, is that the name I must use in the xml file? Maybe you can update the guide with all final names instead of Release Preview and Consumer Preview?

Cheers with the whiskey, good choice!
 

My Computer

System One

  • OS
    Windows 8

OnlyMe

New Member
Posts
2
#34
Windows could not parse or process unattend answer file [C:\Windows\Panther\unattend.xml] for pass [oobeSystem].
I got this because Setup had found another partition, and re-allocated drive letters !
It did not go away when I fixed the drive letters.
I had to delete the new target folder for user profiles.

I wasn't risking moving Program Data.
Someone reported making dummy files at that location,
but that didn't work for me.
 

My Computer

System One

  • OS
    Win 8 +7 +XP
    System Manufacturer/Model Number
    Motion Computing J3400
    CPU
    U9400 2x1.4GHz
    Memory
    2 Gb
    Graphics Card(s)
    Intel Mobile GMA 4500MD

wjburl

New Member
Posts
4
#35
It worked! Although for me it's a complicated procedure. The instructions are very explicit and the included screen shots are helpful. I had already installed Win 8, so I was able to use copy and paste the script and edit the drive letters. I also displayed the procedure on my laptop while I was doing the relocation I wonder if I'll have to do a clean install on the final release? I wish I knew how to do this on my older Win 7 computer. It has a smaller SSD and I'm constantly moving folders and changing the pointers to them.

Bill
 

My Computer

System One

  • OS
    win 8

nemokit

New Member
Posts
1
#36
Hi!
I have downloaded the latest version of windows 8 from Microsoft Dreamspark (windows 8 professional swedish). Should i change row 11 to:

<cpi:eek:fflineImage cpi:source="wim:F:/sources/install.wim#Windows 8 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
I used "Windows 8 PRO" and it works for me.
<cpi:eek:fflineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:F:/sources/install.wim#Windows 8 PRO"/>
 

My Computer

System One

  • OS
    Win 8 Pro

BruceBanner

Member
Member
Posts
45
#37
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 my problem, tho i did move Program Data folder as well. So far have not found a solution :(

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 &ndash; 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.
Are you able to explain this in further detail XP1? Treat me like a nub i won't mind :)


but I want to get an SSD system drive with user data on a separate disk.
I have a 128gb SSD (c:) where win 8 pro is currently installed. I have a second HDD (500gb) whereby i wanted Users & Program Data to exist. I don't want to revert back, that doesn't help me. I just need metro to start working again :(

Hi!
I have downloaded the latest version of windows 8 from Microsoft Dreamspark (windows 8 professional swedish). Should i change row 11 to:

<cpi:eek:fflineImage cpi:source="wim:F:/sources/install.wim#Windows 8 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
I used "Windows 8 PRO" and it works for me.
<cpi:eek:fflineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:F:/sources/install.wim#Windows 8 PRO"/>
I too used Windows 8 PRO in the command line and seemed to have worked.

So in summary:
I'm looking for extra guidance to fix Kari's tweak at the point where i currently am. That is, User and Program Data successfully migrated to E: but metro apps/store not working, and a refresh windows not doable. I don't seem to be the only one having this issue but nobody seems to have a good fix, or at least a nub like me can complete.
I have no experience in Junctions etc.

I just wanted to say, I'm moving from XP to win 8 (never used vista or win7), so although i am loving the prettyness and fluid/speed of win 8 i am disappointed that doing something as simple as this requires steps this deep. In XP I used a program called TweakUI that was able to change the drive location for My Documents. I can't believe by now that Win 8 doesn't have a built in simple step for this let alone rely on a third party program.
I mean, what are all the 60gb, 128gb and 256gb SSD's being sold for if not soley to be used as operating system drives?!?
It was understandable in XP as its OLD, and back then people didn't have hundred's of gigabytes of data, so everything existed on one drive. But its easy to amass 100gb of Music, 100gb of Pictures and several hundred more of Videos!! Libraries can't possibly exist in C: in the year 2012 surely! (rant over).
 

My Computer

System One

  • OS
    Windows 8 Pro
    CPU
    Intel i5
    Motherboard
    Gigabyte H67N-USB3-B3
    Memory
    8gb Ram
    Graphics Card(s)
    Radeon HD6850 1GB

wjburl

New Member
Posts
4
#38
I too am having the same problem as BruceBanner is having with Metro as mention the the post above. I didn't check to see if there was a problem before I did the relocation. How do I go back and try another solution? I did not relocate Program Data.
 

My Computer

System One

  • OS
    win 8

Guy Scharf

Member
Member
Tucson, AZ

Posts
20
#39
Does this technique cause the creation of symlinks or junction points? I ask because I am want to be sure how this approach interacts with drive image backups and I some backup programs say they do not support symlinks.
 

My Computer

System One

  • OS
    Windows 8.1 Pro and Windows 7 Ultimate 64-bit
    CPU
    i7-3770k
    Motherboard
    Asus P8Z77-V Deluxe
    Memory
    G.SKILL Ripjaws Z 16GB (4 x 4GB) DDR3 2133, F3-17000CL9Q-16GBZH
    Graphics Card(s)
    HD4000 (on chip)
    Monitor(s) Displays
    Dell U2711
    Screen Resolution
    2560x1440
    Hard Drives
    OCZ Vertex 4 SSD-256GB, Intel X-25M SSD 80GB, Seagate 3 TB, WD 2 TB Green
    PSU
    Seasonic SS-650HT
    Case
    Antec P180B
    Cooling
    ThermalRight HR-02 Macho (air)
    Keyboard
    Unicomp "Classic" 104-key
    Mouse
    Wacom Intuos4
    Internet Speed
    15 mbps download, 2 mbps upload

tctuggle

New Member
Posts
4
#40
I used symlinks in Windows 7 to move my user files default location to a different volume, as my boot volume is a relatively small 256GB SSD.

I did not think before installing Windows 8, and it seems to have moved everything back to the SSD boot drive, as I now only have 5GB free.

I was following the process at User Profiles - Relocate to another Partition or Disk to move them back, but at step 1.2, the system will not let me boot into audit mode when the command
C:\Windows\System32\Sysprep\Sysprep.exe /audit /reboot is executed


I get a message that sysprep cannot run on a computer that has been upgraded to a new version of Windows.

Any suggestions?
 

My Computer

System One

  • OS
    Windows 8 Pro 64-bit