User Profiles - Relocate to another Partition or Disk

How to Relocate User Profiles to another Partition or Disk in Windows 8

information   Information
The method described in this tutorial allows relocating user profiles and folders already while installing Windows 8, before any user accounts are created, as well as after installation on an already installed system.

The advantage of this method is that it changes some internal Windows 8 environment variables, being a “Do it once and forget” procedure. Changing the variables takes care of all existing and future user profiles, locating them when created to selected drive or partition. The method is fail proof and reversible.

When Windows 8 is installed, 5 or 6 system folders are created depending on chosen bit-version:
  • PerfLogs (Performance Logs), where Windows stores performance and reliability logs
  • Program Files, where applications and software are installed. Windows x86 (32-bit) stores all applications here, Windows x64 (64-bit) only native 64-bit applications
  • Program Files (x86), exists only in Windows x64. All non-x64 applications are stored here
  • Windows, which contains core operating system files and drivers
  • ProgramData, where some applications store application and user specific settings and configuration files.
  • Users. This is the “home” of all user profiles. When a new user account is created and this new user logs in first time, Windows creates a set of user specific folders (Users\Username)

Microsoft does not recommend relocating, moving ProgramData, Program Files, Program Files (x86) and Windows folders. Too much is depending on information and data stored on these folders. However, there's simply nothing preventing us to move the Users folder. In this tutorial we show how to move (relocate) the Users folder by changing an internal Windows Environment Variable.

Moving Users folder can save a lot of space on system disk. Pictures, mp3’s videos, documents and so on, a user folder with its subfolders can be tens, sometimes hundreds of gigabytes.

Personally, when installing Windows 8 I always use Audit Mode to relocate Users folder, leaving system drive only for Windows and applications.



Note   Note
Screenshots from pre-release version Windows 8 Consumer Preview. Actual Windows 8 has different colors but the functions are the same, tutorial can be used as it is.



warning   Warning

An upgraded Windows cannot be sysprepped. As this method is based in sysprepping, this tutorial is valid only for Windows setups which have not been upgraded.

This means that if you have for instance in-place upgraded Vista or Seven to Eight you cannot sysprep and this tutorial cannot be used in your case. The same applies if you have upgraded Windows 8 to Windows 8 Pro or Windows 8 to 8.1.

Notice that a repair install is also an upgrade install, so if you have ever done a repair install (= in-place upgrade to same edition), you cannot sysprep.

When sysprepping an existing Windows setup, it only works if the Windows 8 was installed clean and has never been upgraded or repaired using repair install, or if it is the original pre-installed Windows 8

Although I have repeatedly told that relocating ProgramData will cause Windows Store and Apps as well as PC Settings not to function, people keep doing it using the method described in this tutorial.

DO NOT RELOCATE PROGRAMDATA! YOUR WINDOWS STORE AND APPS WILL NOT WORK IF PROGRAMDATA IS MOVED FROM ITS DEFAULT LOCATION.




1.Audit Mode

1.1. Boot to Audit Mode when installing Windows 8


(If you have already installed Windows 8, continue from step 1.2.)

Start Windows 8 installation normally.

When installation after a reboot or two is completed and Windows 8 comes to Personalize page (see screenshot below) press CTRL + SHIFT + F3 (press and hold down CTRL and SHIFT, press F3 still holding CTRL and SHIFT down, release all three keys).


Win8_RelocateUsers_012.png

DO NOT ENTER PC NAME HERE OR CLICK NEXT! Just press CTRL + SHIFT + F3.

Your computer reboots now. Don’t panic, it’s just doing what it really should do. Windows 8 starts now in so called Audit Mode, using built-in administrator account to let you to modify Windows before any user profiles and user specific folders are created.

Continue from step 2.


1.2. Boot to Audit Mode from existing Windows 8 installation

