Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving Personal Folders on Terminal Server

Status
Not open for further replies.

byrne1

Programmer
Aug 7, 2001
415
US
I have a server running Terminal Services on which all of my users log in. I need to move the personal folders from the C: drive to the larger D: drive (as I am now running out of disk space on C:). How can I do this?
 
Do they link to My Documents through Active Directory?
 
Can you clarify "personal folders"? Are you referring to their My Documents and related folders, or their .pst files for Outlook?

Pat Richard, MCSE MCSA:Messaging CNA
Microsoft Exchange MVP
Want to know how email works? Read for yourself -
 
I'm talking about their personal folders on the C: drive. No, they do not link to My Documents through AD.
 
Ah - you're referring to the profiles. Now I understand.

I don't have my TS favorites handy, but there is a way to store the profiles in another location, and to only keep the ones on C: that are actually currently in use. I'll see if I can dig those documents up.

Pat Richard, MCSE MCSA:Messaging CNA
Microsoft Exchange MVP
Want to know how email works? Read for yourself -
 
To specify a different folder for the entire "Documents and Settings" folder, including key system components, follow these steps:

1. Log on to the computer as an administrator.
2. Create a new folder.
3. Open the current "Documents and Settings" folder.
4. On the Tools menu, click Folder Options, and then click the View tab.
5. Under Advanced settings click Show hidden files and folders, and then click to clear the Hide file extensions for known file types and Hide protected operating system files check boxes.
6. Click OK.
7. Click and drag to copy all the folders to the new folder, except for the currently logged on users folder.
8. In Control Panel, double-click System, and then click the User Profiles tab.
9. Copy the current user's profile to the new folder.
10. Click OK, close Control Panel, and then log off and log on to the computer as an administrator again.
11. In Registry Editor, click Find on the Edit menu.
12. Type documents and settings, and then click Find.
13. Replace the value data or rename the value or registry key to the new path for each and every registry key and value that contains the original path.NOTE: You must complete this change for every instance in the registry or your computer may not start. It is imperative that you update all registry keys and values with the new path.
14. Restart the computer.
15. You can now safely remove the original "Documents and Settings" folder.
Note If you search the registry for "Documents and Settings," you will find a string value in the following subkey: HKLM\system\controlset001\control\hivelist. This string value is \Device\HarddiskVolume#\Documents and Settings. Do not change this string value. After you finish searching for "Documents and Settings," also search for the short file name "Docume~1." Change the path for those results.

Enjoy


Chris Clancy, EnCE,CCE
 
Ooops... please disregard last post... use this one

To specify a different folder for the "Documents and Settings" folder after you install Windows for a particular user, follow these steps: 1. Identify the user's profile path. There are two methods to identify the profile path. Either by user path settings or user SID. The user SID method is preferred.• User SID methoda. Use the GETSID tool from the Windows Server Resource Kit to obtain the SID.

Use syntax similar to the following example:
GETSID \\SERVER1 UserName \\SERVER1 UserName
b. Once you obtain the SID, use Regedit.exe or Regedt32.exe to select the user's SID under the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

• User path settinga. Log on to the computer as the user, and then type SET at a command prompt. Note the setting for USERPROFILE, and then close the command prompt window.
b. Log on as an administrator of the computer.
c. Use Registry Editor to add the USERPROFILE setting to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
d. Click the registry key, and then click Find on the Edit menu.
e. In the Find box, type the value of the USERPROFILE setting, and then click Find Next.


2. Change the ProfileImagePath value to use the new path you want in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key.
3. Close Registry Editor, and then log on as the user. Type SET at the command prompt to verify the path has changed.

Chris Clancy, EnCE,CCE
 
I do not have GETSID on my server. Is there a way I can change *ALL* of the profile list entries in the registry in one pass?
 
I think you should probably get some hired help with this one... the changing of documents and settings folders via registry can possibly result in a full hosing of your terminal server.

Chris Clancy, EnCE,CCE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top