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

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.

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.
  • 4
2 Solutions
Mike KlineCommented:
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
PivnardoAuthor Commented:
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.
PivnardoAuthor Commented:
Thank you for the assistance.  I however found a solution that is amazing compared to using profile copy and restarting .... bla ... bla ... bla ....
PivnardoAuthor Commented:
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)

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

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

[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.
PivnardoAuthor Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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