First you need to open Command Prompt using built-in administrative account: hover pointer over bottom left corner of the desktop, right click to open Start Menu , select Command Prompt (Admin):

Win8_RelocateUsers_005.png Win8_RelocateUsers_006.png

Command Prompt window opens. Type this to command prompt:
Code:
[B]C:\Windows\System32\Sysprep\Sysprep.exe /audit /reboot[/B]

Win8_RelocateUsers_015.png

Hit Enter.Windows reboots now to Audit Mode, "thinking" it's been started first time. Text Preparing can be seen on screen.

If you are interested to know more about Audit Mode, here are some links for you to read:




2. Audit Mode

Windows has now booted in Audit Mode using built-in administrator account, and you should see Metro interface. Click Desktop to enter classic Windows desktop:

Win8_RelocateUsers_003.png

To start, click Cancel to close System Preparation Tool:

Win8_RelocateUsers_004.png


If you don’t have a second internal hard disk or you have not created and formatted an extra partition on your system disk, you need first to create one. Notice that the drive or partition don't have to be empty, but especially if relocating on an existing installation it must be big enough to allow Users folder to be moved there. When we sysprep with answer file on next step these two folders are physically moved to new location.

If you already have a formatted second HD or partition, you are ready to go.


2.1. Creating an answer file (script) for System Preparation Tool

Audit Mode lets us to start Windows without creating any user accounts. At the moment we are using the built-in administrator account. Your own accounts are created later.

We are going to use System Preparation Tool (sysprep) to run an XML-script (so called Answer file) which modifies the Windows registry and settings as we want to, relocating Users folder to another partition, E: in this example, by changing a so called Windows Environment Variable. You can of course use any internal drive you want to.

Extensible Markup Language (XML) is a set of rules for encoding documents in machine readable form.
To make changes to Windows registry, we will now create a script in XML and run it with sysprep.

