From: d42d01 on
Using two windows 2003 standard x32 servers that are being used as
terminal servers(for citrix). Using roaming profiles stored on a
seperate file server. I've enabled userenv.log on both terminal
servers. Using roaming profiles if user1 logs into server1 and
receives the following error in the userenv.log

USERENV(1f8.224) 11:53:05:803 GetOldSidString: Failed to open profile
profile guid key with error 2
USERENV(1f8.224) 11:53:05:803 GetProfileSid: No Guid -> Sid Mapping
available
USERENV(1f8.224) 11:53:05:803 TestIfUserProfileLoaded: return with
error 2.
USERENV(1f8.224) 11:53:05:803 GetOldSidString: Failed to open profile
profile guid key with error 2
USERENV(1f8.224) 11:53:05:818 GetProfileSid: No Guid -> Sid Mapping
available
USERENV(1f8.224) 11:53:05:818 LoadUserProfile: Expanded profile path
is \\fileserver\citrixprofiles\user1.CORP
USERENV(1f8.224) 11:53:05:818 ParseProfilePath: Entering,
lpProfilePath = <\\fileserver\citrixprofiles\user1.CORP>
USERENV(1f8.224) 11:53:05:818 CheckXForestLogon: checking x-forest
logon, user handle = 2804
USERENV(1f8.224) 11:53:05:818 CheckXForestLogon: not XForest logon.
USERENV(1f8.224) 11:53:05:818 AbleToBypassCSC: Try to bypass CSC
USERENV(1f8.224) 11:53:05:834 AbleToBypassCSC: tried
NPAddConnection3ForCSCAgent. Error 85
USERENV(1f8.224) 11:53:05:834 AbleToBypassCSC: tried
NPAddConnection3ForCSCAgent. Error 85
USERENV(1f8.224) 11:53:05:834 AbleToBypassCSC: tried
NPAddConnection3ForCSCAgent. Error 85
USERENV(1f8.224) 11:53:05:834 AbleToBypassCSC: tried
NPAddConnection3ForCSCAgent. Error 2109
USERENV(1f8.224) 11:53:05:834 AbleToBypassCSC: Share \\fileserver
\citrixprofiles mapped to drive H. Returned Path H:\user1.CORP
USERENV(1f8.224) 11:53:05:834 ParseProfilePath: CSC bypassed. Profile
path H:\user1.CORP
USERENV(1f8.224) 11:53:05:849 ParseProfilePath: Tick Count = 0

And the same user logs into server2 and get the following;


USERENV(1f8.1e54) 12:01:12:549 LoadUserProfile: Entering, hToken =
<0xd10>, lpProfileInfo = 0x1719fe0
USERENV(1f8.1e54) 12:01:12:565 LoadUserProfile: lpProfileInfo->dwFlags
= <0x0>
USERENV(1f8.1e54) 12:01:12:565 LoadUserProfile: lpProfileInfo-
>lpUserName = <user1>
USERENV(1f8.1e54) 12:01:12:565 LoadUserProfile: lpProfileInfo-
>lpProfilePath = <\\fileserver\citrixprofiles\user1.CORP>
USERENV(1f8.1e54) 12:01:12:565 LoadUserProfile: lpProfileInfo-
>lpDefaultPath = <\\dc3\netlogon\Default User>
USERENV(1f8.1e54) 12:01:12:565 LoadUserProfile: NULL server name
USERENV(1f8.1e54) 12:01:12:565 LoadUserProfile: User sid:
S-1-5-21-839522115-1935655697-725345543-9734
USERENV(1f8.1e54) 12:01:12:565 CSyncManager::EnterLock
<S-1-5-21-839522115-1935655697-725345543-9734>
USERENV(1f8.1e54) 12:01:12:565 CSyncManager::EnterLock: No existing
entry found
USERENV(1f8.1e54) 12:01:12:581 CSyncManager::EnterLock: New entry
created
USERENV(1f8.1e54) 12:01:12:581 CHashTable::HashAdd:
S-1-5-21-839522115-1935655697-725345543-9734 added in bucket 11
USERENV(1f8.1e54) 12:01:12:581 LoadUserProfile: Wait succeeded. In
critical section.
USERENV(1f8.1e54) 12:01:12:581 TestIfUserProfileLoaded: Profile
already loaded.
USERENV(1f8.1e54) 12:01:12:581 MyRegLoadKeyEx: Loading key
<S-1-5-21-839522115-1935655697-725345543-9734_Classes>
USERENV(1f8.1e54) 12:01:12:581 MyRegLoadKeyEx: Successfully loaded
<S-1-5-21-839522115-1935655697-725345543-9734_Classes>
USERENV(1f8.1e54) 12:01:12:596 CreateClassHive: existing user classes
hive found
USERENV(1f8.1e54) 12:01:12:596 Profile was loaded but the Ref Count is
1 !!!
USERENV(1f8.1e54) 12:01:12:596 LoadUserProfile: Leaving critical
Section.
USERENV(1f8.1e54) 12:01:12:596 CSyncManager::LeaveLock
<S-1-5-21-839522115-1935655697-725345543-9734>
USERENV(1f8.1e54) 12:01:12:596 CSyncManager::LeaveLock: Lock released
USERENV(1f8.1e54) 12:01:12:596 CHashTable::HashDelete:
S-1-5-21-839522115-1935655697-725345543-9734 deleted
USERENV(1f8.1e54) 12:01:12:612 CSyncManager::LeaveLock: Lock deleted
USERENV(1f8.1e54) 12:01:12:612 LoadUserProfile: Impersonated user:
00000d10, 00000d00
USERENV(1f8.1e54) 12:01:12:612 LoadUserProfile: 002 About Reverted to
user: 00000d00
USERENV(1f8.1e54) 12:01:12:612 LoadUserProfile: 003 About Reverted
back to user <00000000>
USERENV(1f8.1e54) 12:01:12:612 LoadUserProfile: Leaving with a value
of 1.
USERENV(1f8.1e54) 12:01:12:612

Is it possible user1 profile is being corrupted by server1? I've
deleted the profile and recreated it, then logged into server2 with
good results. It just when they log into server1 I see the errors
above.


Thanks,


D



--
@space