Skip to content




Membuat shortcut shutdown, restart, hibernate di Windows

Sebenarnya Windows (versi pirated atau genuine) sudah menyediakan menu untuk power function di start menu. Tapi supaya lebih efisien lagi, saya membuat shortcut untuk fungsi shutdown, restart, hibernate dan standby di desktop. Caranya mudah dan cepat, gak sampai menghabiskan sebatang rokok.

Klik kanan di desktop dan pilih menu New   > Shortcut. Lalu akan muncul kotak dialog “Create Shortcut” seperti ini.

Membuat shortcut shutdown, restart, hibernate di Windows

Di kotak “Type the location of the item“, masukkan command sebagai berikut:

Untuk perintah Shutdown

Shutdown.exe -s -t 00

Untuk perintah Restart

Shutdown.exe -r -t 00

Untuk perintah Hibernate

rundll32.exe PowrProf.dll,SetSuspendState

Untuk perintah Standby

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

Untuk perintah Lock

Rundll32.exe User32.dll,LockWorkStation
Untuk perintah Lock, bisa juga dijalankan dengan menekan tombol Winkey + L

Jika command sudah dimasukkan, klik Next dan beri nama shortcut tersebut sesuai selera. Untuk mencobanya, double-click aja shortcut tersebut. Baik shortcut shutdown, hibernate atau restart semuanya bisa jalan di platform windows 7, vista atau XP. Untuk beberapa versi Windows XP, ada kemungkinan kalau perintah untuk shortcut standby tidak mau berjalan seperti yang diharapkan. Jika demikian, ada alternatif lain untuk membuat shortcut standby, yaitu dengan memanfaatkan file .bat. Caranya buka Notepad atau aplikasi text editor apa saja. Lalu copy puisi di bawah ini dan paste ke Notepad.

@echo off
powercfg -h off
%windir%\system32\rundll32.exe PowrProf SetSuspendState
powercfg -h on
exit

Setelah itu simpan file dengan nama apa saja, yang penting harus berekstensi .bat.
Supaya gak bingung, ganti saja icon masing-masing shortcut sesuai selera. Atau tambahkan juga shortcut key untuk tiap-tiap shortcut supaya lebih cepat lagi mengaksesnya.

Semoga bermanfaat Coffee

Posted in komputer.

Tagged with , .


Baca juga ya...


Komentar Facebooker


3 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. julianusginting says

    wah informasi menarik gan…. Yes Yes

  2. flazy says

    buat tambahan aja gan. kalo log off shortcut nya gini:
    shutdown.exe -l -t 0

  3. Jrs Yusuf says

    yang kagak ada shortcut “switch user” gan,.. sampe sekarang belum nemu (soalnya switch user kalo di sistem operasi stelah xp itu “lock” Smile



Some HTML is OK

or, reply to this post via trackback.

Click to Insert Smiley

SmileBig SmileGrinLaughFrownBig FrownCryNeutralWinkKissRazzChicCoolAngryReally AngryConfusedQuestionThinkingPainShockYesNoLOLSillyBeautyLashesCuteShyBlushKissedIn LoveDroolGiggleSnickerHeh!SmirkWiltWeepIDKStruggleSide FrownDazedHypnotizedSweatEek!Roll EyesSarcasmDisdainSmugMoney MouthFoot in MouthShut MouthQuietShameBeat UpMeanEvil GrinGrit TeethShoutPissed OffReally PissedMad RazzDrunken RazzSickYawnSleepyDanceClapJumpHandshakeHigh FiveHug LeftHug RightKiss BlowKissingByeGo AwayCall MeOn the PhoneSecretMeetingWavingStopTime OutTalk to the HandLoserLyingDOH!Fingers CrossedWaitingSuspenseTremblePrayWorshipStarvingEatVictoryCurseAlienAngelClownCowboyCyclopsDevilDoctorFemale FighterMale FighterMohawkMusicNerdPartyPirateSkywalkerSnowmanSoldierVampireBabak belurGhostSkeletonFemaleMaleHeartBroken HeartRoseDead RosePeaceYin YangBenderaMoonStarSunCloudyRainThunderUmbrellaRainbowMusic NoteAirplaneCarIslandAnnouncebrbMailCellPhoneCameraFilmTVClockLampSearchCoinsComputerConsolePresentSoccerCloverPumpkinBombHammerKnifeHandcuffsPillPoopCigarette