Solved

Server 2000 Terminal Service Server Need To Disable any local cache of the user profiles.  Roaming profiles works but still takes up dis space when logged in.

Posted on 2010-09-02
5
322 Views
Last Modified: 2012-05-10
The 2000 Terminal Services Server is very low on C: disk space.  Was able to for quite some time be able to clean space out with temps and such.  No longer an option.  I have setup Roaming Profiles on the numerious accounts and they function as designed.  Problem is that when users log in there profile is cashed on the server's C:\docs&settings.  I have been able to make it delete on log off but that is not good at all.  The creation (copying) of the profile is time consuming and also the disk space is used when people are logged in.

I need to be able to disable ALL caching of the user profiles to the local C: drive.
0
Comment
Question by:Pivnardo
  • 4
5 Comments
 
LVL 57

Assisted Solution

by:Mike Kline
Mike Kline earned 500 total points
ID: 33589087
I think from a roaming profile standpoint the delete is what is the option.  
Have you thought about combining folder redirection with the roaming profiles?  Then some of the biggest folders would not be included.  Using both is a common practice.  An example here
http://thelazyadmin.com/blogs/thelazyadmin/archive/2005/05/15/Roaming-Profiles-and-Folder-Redirection.aspx
Thanks
Mike
0
 

Author Comment

by:Pivnardo
ID: 33589654
Thank you but the solution would make a crazy mess of my problem.  There are over 100 users.
What about maybe going with the local cache but being able to remapp to another local drive like D:\Docs & Settings ?
That would work for me too.
0
 

Author Comment

by:Pivnardo
ID: 33590244
Thank you for the assistance.  I however found a solution that is amazing compared to using profile copy and restarting .... bla ... bla ... bla ....
 
0
 

Accepted Solution

by:
Pivnardo earned 0 total points
ID: 33590247
http://www.tech-recipes.com/rx/1409/move-your-documents-and-settings-username-profile-off-of-the-c-drive/
 
Microsoft (and too many other amateurs) dump everything onto the C: drive. They aren’t cognizant of the advantages of using partitioning or logical drives.

What follows is a power user tip that allows you to relatively easily move ALL your personalized settings in C:\Documents and Settings to another partition. This is a damm sight easier than messing with TweakUI, X-Setup, etc.
I keep my settings on my D: drive. This way, if I have to wipe the C: drive to refresh Windows, I can easily get most of my settings and old files back instead of starting from ground zero. This has worked for me in Win2k and WinXP and has made systems refreshes a lot easier over the years.
Note that you’re really just changing one registry sub-key here. The rest is just to logoff the user account, copy the settings to the new location and then logon to the user account.

Step 1
1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList
2. Under this key, there will be some number of profiles (usually 6), each of these which represents a user name that you will find under C:\Documents and Settings.
3. Click on each PROFILE key entry and look at the value ProfileImagePath to identify which one represents your username.
4. Inside the registry editor, using RegEdit or a clone registry editing program (I use Registrar Lite), edit this ProfileImagePath value that represents your username and CHANGE the path to where you want to move your settings to. In my case, I wanted to move my settings from C:\Documents and Settings\USERNAME to “D:\Documents and Settings\USERNAME”.
5. Save this new path value in the registry editing program.
6. Now export the whole profile key that contains this value. You will be prompted for a file name to save the exported information to. Pick a location on your hard disk (not on the C drive) and export the key. When you finish the export and look at the output file, it should look something like this (note that exported filename locations inside the registry always represent a single “\” character with two “\\” characters)

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-220523388-484763869-725345543-1003]
"ProfileImagePath"="D:\\Documents and Settings\\USERNAME"
"Sid"=hex01,05,00,00,00,00,00,05,15,00,00,00,7c,eb,24,0d,dd,e8,e4,1c,07,e5,3b,\2b,eb,03,00,00
"Flags"=dword00000000
"State"=dword00000100
"CentralProfile"=""
"ProfileLoadTimeLow"=dword68b90756
"ProfileLoadTimeHigh"=dword01c5b12b
"RefCount"=dword00000001
"RunLogonScriptSync"=dword00000030
"OptimizedLogonStatus"=dword0000000b

7. Delete everything below your new path name. It should now look like this:

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-220523388-484763869-725345543-1003]
"ProfileImagePath"="D:\\Documents and Settings\\USERNAME"

Step 2
1. Now do a full reboot (don’t just logoff/on) and sign into the ADMINISTRATOR account
2. Copy C:\Documents and Settings\Username folder (including all sub-folders) to the new path location where the target users personal settings are to be saved (D:\Documents and Settings\XYZ in this example).
3. Logoff the Administrator account and back onto the User account
4. Run the registry file you previously exported to and edited with the .REG extension (right-click it and choose merge)
5. Reboot the computer again and logon to the USER account
6. Go to C:\Documents and Settings\Username and try to delete the complete folder structure
8. If Windows allows you to do this, then you have successfully transferred your settings to the new path location and all is well. Voila!
9. If Windows says that you can’t delete it because it or something in it is required by the system, then you’ve done something wrong. Open Regedit and make sure that you have modified the correct location for the user account and that it has been correctly updated.
10. If you have the right location and it hasn’t been updated, figure out why.
11. You might have to do a system restore if you’ve messed something up badly, so take a backup before and be prepared to do this if necessary.
12. Generally, an imaging program that can be initiated from DOS is the best way to restore everything if you run into problems.
0
 

Author Comment

by:Pivnardo
ID: 33754092
The registry modification was the solution in my case.  I do agree that folder redirection or reloating large PST/OST files would also be helpful.  In my situation it would be VERY time consuming to do so.
0

Join & Write a Comment

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

762 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

17 Experts available now in Live!

Get 1:1 Help Now