Open Windows Notepad text editor (press Win + R, type Notepad, hit Enter). Type the following script, or copy it from here and paste to Notepad (please do not forget to read the notes below code lines 4, 6 and 11 regarding said lines):


  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  3. <settings pass="oobeSystem">
  4. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm=[noparse]"http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"[/noparse]>
    Note   Note
    (If you are installing Windows x64 (64-bit), value prosessorArchitecture should be amd64​, also on Intel processors. For x86 (32-bit) it should be x86.)

  5. <FolderLocations>
  6. <ProfilesDirectory>e:\Users</ProfilesDirectory>
    Note   Note
    In this example the new location of Users would be E:\Users. Change the drive letter according your needs.

  7. </FolderLocations>
  8. </component>
  9. </settings>
  10. [noparse]<cpi:eek:fflineImage[/noparse] cpi:source="wim:F:/sources/install.wim#Windows 8" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    Note   Note
    (Change the drive letter in wim:F: to that of your CD/DVD drive, USB stick or virtual drive containing your Windows 8 installation media (DVD/ISO). Notice that installation media has to be available to system when running sysprep. Change Windows version accordingly, Windows 8, Windows 8 Pro, Windows 8.1 or Windows 8.1 Pro.

  11. </unattend>
(Please leave the row numbers out when typing or copying the above code. Answer file generated with Windows System Image Manager).

If you are installing Windows 8 PRO x64 from CD/DVD/USB F: and relocating Users to E: you don’t have to change anything, you can use the script as it is.

Select Save As from Notepad’s File menu. Select Save as type: All Files. Name the file as you want, add .xml extension to the filename. Save the script to the root of any drive:

SaveAs.png

Alternatively you can download the answer file here: View attachment relocate.rar

2.2. Using System Preparation Tool

Open the Start Menu (Win + X), select Command Prompt (Admin).

First stop the Windows Media Player Network Sharing Service (WMPNetworkSvc) by giving the following command:
Code:
net stop WMPNetworkSvc

When the service has stopped, type the following to the command prompt and press
Enter to move to the right folder:
Code:
cd c:\Windows\System32\Sysprep

Win8_RelocateUsers_007.png

Now type the following and press Enter (notice the name and path of the script we created above, change it if needed. I saved answer file on E so the path is E:\relocate.xml):
Code:
Sysprep.exe /audit /reboot /unattend:E:\relocate.xml

Win8_RelocateUsers_008.png

You should now see System Preparation Tool dialog telling it is working on our script:

Win8_RelocateUsers_010.png

Let it run, don’t touch mouse or keyboard now. When System Preparation Tool is ready, Windows must and will reboot. It reboots back to Audit Mode.


2.3. Exiting Audit Mode

To continue Windows installation we have to exit Audit Mode and reboot. After reboot you’ll land back on Metro interface. Click Desktop to enter classic Windows desktop, click OK on System Preparation Tool dialog to boot normally in OOBE i.e. normal mode.

Before clicking OK, check that System Cleanup Action is set to OOBE, and Shutdown Options set to Reboot:

Win8_RelocateUsers_009.png



3. Finalizing installation

Finalize Windows installation.

If you did this from an existing Windows installation, you will notice that for your Windows this is as if it were the first time Windows was booted i.e you are back on OOBE boot, inserting product key and personalizing Windows. It also means that you have to enter so called initial user. In this case Windows does not accept any of the users created earlier, whether local or Microsoft accounts; instead you need to create a new user.

An example from this PC I am using now: I had already created two users and installed software when I decided to do sysprep to relocate Users. I had a local account for me and an Microsoft account using my email address. After finalizing sysprep, I needed to create a third user Test because system does not let me to use either Kari (local account) or Kari (Microsoft account) usernames because those accounts already existed on this PC.

So I created user Test (local), then from Welcome screen logged in as Kari (Microsoft account) and simply deleted the new Test account which I had just created. An extra step, small annoyance but there's nothing to do to avoid it.

When Windows finally boots first time to Start Screen you will see that Users folder is now located on the new drive or partition with all its subfolders.

When you check your system drive [noparse](C:) still [/noparse]contains Users folder. The old, original Users on C: can contain some Windows Store information that may not be moved, so let the old Users folder stay on C:. It will no longer grow, all new user data will be stored on a new location, but it is essential it remains on C:. You can hide it if you want, you are never again going to need it.

Notice that Users folder is not created on or moved to new location when you return to Audit Mode after running sysprep. Relocation will first happen when you exit Audit Mode and boot to OOBE (Welcome) mode to continue installation. If done on an existing system the first OOBE boot after sysprepping can take quite a long time, depending on how big those folders are that sysprep is physically moving to new location.

Remember also that when you create a new user profile the user folders are not created before the new user logs in first time.

That’s it, folks! Welcome to the Windows 8:


Win8_RelocateUsers_016.png

Win8_RelocateUsers_017.png

Now create a system image and you wont have to ever again remember jumplists and links everytime you restore the system to earlier point or system image. User account folders are now permanently moved to another drive, all new user profiles are automatically created on this new location and your system drive won’t be full so soon.

Thanks for reading.

Written and published on 02[SUP]nd[/SUP] of March 2012
Edited and updated on 6[SUP]th[/SUP] of February 2013
Edited, answer file's validity checked on 14[SUP]th[/SUP] of April 2013
Added instructions for Windows 8.1 Pro preview on 29th of June 2013


Kari



 

Attachments

  • Win8_RelocateUsers_014.png
    Win8_RelocateUsers_014.png
    16.2 KB · Views: 1,551
  • 2013-06-29_122425.png
    2013-06-29_122425.png
    6.4 KB · Views: 2,075
  • 2013-06-29_122904.png
    2013-06-29_122904.png
    7 KB · Views: 1,867
Last edited by a moderator:
Hi,
I wonder if I have to have an installation DVD/USB Iso to use this way? I do have Win 8 installed, but I didn't get any recovery disk. If I do have to have this installation disk, how can I generate one? I am owing a legal copy of Win8.

Best regards
Sebastian

Hello Sebastian, and welcome to Eight Forums.

In addition, if you have a Windows 8 product key, then you can download a Windows 8 ISO anytime from Microsoft. The tutorial below can help show you how to. :)

