Sunday 3 July 2011

How to create shortcut for shutdown, Restart and Logoff or Single click shutdown restart and logoff in Windows XP, Vista and Seven

0 comments
This process is done by creating or by hacking a BAT file.
For this open notepad and type:-
shutdown -s -c "Shutting down!" -t 3
It tells your computer to shutdown after waiting for 3 seconds while the System Shutdown Window will display text "Shutting down!" above in the Message area.
If you want to change the system shutdown delay time just changes 3 to another number. System will take that Number as delay time in seconds.

If you want to display your name before shutdown then change "Shutting down!" to your name including quote (e.g. shutdown -s -c "MIHIRBABU" -t 3. It will display MIHIRBABU before shutdown)

If you want logoff or restart instead of shutdown then just replace “-s” with “-l” or “-r”.
  -l = Log off the current user.
  -r = Shut down and restart (reboot) the computer.
  -s = Shut down the computer.

Save this notepad file with any name with extension .bat (suppose “xxx.bat”) any where in your computer.

After saving this when anyone double click or run or execute this “xxx.bat” file computer will execute this BAT file and follow the user’s command.

In some cases when we logged in as a local user instead of Administrator, then ; when we double click the bat file system is not shutdown. Then right click of mouse on that file and click on "Run as administrator"

Other Similar articles that may interest you:
1. Replace AM/PM with some other text in Windows taskbar
2. Picasa Picture Viewer can also be used as a Camera device
3.  How to activate missed call alert free in BSNL/Cellone
4. How to create a Paypal donation button for Website
5. Add Desktop Icon setting as a shortcut in Context menu
6. How to play Screen saver during playback of Windows Media Player
7. How to create a hidden and Unsearchable file
8. How to get secure from unwanted calls on Samsung Mobile
9. How to customize Winzip Command in Context menu for a selected item
10. How to show/Hide Windows Clock from taskbar

Leave a Reply

Followers