Check if the following link can help with you :
A COM+ application may stop working in Windows when a user logs off
You might try the resolution recorded in that source article to enable group policy Do not forcefully unload the user registry at user logoff policy which is located under Computer Configuration > Administrative Templates > System > User Profiles.
--------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.