http://www.eightforums.com/tutorials/18309-windows-8-upgrade-iso-download-create.html
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
I ran into a situation where a user had a new dell xps 8500 with windows 8. They failed to create the recovery disks and had a virus that was locking them out of the system. They needed boot media to do a recovery. Would creating media by this method work to initiate a recovery on an an existing OEM build?
 

My Computer

System One

  • OS
    W8.1 Pro 64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom Build Desktop
    CPU
    Core I7-4770 Haswell
    Motherboard
    Intel DH87RL
    Memory
    16GB
    Graphics Card(s)
    Onboard 4600 with (3) DVI monitors
    Sound Card
    On board
    Monitor(s) Displays
    (3) 19" LG L1942PE DVI
    Screen Resolution
    1280 x1024
    Hard Drives
    HD Green 4TB

    Samsung SSD
If you are having issues with your METRO Apps or Tiles working correctly after moving your folders from your SSD, READ ON!

I wanted to share this possible solution since I followed Kari's tutorial to move only the USERS folder to D drive (HDD).

If all the other ideas don't work...try this: I have my users folder on a SSD, so if you don't have a SSD use C:

Add the All_Application_Packages userID to this folder's security (right click on it, properties, security tab, etc)

d:\Users\Brent\AppData\Local\Packages

And give the folder ALL but FULL control, which is read, list, create, write, etc. (don't worry about special permissions)
This is the trick that made all my Apps work again, after performing the folder move yesterday with SYSPREP and having the apps start failing after awhile.

Hope it works for you, your mileage may vary, and I'm not sure how long the setting will last.
 

My Computer

System One

  • OS
    Win8
    CPU
    3770K
Hello Sebastian, and welcome to Eight Forums.

In addition, if you have a Windows 8 product key, then you can download a Windows 8 ISO anytime from Microsoft. The tutorial below can help show you how to. :)

http://www.eightforums.com/tutorials/18309-windows-8-upgrade-iso-download-create.html

Hi,
Thanks to both of you for your quick answers and for your warm welcome too.

I have an Asus UX31A with WIN8 installed. It is said, that there is a recovery partition. But I don't know yet how to access it or even how to burn a DVD from it.

The Windows 8 Upgrade did not work for me. Two days ago, I tried already, but back then there was a message, that this service is not possible for my country (I am living in Germany). Today when I enter my Product Key - which I got with the help of "ProduKey" - the upgrade manager tells me, that there is something wrong with the key.

Do you have any ideas on
1. What did I do wrong with the upgrade manager
2. how I can get the recovery partition as an .iso file?

I also asked Amazon today to send me a recovery DVD.

Best regards
Seb
 

My Computer

System One

  • OS
    Win8
I hope this hasn't been answered elsewhere... but when creating the relocate.xml - line 11, should I rename this to actually say "Windows 8 Pro" (I assumed it was Pro as when looking on the Microsoft website and all my upgrade paperwork it never states Professional like Windows 7 Professional did...). Just making sure, since the guide seems specific to the preview and Developer version (not sure what the difference between those and the RTM versions are) :)


Also - just to verify that my reading comprehension isn't shot... even if I am doing a FRESH install without keeping the old stuff, if I move the ProgramData folder then that will lock me out of using the Windows Store and purchasing new apps correct? (Which if that is the case I will not be moving it... but I would prefer to move it off the main SSD)
 
Last edited:

My Computer

