It is easy to shut down the computer via command line on all MS Windows desktop and server operating systems!The automatic shutdown of the PC is very popular with all users, which can be implemented quite well with this tool. Optionally, you can also put the PC into sleep mode or hibernation, depending on your needs. Here you have a problem-free and simple solution! Here are the program command lines in PreventTurnOff-bg start minimized in the notification area (to-tray) block_standby=1 to block standby. Values 1 or 0 block_shutdown=0 To block shutdown. Values 1 or 0 block_logoff=1 To block logoff . Values 1 or 0 block_screensaver=1 To block the screensaver. Values 1 or 0 enable=1 To activate or deactivate all blocking options. Values 1 or 0 use_timer=1 use timer or not. Values 1 or 0 set_timer=10 set timer specified in minutes, eg in the example 10 minutes exit Terminates a running instance of PreventTurnOff Simple example: PreventTurnOff.exe block_shutdown=0 use_timer=1 set_timer=10 Tip: ► desktop shortcut for fast shutdown, log off, restart? FAQ 4: Updated on: 23 June 2021 13:54 |