Profile unload used to be the bane of our Citrix farm....uphclean rarely
helped. In the end we wrote a script to delete all local profiles (except
for administrators) at server boot time. It struggles if someone has a
profile with the .*domainname* suffix, but otherwise works fine. We do a
restart every 48 hours of the production Citrix servers so everything stays
nice and clean.

2009/9/10 Sherry Abercrombie <[email protected]>

> Our policy with Citrix and user profiles is that if there is a problem,
> delete it.  You should also look at the actual Citrix server she's logging
> into and find the profile there and delete it.
>
> Don't know how I missed the Citrix reference in the original post. Issues
> with profiles on Citrix are "fairly common", especially if the user doesn't
> log off properly, which is 99% of the cause of profile issues with Citrix.
>
> On Thu, Sep 10, 2009 at 8:26 AM, Jeff Bunting <[email protected]>wrote:
>
>> I'm not sure.  I think it was suggested, but I don't know if they had
>> another one available or not.  Someone else was working on the problem and
>> asked me to take a look at it.  Will check into it.
>>
>> I assume from your question, you think a workstation app is still holding
>> a reference to the profile?  I'd considered that, but wasn't sure if that
>> were possible.  I'm not overly familiar with Citrix.  The presence of the
>> .bak profile key struck me as odd.  In what situation is this created?  I'd
>> never seen one before, but I don't look into the ProfileList key very often
>> either.
>>
>> Jeff
>>
>>
>> On Wed, Sep 9, 2009 at 1:41 PM, Daniel Rodriguez <[email protected]>wrote:
>>
>>> The user has to be logging into the server from a workstation, right? Has
>>> the user attempted logon from a different workstation?
>>>
>>>
>>> On Wed, Sep 9, 2009 at 11:26 AM, Jeff Bunting <[email protected]>wrote:
>>>
>>>> No, this is on the server she's logging onto, using a domain account.
>>>>
>>>>
>>>> On Wed, Sep 9, 2009 at 10:54 AM, Daniel Rodriguez <[email protected]>wrote:
>>>>
>>>>> Is this happening on the workstation?
>>>>>
>>>>>
>>>>> On Wed, Sep 9, 2009 at 10:43 AM, Jeff Bunting 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> Have a problem with a particular user not being able to load her
>>>>>> profile (locked) when logging onto a system and getting a temporary one
>>>>>> instead.  I turned on userenv logging and see that it is trying to create
>>>>>> one from backup:  (username & sid edited)
>>>>>>
>>>>>>  ExtractProfileFromBackup:  Failed to open key
>>>>>> Software\Microsoft\Windows 
>>>>>> NT\CurrentVersion\ProfileList\S-1-5-21-...-6346
>>>>>> with error 2
>>>>>>  RegRenameKey: renaming Software\Microsoft\Windows
>>>>>> NT\CurrentVersion\ProfileList\S-1-5-21-...-6346.bak to
>>>>>> Software\Microsoft\Windows 
>>>>>> NT\CurrentVersion\ProfileList\S-1-5-21-...-6346
>>>>>>  ExtractProfileFromBackup:  Profile created from Backup
>>>>>>  PatchNewProfileIfRequred: A profile already exists with the current
>>>>>> sid, exitting
>>>>>>  CreateLocalProfileKey:  user <S-1-5-21-...-6346> is local, not
>>>>>> setting preference key
>>>>>>  GetExistingLocalProfileImage:  Found entry in profile list for
>>>>>> existing local profile
>>>>>>  GetExistingLocalProfileImage:  Local profile image filename =
>>>>>> <%SystemDrive%\Documents and Settings\Alvin>
>>>>>>  GetExistingLocalProfileImage:  Expanded local profile image filename
>>>>>> = <M:\Documents and Settings\Alvin>
>>>>>>  GetExistingLocalProfileImage:  No local mandatory profile.  Error = 2
>>>>>>  GetExistingLocalProfileImage:  Found local profile image file ok
>>>>>> <M:\Documents and Settings\Alvin\ntuser.dat>
>>>>>>  GetExistingLocalProfileImage:  Failed to query low profile unload
>>>>>> time with error 2
>>>>>>  Local Existing Profile Image is reachable
>>>>>>  Local profile name is <M:\Documents and Settings\Alvin>
>>>>>>  RestoreUserProfile:  No central profile.  Attempting to load local
>>>>>> profile.
>>>>>>  MyRegLoadKey:  Failed to load subkey <S-1-5-21-...-6346>, error =32
>>>>>>  MyRegLoadKey: Returning 00000020
>>>>>>  RestoreUserProfile:  MyRegLoadKey returned FALSE.
>>>>>>  ReportError: Impersonating user.
>>>>>>  ReportError: Logging Error <Windows cannot load the locally stored
>>>>>> profile. Possible causes of this error include insufficient security 
>>>>>> rights
>>>>>> or a corrupt local profile. If this problem persists, contact your 
>>>>>> network
>>>>>> administrator.
>>>>>>
>>>>>>
>>>>>> DETAIL - The process cannot access the file because it is being used
>>>>>> by another process.
>>>>>> >
>>>>>>
>>>>>>
>>>>>> Looking in the registry under HKLM\Software\Micorsoft\Window
>>>>>> NT\CurrentVersion\ProfileList, I see S-1-5-21-...-6346.bak, but not one
>>>>>> without a bak extension.  I'm starting to think maybe there is some sort 
>>>>>> of
>>>>>> permission problem not allowing this to be saved in the registry.  Does 
>>>>>> that
>>>>>> sound reasonable?
>>>>>>
>>>>>> System is Win2003 SP2, running Citrix.  Only one user is affected.
>>>>>> UPHCLEAN does not help.
>>>>>>
>>>>>> Thanks,
>>>>>> Jeff
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
>
> --
> Sherry Abercrombie
>
> "Any sufficiently advanced technology is indistinguishable from magic."
> Arthur C. Clarke
> Sent from Newark, TX, United States
>
>
>
>
>
>


-- 
"On two occasions...I have been asked, 'Pray, Mr Babbage, if you put into
the machine wrong figures, will the right answers come out?' I am not able
rightly to apprehend the kind of confusion of ideas that could provoke such
a question."

http://raythestray.blogspot.com

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to