System One

  • OS
    Windows 8
    System Manufacturer/Model
    Custom Built
    CPU
    Intel i5 3570K
    Motherboard
    Gigabyte Z77X-UD5H
    Memory
    8GB G.SKill RipJaws 1600
    Graphics Card(s)
    Intel HD4000 Graphics
    Monitor(s) Displays
    Acer G24
    Screen Resolution
    1920x1200
    Hard Drives
    Crucial M4 512GB
    Raid 0 WD Blacks 750GBx2
    WD Green 1TB
    PSU
    Silverstone ST1000
    Case
    Case Labs MH10
    Cooling
    Custom Watercooling Loop
    Keyboard
    Hewlett Packard KB-0316
    Mouse
    Logitech Marathon M705
    Internet Speed
    Cable
Kari -
Thanks for all the details --- most everything worked ok - new partition now shows Users and inside are all users and libraries etc.

BUT ....

My "live tile" on "metro?" for my email now does not function - I click on it, it spins open, waits a moment, then closes without ever accessing my email.

What advice??

Thanks,

Tim
 

My Computer

System One

  • OS
    Win-8
    System Manufacturer/Model
    Dell inspiron 560
    CPU
    Intel Core Quad CPU Q9300 2.5 GHz
    Memory
    6 GB
I hope this hasn't been answered elsewhere... but when creating the relocate.xml - line 11, should I rename this to actually say "Windows 8 Pro" (I assumed it was Pro as when looking on the Microsoft website and all my upgrade paperwork it never states Professional like Windows 7 Professional did...). Just making sure, since the guide seems specific to the preview and Developer version (not sure what the difference between those and the RTM versions are) :)
Thanks for pointing out the obvious outdated information on my tutorial. I hadn't realized this tutorial was already written when we were still using pre-releases, had forgotten to modify it.

I have updated the answer file (script) in tutorial. Again, thanks!


Also - just to verify that my reading comprehension isn't shot... even if I am doing a FRESH install without keeping the old stuff, if I move the ProgramData folder then that will lock me out of using the Windows Store and purchasing new apps correct? (Which if that is the case I will not be moving it... but I would prefer to move it off the main SSD)
I am going to do some tests later today (or latest this weekend :geek:), please allow me some time and come later to see how the tests went.

Kari -
Thanks for all the details --- most everything worked ok - new partition now shows Users and inside are all users and libraries etc.

BUT ....

My "live tile" on "metro?" for my email now does not function - I click on it, it spins open, waits a moment, then closes without ever accessing my email.

What advice??

Thanks,

Tim
I would recommend you to setup Windows 8 with a temporary user profile, a Microsoft account you do not normally use. Any Hotmail, Live or Outlook.com address will do.

Set up Windows using this temporary user profile. When finally Windows is installed and running, create your real user profile and user account. Reboot and it should work. However, on Windows 8 relocating ProgramData can bring some issues later with Store and Start Apps, so I do not recommend it.

If you have already installed Windows 8 and are sysprepping later, moving Users (and ProgramData) and you get some Store or Start App issues, you could try this:
  • Backup your personal data
  • Create a temporary user profile as told above
  • Logoff your main profile you just backed up
  • Login using the temporary user profile
  • Delete your main user profile
  • Reboot, login to temporary profile
  • Recreate your main profile using the same Microsoft account (email)

I would also like you to read this post about Windows 8 user profiles: http://www.eightforums.com/tutorial...ate-another-partition-disk-10.html#post180625.

Tip   Tip
On our sister site The Seven Forums we fixed an OP's similar issue, an app refusing to recognize new ProgramData location on Windows 7 simply by linking the original ProgramData (C:\ProgramData) and new relocated one (X:\ProgramData) using mklink command.

Read this post to see how, you could try if this solves your Store and / or Start App issues: User Profiles - Create and Move During Windows 7 Installation - Page 54 - Windows 7 Forums


Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    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.
Thanks Kari, I will come back and check it out later - I honestly wouldn't have noticed that difference except I had used the previous Windows 7 script on two fresh installs last week and noticed that for the most part everything else was similar.
 

My Computer

System One

  • OS
    Windows 8
    System Manufacturer/Model
    Custom Built
    CPU
    Intel i5 3570K
    Motherboard
    Gigabyte Z77X-UD5H
    Memory
    8GB G.SKill RipJaws 1600
    Graphics Card(s)
    Intel HD4000 Graphics
    Monitor(s) Displays
    Acer G24
    Screen Resolution
    1920x1200
    Hard Drives
    Crucial M4 512GB
    Raid 0 WD Blacks 750GBx2
    WD Green 1TB
    PSU
    Silverstone ST1000
    Case
    Case Labs MH10
    Cooling
    Custom Watercooling Loop
    Keyboard
    Hewlett Packard KB-0316
    Mouse
    Logitech Marathon M705
    Internet Speed
    Cable
Infinite Audit boot loop! Help!

Help! I followed your instructions (post installation) and I'm stuck in an endless loop! I can't even access the option to reset my system to factory default! :-(

I keep getting to the login screen in Audit mode, but when I try to sign in, I get the error:

Windows could not parse or process unattend answer file
[c:\Windows\Panther\unattend.xml] for pass [auditUser]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Deployment].

How do I break out of the Audit mode infinite loop to reset my system to factory default?

Thanks in advance...
 

My Computer

System One

  • OS
    Windows 8, duh?
Hi Kari,

I prepared a recovery stick by use of the windows native tools. How can I check if this recovery partition is usefull for your routine? If I start your routine and the stick is not working properly, can I stopp the prozess and return to my previous settings?

Best regards
Seb
 

My Computer

System One

  • OS
    Win8
Hi Kari, I just found your tutorial and it looks like it solves my problem nearly completely :). Meaning: I have to relocate ProgramFilesDir (Program Files and Program Files (x86)) to another Drive too. Is there a way to define this in your relocate.xml?
I have searched TechNet but did not found it. I know that it is not recommended by Microsoft. But I have all my PC running with Windows on drive C:, Users and ProgramData on Drive E: and Program Files on Drive D:. There is no problem in Windows 7. It is stable and running without any errors. Now I am looking for a way to upgrade to Win8 without having a complete New Installation, which would be a lot of work due to the reinstallation of all the software.
Thanks, Rainer
 

My Computer

System One

  • OS
    windows 7 pro
    System Manufacturer/Model
    Own Build
    CPU
    Intel i7 Extreme 990X
    Motherboard
    ASRock X58 Extreme6
    Memory
    12mb
    Graphics Card(s)
    NVIDIA GeForce GTX 560 TI
    Sound Card
    on Board
    Monitor(s) Displays
    Samsung 24"
    Screen Resolution
    1920x1290
    Hard Drives
    3 x SSD, 2 x HDD (Raid 0)
    Cooling
    Water
    Keyboard
    Logitech k750
    Mouse
    Logitech
    Internet Speed
    25mb
Hi Rainer, welcome to the Eight Forums.

I had this discussion just a few days ago at our sister forums, Windows 7 Forums. As the answer and arguments leading to it are exactly the same on Windows 8 than on Seven, I just copy that discussion here instead of typing it all again ;).

The discussion on Seven Forums starts from this post: User Profiles - Create and Move During Windows 7 Installation - Page 55 - Windows 7 Forums

Would it be possible to include both the Program Files folder and the Program Files (x86) folder in the XML or would that break something for Windows.
It is a difficult task which includes quite a lot tinkering with junctions and symbolic links. I have played with it enough to understand to totally forget the idea.


Due to it's complexity and numerous ways it can go wrong I have not included this procedure in my tutorial, and I will not in any circumstances offer support or advice on this subject. Call me chicken if you want to ;) but I do not want to spend my evenings answering all those "Oh s*** it totally messed my Windows!" posts.


