Hargabaru - Xem ngay tin tức du lịch, game, làm đẹp siêu hot
  • Home
  • Du Lịch
No Result
View All Result
Friday, November 19, 2021
  • Home
  • Du Lịch
No Result
View All Result
Hargabaru - Xem ngay tin tức du lịch, game, làm đẹp siêu hot
No Result
View All Result

Create Shutdown / Restart / Sleep Shortcuts in Windows 7 or Vista

admin by admin
June 29, 2020
in Tổng Hợp
32
Create Shutdown / Restart / Sleep Shortcuts in Windows 7 or Vista



This video will show you how to create a desktop shortcuts and sleep/shutdown and reset windows 7 and Vista

Shutdown Computer Shortcut
——————————————-
Shutdown.exe -s -t 00

Restart Computer Shortcut
————————————–
Shutdown.exe -r -t 00

Sleep Computer Batch File
————————————–
powercfg -hibernate off
rundll32.exe powrprof.dll,SetSuspendState 0,1,0

My bad the sleep command appears to trigger hibernation. I think the work around for this is to disable hibernation in the registry.
HKEY_LOCAL_MACHINESYSTEMCurr­entControlSetControlPower
In the right pane of the Power key, double click/tap on HibernateEnabled, Type in 0 (zero), and click/tap on OK.
bit of a hack…I think this works. Can’t see another way around it….

Nguồn: https://hargabaru.net/

Xem thêm bài viết khác: https://hargabaru.net/tong-hop/

Xem thêm Bài Viết:

  • SEO Offpage là gì? Những điều cần biết về SEO Offpage
  • Test hiệu năng CPU Intel 10th Core i7-10700K
  • 3 lý do khiến sim số đẹp không ngừng tăng giá trong năm 2021
  • Vợ chồng khắc mệnh chọn nhà đất Sóc Trăng ra sao để hoá giải?
  • Danh sách các biệt thự quận Nam Từ Liêm trên 200m2 đẹp mê hồn
Previous Post

Giày 2Hand | Bất ngờ những đôi giày SNEARKER chính hãng lại có giá chỉ vài trăm ngàn

Next Post

Những Cơn Mưa Tình Yêu - Tập 16 | Phim Tình Cảm Việt Nam Hay Nhất 2020

Next Post
Những Cơn Mưa Tình Yêu – Tập 16 | Phim Tình Cảm Việt Nam Hay Nhất 2020

Những Cơn Mưa Tình Yêu - Tập 16 | Phim Tình Cảm Việt Nam Hay Nhất 2020

