Solved

Redirecting users My Documents in Terminal Server

Posted on 2008-10-10
2
312 Views
Last Modified: 2013-11-21
The previous IT director for the company I am now working for had set up my documents redirecting for users by using the registry key below. Every morning I have to restart the terminal server because users receive errors attempting to log in. The event viewer shows event ID's:

1500 (Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, or that your network is functioning correctly. If this problem persists, contact your network administrator.

 DETAIL - Insufficient system resources exist to complete the requested service.).

And

1508 (Windows was unable to load the registry. This is often caused by insufficient memory or insufficient security rights.

 DETAIL - Insufficient system resources exist to complete the requested service.  for C:\Documents and Settings\VickieJ\ntuser.dat)

 I have searched and attempted all of the resolutions for these ID's. I would like to resolve this by using group policy to redirect the my documents directories instead. However, if I attempt to do this now, these directories replicate within themselves each time user's log off and on. This fills 100 gb of space in one day. I am assuming I would have to remove the registry key prior to configuring gp. However when I attempted to do this under my user account, it made my start menu not work correctly. ie. when i hover my mouse over the "programs" in the start menu, nothing shows up. I really need this corrected as soon as possible, as it is causing daily problems and sometimes multiple times a day. The only way I have found to clear the resources and allow users to log on is by restarting the server. The server has plenty of resources available.

Each user account also has an entry in AD under profile to connect the home folder to H:\\MUSIC-pdc\username$

This network is setup with a terminal server (musicts [2003 enterprise])(having the problem), Primary Domain Controller (music-dc1 [server 2003 R2]), and backup domain controller (music-pdc [server 2000]). Roaming profiles are being used which are located on the primary (music-dc1) D drive. The shares which are used for user's my documents are located on the backup domain controlller (music-pdc) F drive at f:\music2k\users\username where username is the name of the directory which is named the same as the user's username on the domain. Each username directory is shared as hidden folders $ with the correct permissions. Some user's use desktops and some use thin clients, both of which are having the same issue using terminal services.

Registry key used to map the users my documents folders:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"AppData"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,6c,00,69,00,63,00,61,00,74,00,69,\
  00,6f,00,6e,00,20,00,44,00,61,00,74,00,61,00,00,00
"Desktop"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,00,00
"Favorites"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,46,00,61,00,76,00,6f,00,72,00,69,00,74,00,65,00,73,\
  00,00,00
"NetHood"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,4e,00,65,00,74,00,48,00,6f,00,6f,00,64,00,00,00
"Personal"=hex(2):5c,00,5c,00,4d,00,55,00,53,00,49,00,43,00,2d,00,70,00,64,00,\
  63,00,5c,00,25,00,55,00,53,00,45,00,52,00,4e,00,41,00,4d,00,45,00,25,00,24,\
  00,00,00
"PrintHood"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,50,00,72,00,69,00,6e,00,74,00,48,00,6f,00,6f,00,64,\
  00,00,00
"Programs"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,\
  00,75,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,00,00
"Recent"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
  00,45,00,25,00,5c,00,52,00,65,00,63,00,65,00,6e,00,74,00,00,00
"SendTo"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
  00,45,00,25,00,5c,00,53,00,65,00,6e,00,64,00,54,00,6f,00,00,00
"Start Menu"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,\
  00,4c,00,45,00,25,00,5c,00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,\
  6e,00,75,00,00,00
"Startup"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,53,00,74,00,61,00,72,00,74,00,20,00,4d,00,65,00,6e,\
  00,75,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,73,00,5c,00,53,00,\
  74,00,61,00,72,00,74,00,75,00,70,00,00,00
"Templates"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,54,00,65,00,6d,00,70,00,6c,00,61,00,74,00,65,00,73,\
  00,00,00
"My Pictures"=hex(2):5c,00,5c,00,4d,00,55,00,53,00,49,00,43,00,32,00,4b,00,5c,\
  00,25,00,55,00,53,00,45,00,52,00,4e,00,41,00,4d,00,45,00,25,00,24,00,5c,00,\
  4d,00,79,00,20,00,50,00,69,00,63,00,74,00,75,00,72,00,65,00,73,00,00,00,5c,\
  00,44,00,65,00
"Local Settings"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,\
  49,00,4c,00,45,00,25,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,20,00,53,00,65,\
  00,74,00,74,00,69,00,6e,00,67,00,73,00,00,00
"Local AppData"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,\
  49,00,4c,00,45,00,25,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,20,00,53,00,65,\
  00,74,00,74,00,69,00,6e,00,67,00,73,00,5c,00,41,00,70,00,70,00,6c,00,69,00,\
  63,00,61,00,74,00,69,00,6f,00,6e,00,20,00,44,00,61,00,74,00,61,00,00,00
"Cache"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
  00,45,00,25,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,20,00,53,00,65,00,74,00,\
  74,00,69,00,6e,00,67,00,73,00,5c,00,54,00,65,00,6d,00,70,00,6f,00,72,00,61,\
  00,72,00,79,00,20,00,49,00,6e,00,74,00,65,00,72,00,6e,00,65,00,74,00,20,00,\
  46,00,69,00,6c,00,65,00,73,00,00,00
"Cookies"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,43,00,6f,00,6f,00,6b,00,69,00,65,00,73,00,00,00
"History"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
  4c,00,45,00,25,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,20,00,53,00,65,00,74,\
  00,74,00,69,00,6e,00,67,00,73,00,5c,00,48,00,69,00,73,00,74,00,6f,00,72,00,\
  79,00,00,00

0
Comment
Question by:verusy
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
sk_raja_raja earned 500 total points
ID: 22691148
0
 
LVL 18

Assisted Solution

by:sk_raja_raja
sk_raja_raja earned 500 total points
ID: 22691161
1)How many users are on the system when this happens?  Have you done any perfmon checks to see if any PTE's or Paged pool memory is running out?  go to http://www.brianmadden.com he has a performance paper as well as a free download of his windows 2003 advanced technical design book that has information on how to watch these parameters and what to look for when watching them.

2)To fix the error, try this steps,

. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. If the EnableRSS registry entry does not exist, create it. To do this, follow these steps:
  a.  On the Edit menu, point to New, and then click DWORD Value.
  b.  In the New Value #1 box, type EnableRSS, and then press ENTER.
4. Right-click EnableRSS, and then click Modify.
5. In the Value data box, type 0 (zero), and then click OK.
6. Locate and then click the following registry subkey:
       HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
7. In the details pane, right-click EnableTCPA, and then click Modify.
8. If the EnableTCPA registry entry does not exist, create it. To do this, follow these steps:
  a.  On the Edit menu, point to New, and then click DWORD Value.
  b.  In the New Value #1 box, type EnableTCPA, and then press ENTER.
9. In the Value data box, type 0 (zero), and then click OK.
10. Exit Registry Editor.
11. Restart the computer.

and ref this url
http://support.microsoft.com/Default.aspx?kbid=935649
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

832 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