Create a Shortcut or Hotkey to Switch Power Plans Ustvari bližnjico ali Hotkey za Switch Power načrtov
Have you ever wanted to be able to just hit a hotkey that tells Windows to switch from High Performance down to Power Saver? Ste si kdaj želeli, da bi lahko samo zadeti hotkey, ki pove, da preklopite iz Windows High Performance Power Saver do? Sure, you can use the tray icon, but since we like to customize things there's always another way. Seveda, lahko uporabite ikono, ampak ker smo želeli prilagodite stvari vedno obstaja drug način.

Thanks to our great forum member ScottW for coming up with this idea. Zahvaljujoč veliki forum člana ScottW za bodoč ki gre gor s to idejo. He's always an excellent source of geeky wisdom! On je vedno odličen vir geeky modrosti!
Using the powercfg Command Uporaba powercfg Command
Windows 7 and Vista come with the powercfg command that you can use from the command prompt, and we'll have to use this tool to figure out the GUID—the internal ID that Windows uses—for the plan itself. Windows 7 ter razgled priti s powercfg ukaz, ki ga lahko uporabite s zapoved uren, mi pa bomo morali uporabiti to orodje, da ugotovimo, GUID-notranji ID, ki uporablja operacijski sistem Windows, za načrta samega.
To find the power scheme GUID, simply open up a command prompt and type in the following: Da bi našli moč sistema GUID, preprosto odpre ukazni poziv in vnesite naslednje:
powercfg –list powercfg seznam
This should leave you with a list of the power plans you have assigned on your system, and the appropriate GUID for each. To bi moralo zapustiti vam seznam moči načrtov ste dodeljeni na vaš sistem, in ustrezne GUID za vsako. If you've read our Če ste preberite našo handy guide to copying to the clipboard from the command prompt priročen vodnik za kopiranje na odložišče s zapoved uren , it's an easy task to copy the GUID for later. , To je lahka naloga, da bi kopirali GUID za kasneje.

As you can see in the screenshot, you can use the –setactive argument to actually switch between the plans from the command line, which is how we'll create the shortcut. Kot lahko vidite v screenshot, lahko uporabite-setactive argument, da je dejansko preklop med načrti iz ukazne vrstice, ki je, kako bomo ustvarili bližnjico.
Creating the Shortcut Ustvarjanje Bližnjica
Next you'll need to create a shortcut by right-clicking on the desktop and choosing New \ Shortcut. Nato boste morali ustvariti bližnjico z desnim klikom na namizju in izberete New \ Bližnjica.

You'll want to use the following in the application shortcut, replacing the GUID with your own: Boste želite uporabiti naslednje vloge bližnjico, ki nadomešča GUID s svojim:
powercfg -setactive <SCHEME_GUID> powercfg-setactive <SCHEME_GUID>
Note how it looks in the screenshot… yours should look the same. Opomba kako to izgleda v screenshot ... bi vaš pogled enako.
Update: Reader Nick points out that you can use /setactive “Name of Profile” instead of the GUID as an alternate option. Update: Reader Nick poudarja, da lahko uporabite / setactive "Ime profila" namesto GUID kot nadomestna možnost.

You can repeat the same thing to create another shortcut for one of the other power plans. Lahko ponovite isto stvar ustvariti novo bližnjico za eno od drugih načrtov moči.
Customize the Shortcut Prilagajanje Bližnjica
Now that we have some fancy shortcuts, you can make them look better by tweaking the icon, and then assign a shortcut key. Sedaj, ko imamo nekaj fancy bližnjice, lahko bi jih bolje poglej ga poteg ikono, in potem dodelite bližnjico tipko. There are a number of really great icons in the following Windows DLL file: Obstajajo številne res super ikone v naslednjih Windows DLL datoteke:
C:\Windows\System32\powercpl.dll C: \ Windows \ System32 \ powercpl.dll

And you can assign a shortcut key to switch power schemes on the fly. In lahko dodelite bližnjico ključ za stikalo za vklop shem na letenje.

Once you're all done, you should have two new icons, ready to use! Ko ste vse narediti, morate imeti dva nova ikona, je pripravljen za uporabo!

If you wanted to get really geeky, you can use the start menu search box or Če si hotel priti zelo geeky, lahko uporabite iskalno polje ali začetek jedilnik Launchy Launchy to switch the schemes from the keyboard. za preklop sheme od tipkovnice.
Alternate: Use the Mobility Center Alternate: Uporabite Mobility Center
As reader borja points out in the comments, you can use the Win+X shortcut key combination to bring up the Mobility Center and quickly switch the power management mode—although it's not going to really be any quicker than using the tray icon, but still a useful tool! Kot opozarja bralec Borja iz pripomb, lahko uporabite bližnjico Win + X kombinacijo tipk, da bi se Center za mobilnost in hitro preklopiti način za upravljanje porabe energije, čeprav ne bo res vse hitreje kot z ikono, vendar še vedno koristno orodje!


