Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2358
  • Last Modified:

Windows XP automatic shutdown/restart hotkey

I need windows to shutdown autmatically... say when i press ctrl+f key. I know alt+f4 would serve the purpose.. but i would like to assign the function to custom keys. Do i need change something in the registry or....

Thanks in advance.
Rajiv.
0
rajiv11
Asked:
rajiv11
2 Solutions
 
sramesh2kCommented:
Create a shortcut for the command "SHUTDOWN -S -T 00" and save it in the desktop

Right-click the shortcut properties and assign a hotkey (such as CTRL+ALT+S example)
0
 
zaajatsCommented:
...And for restart, create a new shortcut, with "SHUTDOWN -r -t 00"
Explanation:     -r stands for reboot, -s for shutdown, -l for logoff, -t is the timeout between the activation of the command (pressing the hotkey) and the shutdown (in seconds).
i.e, if you set -t at 20, then a message box will be displayed with a countdown timer for 20 secs and then the windows shutdown sequence will begin.
 


0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now