Win10 does not shut down, shutdown.exe not working

Solution 1:

Copy the following text: %windir%\System32\shutdown.exe /s /t 0

Right-click your Windows desktop and select New > Shortcut.

In the Create Shortcut dialog that opens, paste the text into Type the location of the item.

Click Next and name the shortcut "Shutdown".

To shut down the Windows 10 system, double-click the new Shutdown shortcut.

Solution 2:

You can try out these methods:

Method 1: Disabling Scheduled Tasks

  1. Press the Windows+R keys
  2. Type taskschd.msc, then press Enter
  3. Navigate to the Task Scheduler Library.
  4. Select everything and disable them.

Method 2: Disabling Shutdown Scripts with Local Group Policy Editor

If you have at least Windows 10 Pro, you can try this:

  1. Press the Windows+R keys
  2. Type gpedit.msc, then press Enter
  3. Navigate to Computer Configuration > Windows Settings > Scripts > Shutdown.
  4. Select everything and remove them.

If you only have Windows 10 Home, you can try this to enable the Local Group Policy Editor: https://www.itechtics.com/easily-enable-group-policy-editor-gpedit-msc-in-windows-10-home-edition/