To give you an idea how to start if you want to research the issue by yourself, type mklink /? on command prompt to get started with linking folders. These articles might help, too:


There are some third party applications to move installed apps from system drive to another drive. See this article about one of these: SSD Boost Manager Seamlessly Moves Files and Programs Between Hard Drives


My solution is to manually edit installation path when installing new apps. Honestly, how often do you need install something? It takes a few seconds to click Browse button on setup dialog of a program to change the installation path.


Just for information, this gets even trickier on Windows 8 as Win 8 Store Apps and Store itself refuse to co-operate if ProgramData is relocated so my recommendation is to only relocate Users on Win 8.


Kari


Thanks for your response. I think I'll just count my blessings for what you've already given me and take your advice about unnecessarily fooling around with the Program Files folders. Everything is working perfectly, so I think the old adage, "don't fix it if it ain't broken", certainly applies here.

...and thanks again!
Nick


In my opinion that is a wise decision, Nick.


BTW, here's a mind game to play: Try to guess how much HD space your Program Files (and Program Files (x86) in 64-bit Windows) folder takes. When you have a figure in your mind, right click the Program Files folder icon, select properties and check.


I bet you will get surprised: It's quite small, in fact quite often a lot smaller than users assume.


Kari


Wow. You're right. Only about 2 GB and I've already got just about everything really I need in there. My Program Data and Appdata folders that were moved over to my HDD via your tutorial, however, seem, comparatively, to be growing by leaps and bounds and I expect they will collectively exceed the volume of the Program Files folders in fairly short order if they maintain the same delta.

Thanks again. I'm really satisfied with the way this setup is working out.
Nick


:)


Apps and programs are normally much smaller than we users think. Folders and files stored in Program Files only store the app itself, the static part of it.


Dynamically changing parts like user preferences, settings and so on you have already moved: user specific files to NEW_DRIVE:\Users\Your_Username\AppData\***\App_Name (hidden folder, *** here one of AppData's subfolders Local, LocalLow or Roaming) and those for all users to NEW_DRIVE:\ProgramData\App_Name (also a hidden folder).


It is common that an application's combined ProgramData and AppData takes more space than app folder itself in Program Files.


All this just to explain a bit more why I think that moving Program Files really is unnecessary.


Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    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.
Hello Kari, thank you for the quick reply :thumbsup:
Yes - moving Folders in Win 7 (and I guess Win8 is the same) is complex. It requires many changes in the Registry and a lot of Junctions. I did this on three x64 Win7 and one x86 Win7 PC's. It is a lot of work. Well - I intend to apply your procedure when updating Win7 to Win8. So the question is still - is it possible to integrate "ProgramFilesDir" into your relocation.xml?
The idea is that Win8 setup is recognizing the Programs as well as the Users and ProgramData on that different locations.
Trying to upgrade to win8 without such procedure results in ignoring all these Users ProgramData and Programs. So it is like a new install. :eek:
Regards, Rainer
 

My Computer

System One

  • OS
    windows 7 pro
    System Manufacturer/Model
    Own Build
    CPU
    Intel i7 Extreme 990X
    Motherboard
    ASRock X58 Extreme6
    Memory
    12mb
    Graphics Card(s)
    NVIDIA GeForce GTX 560 TI
    Sound Card
    on Board
    Monitor(s) Displays
    Samsung 24"
    Screen Resolution
    1920x1290
    Hard Drives
    3 x SSD, 2 x HDD (Raid 0)
    Cooling
    Water
    Keyboard
    Logitech k750
    Mouse
    Logitech
    Internet Speed
    25mb
Rainer, first I want to repeat what I said on that quoted thread on Seven Forums:
Due to it's complexity and numerous ways it can go wrong I have not included this procedure in my tutorial, and I will not in any circumstances offer support or advice on this subject. Call me chicken if you want to ;) but I do not want to spend my evenings answering all those "Oh s*** it totally messed my Windows!" posts.
My reasoning as a list:
  • Microsoft has reasons not to recommend moving Windows and / or Program Files away from system drive. So much depends on these folders working flawless it is a risk not worth taking
  • Too much can go wrong. When it does go wrong it is normally serious enough to be beyond any other repair method than complete reinstall
  • The total HDD space Program Files and Program Files (x86) folders are taking is so little there is no reason to move them, at least in the sense of getting more space
I strongly recommend you not to move Program Files. If you decide to do it on Windows 8, be prepared to reinstall several times. Although it is doable and I have done it a few times on a test rig the resulting Windows 8 setup is so unstable and error-prone I have decided to give up and forget this.

I am totally completely absolutely refusing to assist in this. It's a liability issue: If (and when) something goes wrong, I am on the safe side when I know I have warned against.

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    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.
Kari - Thanks again for your answer.
OK - I understand your arguments. I am going to try it in the coming weeks (if time is free to do it). If it do not work - no problem I have a very good BackUp - and Restore - Program. :)
Have a nice WeekEnd Kari,
Rainer
 

