nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   Microsoft Windows 7 (http://www.nvnews.net/vbulletin/forumdisplay.php?f=62)
-   -   Changing profiles folder from C:\Users (http://www.nvnews.net/vbulletin/showthread.php?t=139086)

LordJuanlo 09-22-09 06:28 AM

Changing profiles folder from C:\Users
 
I'm getting new hard drives for my incoming Windows 7 installation, and I would like to use a separate drive for profiles and program data. By default, profiles are stored in C:\Users folder and program data in C:\Program Data. After a bit of googling on how to change it during Windows install, I have found that you can create an unattend.xml file to change this behaviour. You just insert your Windows 7 DVD in the drive, and put this xml file in a USB drive, so Windows setup will look for it and use it during installation.

Quote:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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:\Profiles</ProfilesDirectory>
<ProgramData>D:\Data</ProgramData>
</FolderLocations>
</component>
</settings>
</unattend>
However I have found out this warning on technet:

Quote:

This setting should be used only in a test environment. By changing the default location of the user profile directories or program data folders to a volume other than the System volume, you will not be able to service your Windows installation. Any updates, fixes, or service packs will fail to be applied to the installation. Microsoft does not recommend that you change the location of the user profile directories or program data folders.
This applies to Windows Vista, I haven't found anything saying Windows 7 has the same problem. If this happens in 7, I won't be able to install any Service Packs or fixes from Windows Update.

Has anyone tried it previously, in 7 or Vista?. Found any problems?

ViN86 09-22-09 11:17 AM

Re: Changing profiles folder from C:\Users
 
May I ask why you want to do this?

Another option is to mount one of your new hard drives inside the C:\Users folder. It won't have it's own physical letter. It would essentially be like expanding the size of your C drive.

LordJuanlo 09-22-09 11:46 AM

Re: Changing profiles folder from C:\Users
 
For me it's more comfortable and secure to have data generated by programs and games in another drive, a RAID5 drive. I know in Windows 7 is very easy to manually move my documents, my pictures and some special folders, but I also want to move program data folder, lots of games put savegames there instead of my documents.

I like your idea of mounting a drive inside C:\Users, I will look into it. I hope to do some tests in a virtual machine before trying the real thing.

ViN86 09-22-09 12:13 PM

Re: Changing profiles folder from C:\Users
 
Good idea. Hope it works, to be honest, I don't know why it wouldn't...

LordJuanlo 09-23-09 11:43 AM

Re: Changing profiles folder from C:\Users
 
I have tested the xml file under Virtual PC 2007 and it works!!!, I have created a couple of virtual drives and profiles were stored on disk D: with the folder name I have chosen. The installation didn't see the xml file until I saved it as UTF-8 instead of plain ASCII, then it worked perfectly. The entire Users and Program Data folders are now on drive D: so I can format C: without losing any of my data or program data.

After boot I have connected to Windows Update and it got a couple of updates that have installed with no problems, so it looks like those compatibility problems only affect Vista, and I have found a link (but lost it somehow) saying that this was fixed by a MS hotfix.

Will do more testing, I will reinstall 7 again formatting OS drive to see if there are any problems in re-using the user folder on D: drive.

So far so good, will let you know if I find any problems

FLMan 12-22-09 05:45 PM

Re: Changing profiles folder from C:\Users
 
So...In the past few months have you seen any ill effects based on changing the location of the user directories onto a different drive?


All times are GMT -5. The time now is 12:04 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.