Daily Email Updates Dnevni Email Updates
You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:



So it is possible to write short cmd commands in shortcut location? Tako je mogoče napisati kratka cmd ukazov v priročnem mestu?
If the Vista/Win7 version of the powercfg only operates on GUID then it is a step back as the XP version allows the usage of the human-friendly name, or the numerical id if you use the /n switch. Če Vista/Win7 različica powercfg deluje samo na GUID potem je to korak nazaj, kot različico XP omogoča uporabo človeku prijazno ime, ali številčni id, če uporabite stikalo / n.
ciao! Ciao!
Nice tip!. Nice tip!.
In win7, you can use “windows key+x” to switch power plans quickly. V Win7, lahko uporabite "okno zakleniti + x" na stikalo načrti hitro.
First of all, let me thank you for all the great tips, I'm so glad I subscribed. Najprej naj se zahvalim vsem vam za velik opiti, jaz sem tako vesela, da sem vpisala.
As a programmer I often have to switch between normal mode (ie power saver) and a high performance mode when I am doing stability runs of a program. Kot programer sem pogosto preklapljati med običajen način (tj moč zaslona) in način delovanja, ko veliko delam stabilnost v vodi program. I love this feature, but it would be even more perfect if it would also enable/disable the screen saver. I love to funkcijo, vendar pa bi bilo še bolj popoln, če bi bilo tudi omogočiti / onemogočiti ohranjevalnik zaslona. Lastly, would it be possible to indicate (icon) what mode is active? Končno, bi bilo mogoče navesti (ikona) kakšen način je aktiven?
PS: I realize this is all easy with a bit of programming, but frankly I have too much fun doing it without writing a single line of code PS: jaz vnovčiti to je vse enostavno z nekaj programiranja, vendar odkrito povedano imam preveč zabavno početje to brez pisanja ene vrstice kode
You can also use the command like this: Uporabite lahko tudi ukaz takole:
powercfg.exe /setactive “Name of profile” powercfg.exe / setactive "Ime profila"
Works for me Works za mene
Thanks! Hvala! I have always wanted to have a keyboard shortcut for power mode switch. Vedno sem želel imeti bližnjico na tipkovnici za moč Stikalo za izbiro načina.
Also… I did not know about Win+X combination. Prav tako ... Nisem vedel Win + X kombinacijo. Thanks to Borja Zahvaljujoč Borja
You could use the Task Scheduler to schedule this command and have the “High Performance” plan during the day and “Power Saver” plan at night. Lahko uporabite penzum tabela programirati ta ukaz in imajo "High Performance" načrt za čez dan in "Power Saver" načrt ponoči. This would save power if you leave your PC on at night and give you benefits during the day! Tako bi se prihranila energijo, če pustite vaš PC za ponoči in vam koristi v dan!
powercfg -setactive “plan name” doesn't work for me in Win7 RC. powercfg-setactive "načrt name" ne opus navzlic v Win7 RC. Looking at the command line options as described at TechNet and from powercfg /?, there is no mention of a possible friendly name substitution for the power scheme GUID. Če pogledamo možnosti ukazne vrstice, kot je opisano na TechNet in powercfg /?, Ni omenja morebitne zamenjave prijazno ime za moč shemo GUID. Here is the TechNet article for Vista: Tukaj je TechNet članek Vista:
http://technet.microsoft.com/e.....48940.aspx http://technet.microsoft.com/e.....48940.aspx
Can anyone else confirm that powercfg -setactive “plan name” works for them in Vista or 7? Ali lahko kdo drug potrdi, da powercfg-setactive "načrt name" dela za njih v Vista ali 7?
Aha! Aha! Here are the user-friendly names of the power schemes in the list of aliases: Tu so uporabniku prijazna imena moči sistemov na seznamu vzdevkov:
>powercfg -aliases > powercfg-alias
a1841308-3541-4fab-bc81-f71556f20b4a SCHEME_MAX a1841308-3541-4fab-bc81-f71556f20b4a SCHEME_MAX
8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c SCHEME_MIN 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c SCHEME_MIN
381b4222-f694-41f0-9685-ff5bb260df2e SCHEME_BALANCED 381b4222-f694-41f0-9685-ff5bb260df2e SCHEME_BALANCED
So the following commands are valid, and test out on my Win 7 RC install: Tako so naslednje ukaze veljaven, in preizkus na moji Win 7 RC namestite:
> powercfg -setactive SCHEME_MAX > Powercfg-setactive SCHEME_MAX
> powercfg -setactive SCHEME_BALANCED > Powercfg-setactive SCHEME_BALANCED
> powercfg -setactive SCHEME_MIN > Powercfg-setactive SCHEME_MIN
um, has anyone noticed that this doesnt work after the first time you do it? um, je kdo opazil, da je to doesnt opus, ko prvič si to naredil?
or maybe its just me . ali morda svoj samo jaz. . . . .
I get “The file…powercfg.exe contains no icons” message when I try to change the icon. Dobim "datoteke ... powercfg.exe ne vsebuje ikone" vest, ko sem poskušal spremeniti ikono. Running Vista Business. Running Vista Business. Anyone else get that? Še kdo dobil to?
I just wanted to leave a comment describing how I made this look really, really good. Hotel sem zapustiti komentar, ki opisuje, kako sem videti to res, res dobro. I highly recommend anyone who did the above, read the below. Toplo priporočam vsakomur, ki je zgoraj, preberite v nadaljevanju. And thank them too. In hvala tudi zanje.
I made three shortcuts – Power Saver.lnk, Balanced.lnk, and High Performance.lnk. Naredila sem tri bližnjice - Power Saver.lnk, Balanced.lnk, in High Performance.lnk. I customized their icons from the properties dialog to use the wireless signal indicators (sets of two-to-five green bars), which are located in the file C:/Windows/System32/mblctr.exe – there are four to choose from and on a machine with no wireless icons visible or in use, they really suit these power-plan shortcuts. I prilagodili svoje ikone od lastnosti pogovornega za uporabo brezžičnega signala kazalcev (niz dveh do pet zelene palice), ki se nahajajo v datoteki C: / Windows/System32/mblctr.exe - obstajajo štiri na izbiro in na stroj brez brezžičnih ikona vidna ali v uporabi, v resnici obleko ti power-bližnjice načrt. I looked in System32 forever to find ones that did. Sem pogledal v System32 večno, da bi našli tiste, ki niso.
So I put them in a folder I made: C:/Users/[Adam]/AppData/Roaming/Microsoft/Windows/[Power Plans/], which you can name anything you like. Zato sem jih dal v mapo sem: C: / Users / [Adam] / AppData / Roaming / Microsoft / Windows / [Power načrti /], ki ga lahko ime, kaj ti je všeč. But this is the most logical place in a Windows Vista installation for these shortcuts. Toda to je najbolj logična mesto v namestitev sistema Windows Vista za te bližnjice.
The last step is to navigate a new window to Control Panel, make sure you are in classic view. Zadnji korak je to navigate novo okno v Nadzorna plošča, poskrbite, da ste v klasični pogled. Right click the Power Options icon and select “Create Shortcut.” It appears on the desktop, name it whatever you like. Desni klik na ikono Power Options in izberite "Ustvari bližnjico." Zdi se na namizju, je ime, kar hočeš. Place it in the folder with the power-plan shortcuts. Postavite jo v mapo z močjo-bližnjice načrt.
Now I listed this folder as a toolbar on my taskbar, and unlocked the taskbar. Zdaj sem iz to mapo kot orodna vrstica za svoj penzum, odklenjena in opravilne vrstice. Make the toolbar as short as possible so that only the name of the folder and a pair of arrows appear. Make orodne vrstice čim krajši, tako da samo ime mape in par puščic prikazani. Drag the very last shortcut we created, the one to “Control Panel/Power Options” to the top of the list in our toolbar so it appears above all the specific shortcuts to each plan. Povlecite zadnjo bližnjico smo ustvarili, enega na "Control Panel / Power Options" na vrhu našega seznama v orodni vrstici, tako se zdi, predvsem posebne bližnjice do vsakega načrta. Right click the dots which appear to the left of your new toolbar after unlocking it; you can deselect “Show Text” and “Show Title.” Now they will be replaced by the topmost icon, which opens the Power Options dialog. Desni klik pike, ki se pojavljajo na levi strani novo orodno vrstico sprostitev po njem; lahko prekličite "Pokaži besedilo" in "Show naslova." Zdaj bo mogoče nadomestiti z vrhunskih ikono, ki odpre pogovorno Power Options. The arrows show the plans, which you can drag into your preferred order. Puščice kažejo načrti, ki jih lahko povlečete v želenem vrstnem redu. It's like it was meant to be. To je, kot je bilo mišljeno, da bo.