Event Log : Userenv.dll Event 1517 - user profiles are not properly logging off

Posted on 2007-08-02
Last Modified: 2013-11-21
windows server 2003 running terminal services.
windows 2000 AD

on the windows server 2003, i see this in the event log alot:
userenv.dll error id 1517
Windows saved user DOMAIN\,user. 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.

i scanned through the services in services.msc, and i don't see any listed as localservice.

how do i resolve these errors?  it appears that it is happening for almost all users... both on the local domain, and those connecting to the domain via terminal service.
Question by:zephyr_hex
    LVL 77

    Accepted Solution

    I had similar errors on a dedicated Terminal Server awhile back and resolved it by removing the server from the domain and re-joining it. I had found the suggestion in the following link. You may want to have a look at it as there are other more attractive suggestions to look at first:
    LVL 77

    Expert Comment

    by:Rob Williams
    Thanks zephyr_hex. Sorry, would have thought there would be additional suggestions by others.
    Cheers !

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    This is my 3rd article on SCCM in recent weeks, the 1st ( dealing with installat…
    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…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now