Question Windows 10 shutdown problem after installing Linux Mint for dual boot setup ?

alipmcg

Distinguished
Apr 16, 2014
72
1
18,645
Hi, I've recently installed Mint on a laptop with Windows 10 on it, and dual boot works OK except that when I try to shut down Windows, Windows says it's shutting down but then goes back to the Windows login screen. But if I restart Windows, the system shuts down and restarts, and goes to BIOS screen and then GRUB. So if I want to shut down the laptop from Win10, I have to restart it and then turn it off at either BIOS or GRUB. Pretty weird behaviour, I've done plenty of dual boots and not seen this before. Hibernate also doesn't work in Win10.
Does anyone know what could be causing this and how I might resolve it? Thanks in advance
 

ubuysa

Distinguished
Windows will auto-restart if a 'system error' occurs. Thus, if a system error occurs during the shutdown process then Windows will auto-restart.

Try manually closing every third-party app or process that you have running, you can use Task Manager for this; click End Task on every third-party process that you see running. Once you've close all (or most) third-party processes see whether Windows will shutdown normally then. If it does then a process of elimination will locate the process that failing at shutdown.

You might also try the
Code:
shutdown /s /f /t 000
command instead of clicking the shutdown icon. This command force closes all open apps before shutting down. That will also indicate whether it's a third-party process that's failing at shutdown.
 

alipmcg

Distinguished
Apr 16, 2014
72
1
18,645
Windows will auto-restart if a 'system error' occurs. Thus, if a system error occurs during the shutdown process then Windows will auto-restart.

Try manually closing every third-party app or process that you have running, you can use Task Manager for this; click End Task on every third-party process that you see running. Once you've close all (or most) third-party processes see whether Windows will shutdown normally then. If it does then a process of elimination will locate the process that failing at shutdown.

You might also try the
Code:
shutdown /s /f /t 000
command instead of clicking the shutdown icon. This command force closes all open apps before shutting down. That will also indicate whether it's a third-party process that's failing at shutdown.

Thank you very much for the reply! Running
shutdown /s /f /t 000
does successfully shutdown windows.
I compared the Event Viewer Application logs from the successful shutdown to unsuccessful shutdowns, and the unsuccessful ones all have some errors reported by DptfPolicyLpmServiceHelper. Successful shutdowns have errors reported by EapHost, and then some different errors from DptfPolicyLpmServiceHelper.
I'm not sure what to do about these errors (may just require reinstalling some drivers) but it's helpful to have somewhat identified what is causing the shutdown problems. Thanks again
 
Last edited: