none
Many Userenv warnings

    Question

  • Windows Server 2003 EE SP2. I have many userenv erorrs in application log on terminal server.

    Event Type:	Warning
    Event Source:	Userenv
    Event Category:	None
    Event ID:	1517
    Date:		14.04.2010
    Time:		9:11:53
    User:		NT AUTHORITY\SYSTEM
    Computer:	B04WINTERM05
    Description:
    Windows saved user B04WINTERM05\spershin registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use. 
    
    This is often caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.
    
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    
    Event Type:	Warning
    Event Source:	Userenv
    Event Category:	None
    Event ID:	1524
    Date:		14.04.2010
    Time:		9:12:10
    User:		B04WINTERM05\spershin
    Computer:	B04WINTERM05
    Description:
    Windows cannot unload your classes registry file - it is still in use by other applications or services. The file will be unloaded when it is no longer in use.  
    
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    
    Event Type:	Information
    Event Source:	Userenv
    Event Category:	None
    Event ID:	1516
    Date:		14.04.2010
    Time:		9:12:10
    User:		NT AUTHORITY\SYSTEM
    Computer:	B04WINTERM05
    Description:
    Windows unloaded user S-1-5-21-1309774966-4071216502-1517188295-1114_Classes registry when it received a notification that no other applications or services were using the profile.
    
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    
    Event Type:	Information
    Event Source:	Userenv
    Event Category:	None
    Event ID:	1516
    Date:		14.04.2010
    Time:		9:12:15
    User:		NT AUTHORITY\SYSTEM
    Computer:	B04WINTERM05
    Description:
    Windows unloaded user B04WINTERM05\spershin registry when it received a notification that no other applications or services were using the profile.
    
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    

    This records created for every user login on terminal server. When user connected to terminal server run cmd script (C:\run.cmd) by "Run program on connection". This script run user aplication without running explorer. First messege about onloading user registry appear nearly after running script. Why user regisrty want to onload while session not ending? How to resolv this problem?


    если я ответил на ваш вопрос - нажмите "отметить как ответ"
    Wednesday, April 14, 2010 7:54 AM

Answers

  • Have you tried User Profile Hive Cleanup Service ? Might be worth a shot.

     

     


    Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]
    Thursday, April 15, 2010 9:33 AM

All replies

  • This one may help.

    User Profile Hive Cleanup Service
    http://www.microsoft.com/downloads/details.aspx?FamilyId=1B286E6D-8912-4E18-B570-42470E2F3582&displaylang=en

     

     


    Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]
    Wednesday, April 14, 2010 9:24 AM
  • This one may help.

    User Profile Hive Cleanup Service
    http://www.microsoft.com/downloads/details.aspx?FamilyId=1B286E6D-8912-4E18-B570-42470E2F3582&displaylang=en

     

     


    Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]


    How it may help? I know, that user registry can't onload because user application is still running. I ask why this messages uppear while user not start logout process.

    I repeat: "First message about onloading user registry appear nearly after logon. Why user regisrty try to onload while session not end?"


    если я ответил на ваш вопрос - нажмите "отметить как ответ"
    Wednesday, April 14, 2010 1:30 PM
  • The first one states "while an application or service was still using the registry during log off" hence the suggestion.

     

     


    Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]
    Thursday, April 15, 2010 3:06 AM
  • I know, that event log records appear that log off process initiated nearly after log in. I don't knowwhy and who log off process initiated nearly after log in. How to determine it?
    если я ответил на ваш вопрос - нажмите "отметить как ответ"
    Thursday, April 15, 2010 7:10 AM
  • Have you tried User Profile Hive Cleanup Service ? Might be worth a shot.

     

     


    Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]
    Thursday, April 15, 2010 9:33 AM