In WinNut.vb, the Windows SetSystemPowerState function is used to initiate Hibernation or Standby if one of these is the selected method in WinNut. This function seems to be deprecated and doesn't work in Windows 10/11. Microsoft recommends using SetSuspendState instead.
In WinNut.vb, the Windows SetSystemPowerState function is used to initiate Hibernation or Standby if one of these is the selected method in WinNut. This function seems to be deprecated and doesn't work in Windows 10/11. Microsoft recommends using SetSuspendState instead.
Reference: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setsystempowerstate
Workaround: Only select Shutdown as the shutdown method in WinNUT. This calls shutdown.exe, which works.