Save your time (use short cuts for shut down, re-start etc.)

3915 views 35 replies

Respected Seniors and all my dear friends,

How you shut down or restart your pc or laptop?

Start

Turn off

Then the desired option

(isn't it? Yes I am sure some of us use shortcut from key boards)

But what about if you have your Restart, Shut down, Stand By Buttons on your screen? Just one click and task complete:)! It will help you to remove above boring process.

So, here it is how to create above buttons on your screen, I read it and tested its working properly in my win xp. Now, its your turn to try.

 

Click on any empty space on the desktop and click on 'New Shortcut'

 

 

For Shutdown enter the below code



shutdown.exe -s -t 0

 

For Restart enter the below code



shutdown.exe -r -t 0

For Log Off enter the below code



shutdown.exe -I -t 0

                For Stand by enter the below code



 

               %windir%\System32\rundll32.exe powrprof.dll

 

Now click on next  and give a name to your shortcut. Then click on Finish.

But its not looking like our buttons given in start menu, Right?

So, do the following,

Right click on button,

Properties,

Change Icon,

and now choose your desirable icons. Click ok.

Create single or more buttons from above as per your convienience.

 

 

Note the -t switch, this stands for time.  -t 0 means the shutdown or reboot action will begin immediately without delay after clicking your shortcut. If you wanted to hold off the shutdown and restart for a certain length of time, for whatever reason, then just indicate the number of seconds after the -t.   i.e.  -t 30  would wait 30 seconds before shutting down or restarting.

Now, share your experiences below, waiting.

Thanks & Regards,

Abhi

 

 

Replies (35)

thanks for useful sharing                                           

useful post dear..i will try this.

Great work,  thanks for sharing ..

Originally posted by : kamal kishor sen

Great work,  thanks for sharing ..

 

hey really useful post

thanks a lot...

Guys its not needed to type even, just copy pest the command from here. I am using all four buttons really useful. 

Thanks.

Very nice sharing, thanks for posting.....

Originally posted by : BALU A HELPING HAND...

Very nice sharing, thanks for posting.....
It is nt working in window 7?? Help?

Here, it is for window 7 though its not tested by me but surely it will work, Please follow the given steps below:

First right-click on the desktop, choose New and then Shortcut.

 

Shutdown Computer

Shutdown.exe -s -t 00

Restart Computer

Shutdown.exe -r -t 00

Lock Workstation

Rundll32.exe User32.dll,LockWorkStation

Hibernate Computer

rundll32.exe PowrProf.dll,SetSuspendState

Sleep Computer

rundll32.exe powrprof.dll,SetSuspendState 0,1,0

When you’ve clicked next on the above dialog, you’ll be asked to name the shortcut. Probably best to name it according to the right function.

After you click Finish, you should now have a new icon that you can double-click to immediately shutdown, restart, or lock your computer.

For changing the Icon please follow the same procedure as given for XP.

Now, share your comments.

Thanks & Regards,

Abhi


Nice Sharing!!!!

Thanks ABHI .. Great Sharing ..Its working in windows 7.

Wow! thats so so so interesting:)...Thanks Bind

Amazing Toooo good

Thank u MR.Bind

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register  

Company
ARTICLESHIP 24 June 2026
CA Article Trainee

Rahul Dang & Associates

Pune

CA Inter

View Details
Company
22 June 2026
Accountant

Global Image Technologies Private Limited

New Delhi

MBA

View Details
Company
20 June 2026
Assistant Accounts Manager

Fintax Professionals

Gurgaon

CA Inter

View Details
Company
ARTICLESHIP 08 June 2026
Internal & Taxation Article

O P Bagla & Co LLP

New Delhi

CA Inter

View Details
Company
ARTICLESHIP 27 June 2026
Article

SNCO

Mumbai

CA Inter

View Details
Company
ARTICLESHIP 30 June 2026
Article Assistant or Paid Assistant

VIKAS VERMA & CO

New Delhi

Others

View Details
Company
ARTICLESHIP 24 June 2026
ARTICLE ASSISTANT

BHUPINDER SHAH AND COMPANY

New Delhi

CA Inter

View Details
Company
24 June 2026
Chartered Accountant

CA Darshita Shah & Co

Nadiad

CA

View Details