Psshutdown must be run in a window with admin privileges.When the PC has been idle for ten minutes. Create a Scheduled Task to run psshutdown.exe -d -t 0 -accepteula.Put the PC to sleep when it has been idle for 10 minutes: Setlocal enableextensions disabledelayedexpansion C:\Windows\_61.bat minpower Change power management settings. Require sign-in when PC wakes from sleep: %windir%\explorer.exe ms-settings:signinoptionsĬhange your power management settings: Create a shortcut on your desktop to a batch file to change your power management settings. Powershell command: Which Scheduled Tasks wake the PC? Get-ScheduledTask | where It is not uncommon to find your PC awake. Your human interface devices and / or mouse and / or keyboard and / or network adapter and / or BIOS and / or Scheduled Task and / or Windows Update and / or Automatic Maintenance is set to wake your PC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |