• 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
#41
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 :)

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 :(
Right click on the Start corner > Command Prompt (Admin) > Yes > Type:
Code:
C:
mklink /j C:\Users U:\Users
mklink /j C:\ProgramData U:\ProgramData
Replace the "U:\" text with your own drive letter. Each line has a separate command that you press enter to execute.

When you open Explorer to the C drive, you should see the "Users" and "ProgramData" junctions that look like folders.

I forgot to mention that when you create a new user account, the Metro apps should work.
 

My Computer

System One

  • OS
    *

XP1

Member
Member
Posts
14
#42
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.
I don't think that the sysprep process creates junctions. You have to create junctions manually. However, without junctions, you will have a problem because the registry still points to folders that don't exist on the C drive. Alternatively, you would have to search the registry and update any values that are incorrectly pointing to the C drive.

If you read my previous post, sysprep forgets to modify some parts of the registry:
http://www.eightforums.com/tutorial...other-partition-disk.html?p=108981#post108981
 

My Computer

System One

  • OS
    *
Posts
7
#44
Here's my experience leading to a successful clean install, using Kari's technique.
1. I wanted to keep Metro, so I omitted the "program data" line (#15) in the script, per Kari's note.
2. I had my prior Windows 7 user files saved to a folder called "Archive Files" on my data drive. [NOTE: On the first try, I called this temporary folder "users_old," but that didn't fool the installer, which renamed it "Users," and set up account folders with names I didn't like, since folders with the names I did want were already there. Anyway, burying it in "Archive Files" worked fine.]
3. I copied Kari's scripts to a zip drive.
4. At the first reboot, Windows asked me to eject my Install Media, which I did, but after rebooting into Audit Mode I reinserted it, since I knew the script would call for it.
5. (I think this is most important!) After first booting into Audit Mode, I took a few minutes to look around with File Explorer to check on the drive letters Windows had assigned my drives. I then used this information to edit the scripts on the zip drive to point to the right drives and files.
6. After completion, I set up the user accounts I wanted, and then opened two instances of File Explorer to move (not copy) the contents of each respective folder (My Documents, My Music, etc) from the "Archive Files/users" folder to the new "Users" folders. Because they were located on the same physical disk, the moves were almost instantaneous.
8. Viola! OS (Including Program Data) on SSD C: , Users folder on 1TB HD D: , and Metro works!
9. Now to figure out what Metro is good for!!??
 

My Computer

System One

  • OS
    Windows 8

Eikka

New Member
Posts
1
#46
hi,
if I also want to relocate
Program Files , Program Files (x86) and perflogs direrctiories, what are the xml-tag names for those?
And is it enouf to add them to relocate.xml or does it need some other changes too?

If I name the file "AutoUnattend.xml" and include it to the root of windows 8 installation disk, does those changes works those Program File-folders too?
Anyone tested?
 

My Computer

System One

  • OS
    Windows 7
Posts
7
#48
Well, you can move (at least) your Documents, Music, Videos and Pictures folders, which generally consume most of your storage space, by individually going to each folder, right-clicking, selecting "properties," then the tab "Location." From there you can change the location of the folder.

The only way that I am aware of to move the whole Users folder, other than the one we are discussing in this thread, involves the use of "symlinks." I've never tried it, but have found the "sysprep" method described in this thread to be quite easy, and have used it successfully in several Windows 7 installs, and now in Windows 8 also.

I've only used the new install method, but step 1.2 of Kari's method seems to imply that you can do it from an existing installation.
 

My Computer

System One

  • OS
    Windows 8

BruceBanner

Member
Member
Posts
45
#49
I really need some advice that is directly related to the Kari method here. But to fully understand my problems it is perhaps best to give u background of what i have done to get to the mess i have now.

1) was running win xp, had a straight backup (no acronis .tib file or anything) of my documents (My Documents, My Music and My Pictures etc, ie the IMPORTANT stuff). This content was on a separate hdd to C: (xp)

2) I got a brand new 128gbSSD and installed win 8 pro onto it. I then followed Kari's method (migrating User and Program Data) from C: to E:

