• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 927
  • Last Modified:

Anyway to change the default location for user profiles?

Hello,

I've got a Citrix server where I allocated 12GB to the C: (for OS) and 124GB to the D: (for programs and data). But little did I realize that all the user's profiles would be stored on the C: under Documents and Settings and now I'm having issues with low disk space.

Is it possible to move the location where the server puts the user profiles?


Thanks.
0
swatgear
Asked:
swatgear
  • 4
  • 3
  • 2
  • +2
4 Solutions
 
KCTSCommented:
What you can do is to use a group policy to redirect the largest part of the profiles (such as my documents) elsewhere, reducing the size of the profile considerbly and not only reducing the disk space required for the profile, but also the logon/off times as there is les sync'ing to do

see http://www.computerperformance.co.uk/w2k3/gp/group_policy_folder_redirect.htm
0
 
sk_raja_rajaCommented:
You can edit the registry key:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList

Under that key you will abunch of SID's.  Change the ProfileImagePath to what ever location you desire.  I suggest that you remove all the profiles on the server before moving them leave the system and service profiles alone.  Also after you make the change it will need to verify rights on the new location and then reboot

Here are some links on profiles and redirection:
http://support.citrix.com/article/CTX114884
http://support.microsoft.com/?kbid=232692
http://support.microsoft.com/?kbid=274443
http://technet2.microsoft.com/windowsserver/en/library/616ca5d0-cc7e-46c9-b00f-1f926506435c1033.mspx?mfr=true
0
 
swatgearAuthor Commented:
Ahhhh yes. Great idea.

So if I redirect the My Documents folder to the D: will Windows automatically move the documents there the next time they login?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
swatgearAuthor Commented:
@sk_raja_raja

I think I might like this option better as I would like to keep their profiles off the C: completely. I will take a look at your links. Thanks.
0
 
sk_raja_rajaCommented:
yeah.. please test in a machine and post the results
0
 
KCTSCommented:
Even if you do move the profiles (I never like hacking the registry on a server) I would recommend using a policy to re-direct my documents - if users build up lots of documents and these remain in the profile it can seriously impact on logon/off times as they need to be sycronised each time.
0
 
swatgearAuthor Commented:
@KCTS

How does redirecting the My Documents folder prevent the slow logon/off because of synchronization? As far as I understand it the synchronization occurs when the users comes to a new computer if they have a roaming profile. But if they have only a local profile, where is the synchronization?

Actually I'm just confused about this so please clarify so that I may understand.


Thanks.
0
 
KCTSCommented:
I had assumed the users were using a roaming profile, if this is not the case then what I said does not apply. Sorry for any confusion.
0
 
Leon TealeCommented:
In Active Directory under Terminal Services Profile Tab, you can set the profile path: this will then assign it when using citrix :)
0
 
RaybansCommented:
HKEY_LOCAL_Machine\Software\Microsoft\WindowsNT\CurrentVersion\ProfileList

REG_EXPAND_SZ key named ProfilesDirectory

default is %systemroot%\Documents and Settings

if you change this to E:\Documents and Settings
all NEW profiles will be created in the new folder structure, but the existing profiles will remain the same.
0
 
swatgearAuthor Commented:
@hexemes

I just tested this out and this doesn't prevent the usage of C:\Documents and Settings\. This modification just stores the roaming profile somewhere and when the user logs in the profile is copied to C:\Documents and Settings\.

@raybans

I think that this would be the optimum solution except that I've been told I should be careful about this on a Terminal Server because some programs refer to C:\Documents and Settings\ rather than whatever is in HKLM\Software\...\ProfileList.


What I ended up doing was moving my pagefile to another drive. That freed up almost 2GB. I'll award points to everyone who contributed.
0
 
RaybansCommented:
I have only seen one application get upset by the method I used,

and only then cause it was poorly written cheap software, and was easily fixed to point to the new "default" path

most good programs will not be hardcoded to C:\Documents and Settings\  and those that are will find that the C drive is still available.

So it really depends on the Apps your using. but my suggestion does work best on a new server that is not in production yet.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 4
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now