Comments 32

  1. ourfulltube says:
    1 year ago

    If a keyboard doesn't have, Sleep, Wake up, Power, function keys, can we activate those 3 functions, using "Combination of keys" on keyboard. If yes, let's know, how. please reply to this message. Thanks.

    Reply
  2. Molnár Csongor says:
    1 year ago

    My sleep icon is work but i can't change the icon! 🙁 (WIN 10)

    Reply
  3. Aslı Aslı says:
    1 year ago

    The sleep command is bad kinda, Sleep command is actually wrong and not working,

    Call the sleep command correctly:

    rundll32 powrprof.dll,SetSuspendState 0,1,0

    And done.

    Try this one if it works or not.

    Oh well.

    Reply
  4. Just a Programmer says:
    1 year ago

    i made a special icon for it 🙂

    Reply
  5. MEGA NZ says:
    1 year ago

    Big thanks.. quick and straight forward to the point.. Love it!!! thanks for keeping the video posted

    Reply
  6. Nafis Abraar says:
    1 year ago

    a vry big thnx to u sir frm the bttm of my hrt

    Reply
  7. Sumathi. Devara says:
    1 year ago

    how to work

    Reply
  8. RossB_Vk3nrb says:
    1 year ago

    Worked for me thank you

    Reply
  9. 空白の声 says:
    1 year ago

    Is the one that he used same as shutdown /s /t 0 (for shutdown)?

    Reply
  10. abdilahi Sulub says:
    1 year ago

    but the botton of shutdown does not work

    Reply
  11. Barrett Ross says:
    1 year ago

    Right click on the sleep.bat file and then click properties and then check the hidden property of the file

    Reply
  12. Yuki 64 says:
    1 year ago

    work for windows 10 ?

    Reply
  13. Pyro says:
    1 year ago

    Reastart don work ….

    Reply
  14. Cool Coyote says:
    1 year ago

    anyone can do this, i need a keyboard button assigned, cos if my mame crashes i dont have a button to press on my pitiful keyboard

    Reply
  15. Sachin Rapper says:
    1 year ago

    signed in just to like this, thanks alot man..

    Reply
  16. KS Lee says:
    1 year ago

    「shutdown.exe -s -t 00」for SHUTDOWN 「shutdown.exe -r -t 00」for RESET 「rundll32.exe powrprof.dll,SetSuspendState 0,1,0」 for SLEEP

    Reply
  17. KS Lee says:
    1 year ago

    for your sleep shortcut it will show your text file instead of putring your computer into sleep make your shortcut type the command 「rundll32.exe SetSuspendState 0,1,0」

    Reply
  18. KS Lee says:
    1 year ago

    but your shutdown shortcut icon is still right =)

    Reply
  19. KS Lee says:
    1 year ago

    You have use the icon what that has the right-arrow in a green square for the Restart shortcut and have to put the sleep shortcut's icon you have to put the icon that has the thing looks like a disk eject symbol in a golden square xD

    Reply
  20. Kieran Smith says:
    1 year ago

    Soo helpful 😀 thanks

    Reply
  21. Carlos Bermudez says:
    1 year ago

    This code also works when you type it in the shortcut wizard. but you have to turn off the powercfg -h off on the cmd as administrator:
    rundll32.exe powrprof.dll,SetSuspendState, 0,1,0

    Reply
  22. originalfred66 says:
    1 year ago

    Thank you for the tip for setting the registry to avoid hibernation. I turned off hibernation with the Control Panel Power settings, but the "rundll32.exe powrprof.dll,SetSuspendState 0,1,0" still went to hibernation. I also changed the Properties of the Start Menu power button to Sleep.

    Reply
  23. cBooM says:
    1 year ago

    worked fine for me .. thanks 😉

    Reply
  24. Bill Evlogs says:
    1 year ago

    Kinda wrong. Your Sleep shortcut will ONLY do what you have your power button set as. IE: Right-click start button / Properties set "Power Button Action:" to Sleep. Or just add a shortcut like [C:WindowsSystem32rundll32.exe Powrprof.dll,SetSuspendState Sleep]

    Reply
  25. fretsman68 says:
    1 year ago

    Thanks for replying, but had you actually tried this? It does not work for me.

    Reply
  26. TechieHowTo says:
    1 year ago

    Sorry Guys, my bad the sleep command appears to trigger hibernation. I think the work around for this is to disable hibernation in the registry.

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPower

    In the right pane of the Power key, double click/tap on HibernateEnabled, Type in 0 (zero), and click/tap on OK.

    bit of a hack…I think this works. Can't see another way around it….

    Reply
  27. TimAussiex says:
    1 year ago

    I have the same problem :/ Can't find a solution for it.

    Reply
  28. fretsman68 says:
    1 year ago

    nothing yet?

    Reply
  29. fretsman68 says:
    1 year ago

    Unfortunately the sleep mode is more of a hibernate, correct?
    I've tried this and it can't wake up by just hitting the mouse or keyboard button like when using the sleep command in the orb/shut-down menu . I actually have to hit the power button and then it goes through the whole bios screen to wake up.
    Do you have a function for the sleep command like on the windows shutdown menu?
    Thanks,
    Dave

    Reply
  30. Daedalus says:
    1 year ago

    Wow thanks !
    Also in the sleep shortcut icon, you can add a keyboard shortcut like ctrl+shift+S
    This makes it that much more easier than to use the mouse to double click it, and you can safely hide the batch file and shortcut somewhere else.

    Reply
  31. Renaissander says:
    1 year ago

    thanks so much bro!! genius

    Reply
  32. Mohamad Toha says:
    1 year ago

    great! thanks.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Tin Hot

(Official Trailer) GIÀNH ANH TỪ BIỂN | KC 08.06.2018

(Official Trailer) GIÀNH ANH TỪ BIỂN | KC 08.06.2018

June 19, 2020
[Quick Guide] Tourist trap

[Quick Guide] Tourist trap

June 27, 2020
[SWEET BUSINESS] -TẬP 1- Mọi Việc Cứ Để Chị Lo! |Phương Anh Đào, Trần Quốc Anh| DADA Studio Việt Nam

[SWEET BUSINESS] -TẬP 1- Mọi Việc Cứ Để Chị Lo! |Phương Anh Đào, Trần Quốc Anh| DADA Studio Việt Nam

June 26, 2020
[THỬ CHO BIẾT] Tập 7 – Bóc Tem Resort Siêu Chất Ở Ba Vì

[THỬ CHO BIẾT] Tập 7 – Bóc Tem Resort Siêu Chất Ở Ba Vì

June 30, 2020
|VLOG|5 NGÀY KHÁM PHÁ LỆ GIANG CỔ TRẤN| ĐI ĐÂU? ĂN GÌ? CHƠI GÌ?|

|VLOG|5 NGÀY KHÁM PHÁ LỆ GIANG CỔ TRẤN| ĐI ĐÂU? ĂN GÌ? CHƠI GÌ?|

June 26, 2020
1 ngày thử ở trong Resort 5 Sao ở Hội An (Oops Banana)

1 ngày thử ở trong Resort 5 Sao ở Hội An (Oops Banana)

June 29, 2020
  • Liên Hệ
  • Chính Sách Bảo Mật

© 2021 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Du Lịch

© 2021 JNews - Premium WordPress news & magazine theme by Jegtheme.