3) at this point I can't recall exactly what I did but suffice to say I somehow have all the data from 'My Documents' from winxp organised correctly in the new Library.
E: drive has User and Program Data as the two main root folders with all the stuff i had from win xp residing in a logical location (My Pictures in Pictures, My Music in Music etc). I must have done some direct copying but i can't recall lol.
But then disaster strikes and I discover metro doesn't work. I read that other ppl have the same issue and I am not alone.

3) So I decide to stuff it and just to a fresh reinstall of win 8 again (on the SSD of course) and forget about the whole migration thing, and instead just leave win 8 as it was intended and simply do things manually for redirections etc. I figure that things could get buggy or worse further down the line and cbf resolving, i'll let win 8 win for now. Fresh reinstall it is.

4) Now that i am in this new win 8 installation, and default User is still on C:, the Previous E: drive data (that has User left over from PREVIOUS Kari method) is behaving oddly. Just to be absolutely clear, i left E:User and E:program Data alone from previous win 8 kari method installation, i just reinstalled win 8 on C: (128gb ssd).

Now being new to win 8 (and bearing in mind i am coming from Xp environment ie I have no experience of win 7) I am not sure what behavior is normal and which is odd. Here's an example of summin weird. I navigate to 'E:\Users\Eddy\Documents\Random Notepads' and when trying to edit a previous notepad (.txt file) I get the following steps;

a) right click a notepad>Edit.
b) i'm in a notepad, i add extra text, i then click 'save' (not save as).
c) 'Save As' box pops up, but i didnt click save as :S
d) I select same file ie overwrite.
e) 'xxx.txt' already exists. Do you want to replace it?
f) Yes
g) Access is denied.
h) ok.

Now at no point am i given option/prompt for administrative rights etc.

Also what is interesting is when in this location E:\Users\Eddy\Documents\Random Notepads and i right click empty space and go 'New' i get nothing, only '(Empty)' in grey. If i am in just 'Libraries\Documents' (E:\Users\Eddy) and also right click anywhere and go 'New' I get only 'Folder' as an option.

Perhaps some of this I am encountering is Win 7/8 stuff, perhaps some of it is a cock up with keeping the previous E:User from a previous Win 8 installation that involved Kari's method.
As this is important documents I don't want to kill old XP 'My Documents' backup located on a seperate hdd yet, but i really need to at some point as its hogging space.
If this is the behavior i'm getting from trying to edit a simple notepad i'm worried about trying to access photos/editing/mp3 file tags etc etc

