When you are working on a remote computer and you want shutdown it or you want to shut down it remotely. May be you face with this error when you are trying run shutdown command:
A system shutdown is in progress.(1115)
First, you need to try to stopping winlogon.exe process remotely, you can use PSKILL tool to kill the process and allow the computer to continue shutdown process.
pskill \Computer-Name winlogon
Sometimes, the issue is related to “Windows Modules Installer” service. When you open services.msc, the service is in stopping status.
You can run the below command:
pskill \Computer-Name TrustedInstaller
I hope, this post help you to resolve same issues on your servers or remote computers.