My Computer

System One

  • OS
    windows 7 pro
    System Manufacturer/Model
    Own Build
    CPU
    Intel i7 Extreme 990X
    Motherboard
    ASRock X58 Extreme6
    Memory
    12mb
    Graphics Card(s)
    NVIDIA GeForce GTX 560 TI
    Sound Card
    on Board
    Monitor(s) Displays
    Samsung 24"
    Screen Resolution
    1920x1290
    Hard Drives
    3 x SSD, 2 x HDD (Raid 0)
    Cooling
    Water
    Keyboard
    Logitech k750
    Mouse
    Logitech
    Internet Speed
    25mb
:)

Although I have a very strict policy in this matter, it does not stop intriguing me. Please post your results!

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    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.
OK - I will
Rainer
 

My Computer

System One

  • OS
    windows 7 pro
    System Manufacturer/Model
    Own Build
    CPU
    Intel i7 Extreme 990X
    Motherboard
    ASRock X58 Extreme6
    Memory
    12mb
    Graphics Card(s)
    NVIDIA GeForce GTX 560 TI
    Sound Card
    on Board
    Monitor(s) Displays
    Samsung 24"
    Screen Resolution
    1920x1290
    Hard Drives
    3 x SSD, 2 x HDD (Raid 0)
    Cooling
    Water
    Keyboard
    Logitech k750
    Mouse
    Logitech
    Internet Speed
    25mb
Just another tale.

Windows 8 pro upgrade disk. Installed on SSD, created 2 users. Found this article and used it to move over users and programdata to subdirectories under "H:\Windows8Files"

Created new user, deleted the old ones.

Found as expected the apps wouldn't work so made following Junction usign the elevated cmd window.
"Mklink /j c:\ProgramData\Microsoft\Windows\AppRepository H:\Windows8Files\ProgramData\Microsoft\Windows\AppRepository"

This enabled me to log into the app store and download what i required.

Update functions correctly, yes early days but no problems so far. I am curious though that if i ever have to do a "refresh" or "reset" what it will do, any thoughts?

Apart from that many thanks :)
 

My Computer

System One

  • OS
    windows 8 pro 64
    Motherboard
    asus
    Memory
    4gb
    Graphics Card(s)
    560
Hi BadWulf, welcome to the Eight Forums.

I had to rep you, I believe it was the first time here I have repped a new member for his first post :). That solution is really elegant in its simplicity!

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    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.
Thank you Kari!

Grand site you have here, I had tried several solutions that broke before finding this approach so very grateful for your hard work!

Any thoughts on how splitting it off like this might affect a windows 8 "Refresh", presumably it would break it?

John
 

My Computer

System One

  • OS
    windows 8 pro 64
    Motherboard
    asus
    Memory
    4gb
    Graphics Card(s)
    560
Back
Top