I'm wondering what my next step is, if I just need to take full ownership back of E: for this Win8 installation (security/permission/object stuff that i know little about) or indeed kill it all and copy Xp My Documents back over again and create new 'Libraries' 'include folders' etc.
I prefer not to copy xp my documents back over again as i have since actually added new important files that will be harder to locate as the directories have all changed (i can't simply use a tool like Create Synchronicity and match the two volumes easily i.e E:User > My Documents).
What would be ideal is that I do some step that makes E: fully mine and in future when right clicking a notepad (or whatever) and click 'Save' it just saves and does none of this Save As Access Denied crap that i'm getting.

Please advise.

Cheers,

Bruce
 
Last edited:

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

Hoopie

New Member
Munster

Posts
1
#50
Gutes Tutorial, Kari


Win7 installierte ich immer nach Deinem Tutorial und hatte nie Probleme, aber ...


"Windows 8" zickt etwas rum:


Anfangs - nach dem Hochfahren - funktioniert der Datei-Explorer einwandfrei. Später sucht er unendlich und im Navigationsbereich sind nur die Bibliotheken und die Heimnetzgruppe mit animierten Such-Symbolen zu sehen (Computer fehlt); der Inhaltsbereich ist leer. Wenn ich dann die Systemsteuerung öffne, sehe ich auch nur ein weißes Fenster. Nach einem Neustart ist alles wieder OK.


BS:
Microsoft Windows 8, 64bit (Unbeaufsichtigte Installation: Benutzer auf D:\)




Installierte Programme:


Microsoft Office 2010 Home and Student (32 Bit)


Acronis True Image 2013, inkl. PLUS PACK 2013 (Build-Nr.5551, German)




Vielleicht weißt Du, was da falsch läuft?




Hi Kari I see you are "a Finnish immigrant in Leipzig, Germany". Therefore I try it in English (I speak little or nothing):




Good work, Kari!


I didn't have any problems with Win7, but ...


Win8, just being bitchy:


At first the "File-Explorer" works faultlessly after boot up. Later on it searches infinitely and only the Libraries and the Homegroup can be seen with encouraged searching symbols in the "Navigation pane"; the "File list window" is empty. If I then open the "Control Panel", I also see only a white window. After restarting everything is OK again.


OS:
Microsoft Windows 8, 64 bits, Unattended installation (User on D:\)


Installed programes:
Microsoft Office 2010 Home und student (32 bits.)
Acronis True image 2013, incl. PLUS PACK 2013, (build Nr.5551, German.)


Perhaps you know what wrongly runs there?
 

My Computer

System One

  • OS
    Windows 8 (64 Bit)

BruceBanner

Member
Member
Posts
45
#51
Well i have just followed this step (http://www.eightforums.com/tutorial...le-folder-drive-registry-key-windows-8-a.html) to no avail, i still can't change or edit files. I tried changing id3 tag details in a song, same deal :( denied.
I noticed that if I un-tick 'Read Only' it comes back, even tho I am Administrators Group.

It gets worse, my old 'My Documents' from win xp (on a seperate drive) only has My Pictures and My Music, I must have deleted 'My Documents and other files (like excel etc) along the way. SO although I can replace my music and pictures and gain full access control to these files again, it seems i have lost any editing rights to everything else in documents :(

I really need a comprehensive full proof way to gain access back to these files. Can anyone help? The lack of response makes me think I should create a new thread elsewhere to try and get some assistance?
 

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

XP1

Member
Member
Posts
14
#52
Well i have just followed this step (http://www.eightforums.com/tutorial...le-folder-drive-registry-key-windows-8-a.html) to no avail, i still can't change or edit files. I tried changing id3 tag details in a song, same deal :( denied.
I noticed that if I un-tick 'Read Only' it comes back, even tho I am Administrators Group.

It gets worse, my old 'My Documents' from win xp (on a seperate drive) only has My Pictures and My Music, I must have deleted 'My Documents and other files (like excel etc) along the way. SO although I can replace my music and pictures and gain full access control to these files again, it seems i have lost any editing rights to everything else in documents :(

I really need a comprehensive full proof way to gain access back to these files. Can anyone help? The lack of response makes me think I should create a new thread elsewhere to try and get some assistance?
What user was granted ownership? Try granting ownership to the "Everyone" user group.

Why does your files reset to read only? That's weird. Do you have any software that could be doing that? Try disabling read only in safe mode, and see if it resets back to read only while in safe mode.
 
Last edited:

My Computer

System One

  • OS
    *

BruceBanner

Member
Member
Posts
45
#53
What user was granted ownership? Try granting ownership to the "Everyone" user group.

Why does your files reset to read only? That's weird. Do you have any software that could be doing that? Try disabling read only in safe mode, and see if it resets back to read only while in safe mode.
I tired all that. My solution was this: I found i could copy the files to another HDD and edit them there, so i copied all the files/folders that i needed to another hdd. Then when i was sure i had everything i formatted hdd that had the files that were access denied and then copied them back to the newly formatted hdd. A bit of work but prolly best.
 

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

PC Pilot

Member
Member
Posts
20
#54

My Computer

System One

  • OS
    Windows 8 Pro
    System Manufacturer/Model Number
    Self Build
    CPU
    I7 920
    Motherboard
    Asus P6T7 WS SuperComputer with U3S6 Controller Card
    Memory
    6GB Corsair Dominator (3 X 2G) PC3 15000 DDR3
    Graphics Card(s)
    Asus GTX 560 Ti DirectCU II - ENGTX560 Ti DCII2DI1GD5
Posts
7
#55
PC Pilot -- Did you follow Kari's advice to omit from your script the line which refers to "program data"? It appears that if you move both "program data" and "users" (which worked fine with Windows 7), that Metro apps won't work. So from your "relocate.xml" script, delete the line (currently line 7): <ProgramData>e:\ProgramData</ProgramData> . This has worked fine for me; "program data" lives on the C: drive, "users" on D: and Metro apps work fine (though I haven't yet found any that I like!)
 

My Computer

System One

  • OS
    Windows 8

XP1

Member
Member
Posts
14
#56
PC Pilot -- Did you follow Kari's advice to omit from your script the line which refers to "program data"? It appears that if you move both "program data" and "users" (which worked fine with Windows 7), that Metro apps won't work. So from your "relocate.xml" script, delete the line (currently line 7): <ProgramData>e:\ProgramData</ProgramData> . This has worked fine for me; "program data" lives on the C: drive, "users" on D: and Metro apps work fine (though I haven't yet found any that I like!)
Instead of re-sysprepping, you could also do this:
http://www.eightforums.com/tutorial...her-partition-disk-2.html?p=130111#post130111

Afterwards, you can just create a new user account.
 

My Computer

System One

  • OS
    *

denwise

New Member
Posts
2
#57
Kari,

I followed the tutorial, with the following changes: 1.) My DVD drive is D: 2.) I omitted Row 7 (did not relocate ProgramData) 3.) I changed line 11. to <cpi:eek:fflineImage cpi:source="wim:D:/sources/install.wim#Windows 8 PRO" xmlns:cpi="urn:schemas-microsoft-com:cpi" />.

After running the script, the system rebooted and required me to reenter the product key. I did and the program said it was invalid, although it was valid for the original install. (My original install was a clean install with disk format over an XP SP3 installation with a Win8 Pro x64 upgrade CD.) I chose "Skip" and created a local profile "Test," which I deleted after entering my own "Dennis" profile.

My "Dennis" profile has changed as follows: My account picture is gone. IE will not launch from either Metro or Desktop. IE and library icons are missing from the taskbar in Desktop view. PowerDVD 10 will not launch.

Any help you can offer in repairing these problems will be appreciated.
 

My Computer

System One

  • OS
    Windows 8 Pro
    CPU
    Intel Core i5-3570K Ivy Bridge 3.4GHz
    Motherboard
    ASRock Z77 Pro4-M 1155 mATX HDMI SATA 6Gb/s USB 3.0 Micro ATX Intel
    Memory
    G.SKILL Ripjaws Series 16GB (2 x 8GB) 240-Pin DDR3 SDRAM DDR3 1600
    Hard Drives
    OCZ VTX3-25SAT3-120G Vertex 3 Solid State Drive - 120GB, 2.5", SATA III (Boot) and Western Digital WD30EZRX Caviar Green 3 TB SATA III with 64 MB Cache
    PSU
    PC Power and Cooling Silencer MK III 400W Modular 80PLUS Bronze
    Case
    Silverstone Tek GD05B-USB3.0 Aluminum/Steel Micro ATX HTPC Computer Case with 2X USB3.0 Front Ports

XP1

Member
Member
Posts
14
#58

My Computer

System One

  • OS
    *

denwise

New Member
Posts
2
#59
My "Dennis" profile has changed as follows: My account picture is gone. IE will not launch from either Metro or Desktop. IE and library icons are missing from the taskbar in Desktop view. PowerDVD 10 will not launch.

Any help you can offer in repairing these problems will be appreciated.
Did you try this?:
http://www.eightforums.com/tutorial...her-partition-disk-2.html?p=130111#post130111

Afterwards, you can just create a new user account.
Yes, thank you. I don't remember the precise wording of the error that resulted. It was something like "Cannot create a file where a file of the same name already exists."

I then created a new primary user file and deleted my original primary user file. This corrected just about everything, except WMC no longer accesses my HDHR Prime TV tuners. Guide info is there. I'm trying to sort this out and will post any resolution that I come up with. I will also appreciate any sueggestions. Thanks again.
 

My Computer

System One

  • OS
    Windows 8 Pro
    CPU
    Intel Core i5-3570K Ivy Bridge 3.4GHz
    Motherboard
    ASRock Z77 Pro4-M 1155 mATX HDMI SATA 6Gb/s USB 3.0 Micro ATX Intel
    Memory
    G.SKILL Ripjaws Series 16GB (2 x 8GB) 240-Pin DDR3 SDRAM DDR3 1600
    Hard Drives
    OCZ VTX3-25SAT3-120G Vertex 3 Solid State Drive - 120GB, 2.5", SATA III (Boot) and Western Digital WD30EZRX Caviar Green 3 TB SATA III with 64 MB Cache
    PSU
    PC Power and Cooling Silencer MK III 400W Modular 80PLUS Bronze
    Case
    Silverstone Tek GD05B-USB3.0 Aluminum/Steel Micro ATX HTPC Computer Case with 2X USB3.0 Front Ports

PC Pilot

Member
Member
Posts
20
#60
Hi Everyone, and thank you all for responding:)

Originally Posted by patrickd314
PC Pilot -- Did you follow Kari's advice to omit from your script the line which refers to "program data"? It appears that if you move both "program data" and "users" (which worked fine with Windows 7), that Metro apps won't work. So from your "relocate.xml" script, delete the line (currently line 7): <ProgramData>e:\ProgramData</ProgramData> . This has worked fine for me; "program data" lives on the C: drive, "users" on D: and Metro apps work fine (though I haven't yet found any that I like!)
Yes, in line with Kari's suggestion I omitted the line referring to ProgramData thus it resides in its default location of C:\ProgramData

Instead of re-sysprepping, you could also do this:
http://www.eightforums.com/tutorial...her-partition-disk-2.html?p=130111#post130111

Afterwards, you can just create a new user account.
Have created directory junctions as you suggest....see below...

To summarise the issue/actions/current position.....

Windows 8 Pro (X64) was installed by way of a clean install utilising audit mode to configure the User Profile folder location to a new partition on a secondary drive (D:\Users). The 'main' user profile (the one with the issue) was then further configured using the profile list keys within registry to place User 'Neil' at the root of D: (e.g. "D:\Neil") a location used since the release of Windows XP! Individual folders within this profile have been further customized using the 'location' tab (e.g. "D:\Neil\Neil's Filing Cabinet\Neil's Documents" etc.) though this is probably not relevant!

Additionally, directory junctions have been created (mklink /j) and verified in respect of D:\Neil with D:\Users........and although probably not necessary D:\Neil with C:\Users

The situation is now as follows
:

1. All user accounts are assigned 'administrator' privileges
2. User profiles created under the D:\ partition (e.g. "D:\Users\Emma" etc.) function normally with Store sign in and working Modern (Metro) Apps
3. The "D:\Neil" profile functions correctly except for Store sign in and functioning Modern (Metro) Apps.
4. Attempts to sign in to the store using an MS account fails with a self retuning sign in loop.
5. Attempts to bypass and download (even free) Apps continually fail with the message "Something Happened and this app couldn't be installed".
6. Attempts to use any metro app results in a return loop back to the tile icon from full screen icon version without
opening the app.:confused:

Am I overlooking something obvious?? Could it be a permissions issue, if so where??:think:

Awaiting any further thoughts with much anticipation:thumb:

PC Pilot

EDIT.....I have done a little more experimenting and created a new profile 'Test' in the default location of D:\Users\Test

The Following Applies:

1. All aspects function as expected

2. Signed out and signed into administrator account.

3. Following 4. Now Copied "Test" folder and contents from D:\Users\Test to "D:\Test"

5. Using the "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList - ProfileImagePath" registry key modified the Path for the "Test" profile from "D:\Users\Test" to "D:\Test"

6. Signed back into Test Profile and verified the location of the "Shell Folders" was "D:\Test\Documents" etc.

7. Tried the Metro Apps same symptoms as I am experiencing and unable to download or install any apps or sign in to the store.

Hope this narrows things down to just the path change behind the issue

PC Pilot
 
Last edited:

My Computer

System One

  • OS
    Windows 8 Pro
    System Manufacturer/Model Number
    Self Build
    CPU
    I7 920
    Motherboard
    Asus P6T7 WS SuperComputer with U3S6 Controller Card
    Memory
    6GB Corsair Dominator (3 X 2G) PC3 15000 DDR3
    Graphics Card(s)
    Asus GTX 560 Ti DirectCU II - ENGTX560 Ti DCII2DI1GD5