Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do I install Programs with appdata on seperate drives?

24 Jan 2014   #1
JoshuaJackson85

Windows 7 Ultimate X64
 
 
How do I install Programs with appdata on separate drives?

I have a SSD for my OS and major programs (i.e. antivirus, programming tools, or any program i feel has little writing usage). I would like to install any other write intensive programs (games and what not) on my HDD. With that being said, I do not want to move my entire user profile to the HDD, as i would also like to install utilities to my SSD. The issue I run into is when installing programs to my storage drive, they will still create files/folders in my user folder on my OS drive. So the question i really need answered is can i install programs to separate drives, while also having their data write to the install location? If so, how?


My System SpecsSystem Spec
.
24 Jan 2014   #2
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Welcome to Seven Forums JoshuaJackson85.
You can use the steps in this tutorial to move only ProgramData to another drive by modifying the unattended answer file.
User Profiles - Create and Move During Windows 7 Installation

The line below highlighted in red would be left out so as to not move your User Profile.


Code:
 
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" 
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" 
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FolderLocations>
<ProfilesDirectory>d:\Users</ProfilesDirectory>
<ProgramData>d:\ProgramData</ProgramData>
</FolderLocations>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:E:/sources/install.wim#Windows 7 ULTIMATE" 
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
You can still install utilities to the SSD even if you move the user profile too though. Most installers give an option to change the installed location. I hope this helps.
My System SpecsSystem Spec
24 Jan 2014   #3
Kari

Microsoft Community Contributor Award Recipient

 

Moving ProgramData (kind of AppData for all users) can be done as Britton told above. However, to use sysprep as told in tutorial you cannot move the Appdata or a single user alone, you have to relocate the whole main profile folder Users.

Having user profiles (including AppData folders) on another drive than C: does in no way prevent installing software on any drive you'd like to.

Kari
My System SpecsSystem Spec
.

24 Jan 2014   #4
JoshuaJackson85

Windows 7 Ultimate X64
 
 
Considered it.

I have considered moving the entire user profile, but everywhere i read about it says this method will cause update issues later on.
My System SpecsSystem Spec
24 Jan 2014   #5
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

They are wrong. I have two systems installed as told in the tutorial and have had no issues at all.
My System SpecsSystem Spec
24 Jan 2014   #6
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by JoshuaJackson85 View Post
I have considered moving the entire user profile, but everywhere i read about it says this method will cause update issues later on.
That's, to put it very simple, totally BS.

I have used sysprep to relocate the Users folder on all Vista, Seven and Eight systems, starting with Vista long before Seven was published. Never had any update issues.

No other method in relocating the complete main user profile folder inclusive Temp folders, AppData, and so on is so easy and idiotproof as the sysprep method. No changing folder properties manually for each folder you want to move, no registry editing, no links and junctions. Run sysprep and it's done, all existing and future user profiles are completely relocated to another drive, saving incredible amounts of space on your C: drive.

All updates will work, without an issue (read: without an issue caused by relocated Users folder).

The one and only "no-go" is a possible future in-place upgrade installation. If you want to in-place upgrade for instance from Seven to Eight instead of doing a clean install, you need first to sysprep the Users back to C:. Again, it's an easy and idiotproof procedure.
How do I install Programs with appdata on seperate drives?-2014-01-24_19h51_39.png
Kari


My System SpecsSystem Spec
24 Jan 2014   #7
JoshuaJackson85

Windows 7 Ultimate X64
 
 
Here goes nothing.

Okay I will give the full move a try. Just a couple of question. This script states an installation disk is in the E: drive, this is after installation. Do i require a script edit? Will i still need to change my default install directory? Can you monitor this thread as I am sure I will have more questions. Thank you both for all your help.
My System SpecsSystem Spec
24 Jan 2014   #8
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Look at the PDF, you do have to change some values marked in red to match your system, i.e. drive letters, w7 type, etc. Change before saving as XML.
My System SpecsSystem Spec
24 Jan 2014   #9
Kari

Microsoft Community Contributor Award Recipient

 

As Britton said above, you edit the answer file (xml script) as you wish (new location for Users and ProgramData, location of Windows install media needed to sysprep etc.).
My System SpecsSystem Spec
24 Jan 2014   #10
JoshuaJackson85

Windows 7 Ultimate X64
 
 
I not only read it, I printed it!

Im good on that. I read post #22 as well. I just wanted to make sure the line
<cpifflineImage cpi:source="wim:E:/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
wasnt referring to a disc that wasnt present resulting in an avoidable error on my part
My System SpecsSystem Spec
Reply

 How do I install Programs with appdata on seperate drives?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Same folder on 2 seperate hard drives but act if it is the same one.
On my c drive under the folder C:\Documents and Settings\raymc,everything under that is being duplicated on a separate hard drive under E:\Documents and Settings\raymc. If I add or delete a folder or file anywhere below C:\Documents and Settings\raymc, it will add or delete that same file or...
General Discussion
Multiple booting Win7(64) + XP(32) + (possibly) Linux, Seperate drives
Hi,I'm a newbie to this. I wonder if anybody can advise me if I'm liable to have any problems with setting up a system as follows:- I have just purchased an i5 processor 3.3ghz. 2 Terrabyte drive, have also a 500 gig drive and a 300 gig drive. The motherboard will be a Gigabyte Z67? board. My idea...
General Discussion
Installing Win 7 and XP on seperate drives
Ok I have Win XP on a ide drive (still use) I bought Win7 and installed on a seperate drive (sata) I also Have a 1TB Storage drive for media, files etc... (sata) Now how do I do a dual boot with what operating system I want to start with Currently, I am disconnecting one of the drives from...
Installation & Setup
Imaging when system folders are on seperate drives
Hey guys, this is my first post on the Seven Forums. Seems like a really helpful and positive place so I thought I'd sign up and ask! I'm formatting and reinstalling Windows on my build for a clean-slate start. I just need some aid when it comes to imaging the new installation. What I'll be...
Backup and Restore
System has Two Active partitions on seperate drives-is it a problem?
I've recently installed a new system with the OS on an SSD and data on a Homegroup shared HDD. I've noticed that my shared HDD (S:) has an Active partition as well as the Active partion on my system SSD. I'm concerned that somehow the MBR has got itself installed onto the S: drive rather than the...
General Discussion
Losing Vista, Dual boot W7 and Linux on seperate drives. Help Sought.
Hi all. Up until recently I have been triple booting W7x64, Vistax64 and Linux Mintx64. Windows 7 and Linux Mint are on one 1TB drive, with Mint occupying 2 partitions that come to about 50GB. On the other 1TB drive is Vista and a couple of storage/backup partitions. Up until recently I was...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:26.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App