If im correct this is due to user profiles, and still open registry connections.
You can try to fix this useing an services from Microsoft called User Profile Hive Cleanup Service.
This will close/write the still open registry handlers before windows totaly shuts down.