If you see a lot of Userenv/1517, Userenv/1524 or Userenv/1500 errors in the
Event Viewer, download and install the User Profile Hive Cleanup Service.
This decreased my shutdown time a bunch. Takes any where from 10 to 20
seconds to shutdown.
Download details: User Profile Hive Cleanup Service
http://www.microsoft.com/downloads/d...displaylang=en
UPHClean v1.5e readme.txt
http://download.microsoft.com/downlo...5ac/readme.txt
Troubleshooting profile unload issues
http://support.microsoft.com/default...b;en-us;837115
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news

3698447-2B0B-4319-865A-9C7163D75BA4@microsoft.com,
allegro <allegro@discussions.microsoft.com> hunted and pecked:
> Well, there doesn't appear to be any way to turn off active protection
> (or at least the anti-virus part of it) in Pest Patrol. So, I enabled it
> and, of course, that didn't remove the problem. Next, I manually edited
> the registry, removing any subkey where AV_DVP appeared. This finally
> made all the error and warning messages disappear from the logs -- except
> the following one. (Any ideas on how to get rid of it?)
>
> Event Type: Warning
> Event Source: Userenv
> Event Category: None
> Event ID: 1517
> Date: 11/6/2005
> Time: 2:04:52 PM
> User: NT AUTHORITY\SYSTEM
> Computer: MAIN
> Description:
> Windows saved user MAIN\[my username]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.