Solved

Anyway to change the default location for user profiles?

Posted on 2008-10-09
12
912 Views
Last Modified: 2012-06-27
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
Comment
Question by:swatgear
  • 4
  • 3
  • 2
  • +2
12 Comments
 
LVL 70

Assisted Solution

by:KCTS
KCTS earned 100 total points
ID: 22683627
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
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 200 total points
ID: 22683649
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
 

Author Comment

by:swatgear
ID: 22683661
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
 

Author Comment

by:swatgear
ID: 22683669
@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
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22683686
yeah.. please test in a machine and post the results
0
 
LVL 70

Expert Comment

by:KCTS
ID: 22683693
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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

Author Comment

by:swatgear
ID: 22683803
@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
 
LVL 70

Expert Comment

by:KCTS
ID: 22683835
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
 
LVL 6

Expert Comment

by:Leon Teale
ID: 22715343
In Active Directory under Terminal Services Profile Tab, you can set the profile path: this will then assign it when using citrix :)
0
 
LVL 2

Assisted Solution

by:Raybans
Raybans earned 200 total points
ID: 23118761
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
 

Accepted Solution

by:
swatgear earned 0 total points
ID: 23122246
@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
 
LVL 2

Expert Comment

by:Raybans
ID: 23123953
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Moving Files servers to DFS 11 42
How can I save DHCP Scopes and Reservations in PowerShell? 18 75
XenServer Snapshots and lost disk space? 6 49
Auto-Enrollment Group Policy 2 43
Citrix policies are the most efficient method to configure and tune XenDesktop environments, allowing organizations to control connection, security and bandwidth settings based on various combinations of users, devices or connection types.  Citrix …
Learn about cloud computing and its benefits for small business owners.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now