Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Windows XP automatic shutdown/restart hotkey

Posted on 2004-08-03
2
2,351 Views
Last Modified: 2008-01-09
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
Comment
Question by:rajiv11
2 Comments
 
LVL 34

Accepted Solution

by:
sramesh2k earned 30 total points
ID: 11708107
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
 

Assisted Solution

by:zaajats
zaajats earned 20 total points
ID: 11708380
...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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question