COM Server Warning when shutting down Windows 10

Chned 51 Reputation points
2022-12-19T13:23:03.577+00:00

One of our end-users experiences the following error when shutting down Windows 10. Does anyone know how to fix this?
I already tried the solution in this post to no avail, the warning only looks different.

272070-1.png

272151-2.jpg

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Michael Taylor 60,161 Reputation points
    2022-12-19T15:51:17.003+00:00

    The machine has an application running that has a COM object (out of proc) loaded that isn't getting unloaded properly. When the user starts the shutdown process then Windows walks through the running processes in an undefined order and shuts them down. Evidently it is getting to the COM server before the app that is using it, hence the error.

    Ideally you should identify what COM object is trying to unload and then determine what app has it loaded. Take a look in the Event Log to see what it says. Then resolve the issue in the app. Alternatively have the user shut down all their running apps before starting the shutdown process. If the problem goes away then it is one of the apps they are running. If it remains then it is potentially a system process or something that loads into the Shell.

    At that point I would have the user log in, shut down all the apps they don't need (in prep for shutdown) and then use a tool like Process Explorer to find all remaining processes that are loading this COM object. Then you can start narrowing down the issue from there.

    0 comments No comments

  2. Limitless Technology 44,751 Reputation points
    2022-12-20T09:44:12.77+00:00

    Hi,

    Thank you for posting your query.

    Kindly follow the steps provided below to resolve your issue.

    This policy setting determines whether you can shut down a device without having to sign in to Windows. When you enable it, the Shut Down option is available on the sign-in screen in Windows. If you disable this setting, the Shut Down option is removed from the screen. To use the option, the user must sign in on the device successfully and have the Shut down the system user right.

    Users who access the console locally can shut down the system. Attackers or misguided users can connect to the server by using Remote Desktop Services, and then shut it down or restart it without having to identify themselves. A malicious user might also cause a temporary denial-of-service condition from a local console by restarting or shutting down the server.

    Go to this link for your reference and other troubleshooting procedures https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/shutdown-allow-system-to-be-shut-down-without-having-to-log-on

    Do not hesitate to message us if you need further assistance.

    If the answer is helpful kindly click "Accept as Answer" and up vote it.

    0 comments No comments

  3. Jens Stevens 21 Reputation points
    2022-12-22T13:37:02.857+00:00

    Hey, you could write a script for the end user.
    I assume that the program is closed properly by the user but still running in the background.
    Write a script for the user when shutting down the computer it also shutsdown the service running in the background of this program.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.