Saturday, 23 September 2017

Auto Shutdown Your Pc

To manually create a shutdown timer,

Open a command prompt and type shutdown -s -txx. "Xxx" should be the time in seconds that you want to pass before the computer shuts down. For example, if you want to shut down your computer within two hours, it should look like a shutdown -s -t 7200.
If you want to restart your computer on a delay, use the -r -t-xx shutdown instead.
To cancel the timer, open the Run window or Command Prompt again and enter a Close.
If you need to use the shutdown timer regularly, you can take this trick a step further by turning it into a desktop shortcut.
Right-click on the desktop, hover over New, and select a shortcut in the side menu.

1. In the "Shutdown -s -txxx" field type, click Next.
2. Enter a name for the shortcut (for example, "Stop 1 hour") and click Finish.

Anytime you double-click the shutdown shortcut, the timer will start. To cancel the timer, you can create a second shortcut by using shutdown -a or by entering the Stop-A command at a command prompt.
To change the time on shutdown timing, right-click the shortcut icon, select Properties, and change the value of seconds in the Target field. From within Properties, you can also set a different image as an icon.


No comments:

Post a Comment