Re: Local Drives in TS session



Hi Rich,

For some reason the server is having a problem unloading the user's per-user class hive (HKCU\Software\Classes) when the user logs off. This registry hive is stored in the file UsrClass.dat.

The local drive redirection feature creates a Shell Instance Object pointing to the redirected path (ex. \\tsclient\c) during logon or session reconnect for each local client drive. The registration for these Shell Instance Objects is stored in the per-user class.

Since the per-user class hive did not unload properly the last time the user logged off, the class registration for each Shell Instance Object does not complete properly. This is why the local drive icons (SIOs) do not work when you click on them.

It is these Shell Instance Objects that you see when you open up My Computer and have redirected drives listed as "C on CLIENT", etc.

I recommend you download and install the latest version of the User Profile Hive Cleanup Service (uphclean). UPHclean will most likely force the per-user class hive to unload when each user logs off. You can download it here:

http://www.microsoft.com/downloads/details.aspx?familyid=1B286E6D-8912-4E18-B570-42470E2F3582

-TP

Richard C wrote:
Hi all, I hope you can help.

I have two terminal servers that are load balanced and the users in my
organisation
( about 75 ) connect to these machines to access all their office
applications. I have a GP set that is supposed to remove a users
roaming profile from the terminal servers when they log out.

The problem that I have is that when some of the users log into the
terminal servers they are not able to see the local drives on the
host machine. I have checked that all the right boxes are ticked on
the RDP client.

The really odd thing is that when one of these users is in a terminal
server session and they open 'my computer' the local drives appear as
the 'unknown file type' icon rather than a normal network drive icon
and the users are not able to access these drives.

I'm not sure if this is related or not these users profiles do not get
removed from the machine when they log out. I have tried to delete the
profile manually and it gets a certain way through doing this and
then fails saying that is cannot delete the usrclass.dat file. I have
rebooted one of the servers and follwoing the reboot I was able to
delete the profile. After the profile has been deleted I logged in as
one of the users and I was able to see and access the local drive.
then after a few log out's and log in's I get the same problem. I
then try to delete the profile and usrclass.dat will not delete (
Access denied - the file is in use )

Any thought??

Cheers

Rich
.



Relevant Pages

  • Re: newbie to TS 2003 and ts roaming profile please help...
    ... the computer settings, but also the user settings in the TS policy ... EventLog) is make the profile as small as possible. ... already excluded from roaming with the profile. ... At my company we have 2 individual win 2k term servers. ...
    (microsoft.public.windows.terminal_services)
  • Re: Creating Profiles...?
    ... > I think the problem is I can't authenticate to the various servers. ... > again dial into RCN to get/send my work email. ... > work using my ThinkPad and another profile profile to only use at ...
    (microsoft.public.outlook)
  • Re: can NT4 servers and 2003 server play nicely together?
    ... > We have two NT4 servers for our domain. ... trust to the 2003 domain from the SBS domain. ... moving email messages and settings, etc., to the new profile on the same ...
    (microsoft.public.windows.server.migration)
  • Re: NetUserGetInfo question
    ... Notice the text "This level is valid only on servers". ... > I would assume you are talking about NetUserGetInfo here. ... > GetUserProfileDirectory return you rthe path to the profile where as ...
    (microsoft.public.platformsdk.security)
  • Re: Windows 2003 Server: Unable to Right Click on any local drives
    ... server and cannot find that would affect the right click context menu ... every feature that appears on the right click menu for local drives has been ... Three of these servers are having the same issues. ... There are no errors in the event logs to ...
    (microsoft.public.windows.server.general)