• Domov /
  • Jak /
Června 30, 2022

Jak vytvořit a používat zástupce režimu spánku Windows 10/11

Putting your PC in sleep mode shouldn’t be difficult, and Microsoft knows that. Whether using a Windows 10 or a Windows 11 PC, you have multiple ways to make your system enter sleep mode. In case you don’t like the default offerings, you can make your own shortcuts and put your PC to sleep.

Some ways to access Windows Sleep Mode include using an option in the Power User Menu, running a command in a Command Prompt, and making a desktop shortcut. We’ll explain how to use all these methods on your computer.

Poznámka: This guide uses screenshots from a Windows 10 PC. However, the steps for Windows 11 should be similar.

Pro přechod do režimu spánku použijte nabídku Power User Menu

Power User Menu je rychlý způsob, jak uvést počítač do režimu spánku. K této nabídce se dostanete pomocí klávesové zkratky a poté vyberte možnost pro přechod do režimu spánku.

Tato nabídka také nabízí zkratky k dalším nástrojům Windows, jako je Nastavení a Správce úloh.

  1. Stisknout Windows + X zároveň otevřít Nabídka Power User.
  2. vybrat U na klávesnici a vyberte Vypnout nebo odhlásit volba.
  3. Vybrat Spát možnost stisknutím S na klávesnici.

Pokud nechcete mačkat tlačítka na klávesnici, můžete si položky v nabídce vybrat pomocí myši nebo trackpadu.

Use the Alt + F4 Keyboard Shortcut to Put Your PC in Sleep Mode

Both Windows 10 and 11 offer a Vypněte Windows dialog box that you can use to put your PC in sleep mode. This dialog box opens using a quick keyboard shortcut, making entering sleep mode faster.

One minor drawback of this method is that pressing the keyboard shortcut will close your focused windows. So, you’ll want to use this method by first accessing your PC’s desktop.

  1. Stisknout Další + F4 současně na klávesnici.
  2. Vybrat Spát z What do you want the computer to do? Rozbalovací nabídka.
  1. vybrat OK ve spodní části dialogového okna.

Access the Power Menu to Enter Sleep Mode on Windows

Windows’ Start menu hosts shortcuts to nearly all the apps and features on your PC. One of these is a Power menu shortcut that reveals various power options, including the sleep mode option.

If you prefer using the Start menu for your tasks, you’ll like this way of entering your PC’s sleep mode.

  1. Vstoupit Home menu by either pressing the Windows key on your keyboard or selecting the Home menu icon at the lower-left corner of your screen.
  2. Vyberte Power ikonu v nabídce Start.
  1. Vybrat Spát option in the Power menu.

Make Windows Fall Asleep With a Command Prompt Command

You’re in luck if you prefer using commands to execute tasks on your PC. Windows offers a dedicated command that you can use in a Command Prompt window to put your PC to sleep.

The only drawback of this method is that the method will hibernate your PC instead of entering sleep mode if you have that feature enabled. You can turn off hibernation on your PC to avoid this situation, though.

Zde je návod disable hibernation on your PC:

  1. Otevřete Home menu, hledat Příkazový řádeka vyberte Spustit jako správce.
  1. Vybrat Ano v Řízení uživatelských účtů výzva.
  2. Enter the following command in Command Prompt and press vstoupit: powercfg -h vypnuto

If you have hibernation disabled already, or you’ve just turned the feature off using the above steps, here’s how to make your PC sleep with a command:

  1. Otevřená Příkazový řádek with admin rights on your PC.
  2. Enter the following command in Command Prompt and press vstoupit:

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

  1. Your PC will enter sleep mode.

Create a Desktop Shortcut for Sleep Mode

Windows lets you create a desktop shortcut for nearly every item stored on your PC. You can make a sleep mode shortcut on your desktop and double-click that shortcut each time you want to use sleep mode.

Creating this shortcut involves using a command instead of linking to a file on your PC. Optionally, you can assign the shortcut to a keyboard key to quickly place your PC in sleep mode.

  1. Access your desktop by pressing Windows + D.
  2. Right-click anywhere blank and select Nový > zkratka.
  3. Zadejte následující příkaz do Zadejte umístění položky field. Then, select další.

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

  1. Enter your shortcut’s name in the Zadejte název pro tohoto zástupce field. This can be any name of your choice. Then, select úprava.
  1. Your sleep mode shortcut is now ready on your desktop. Double-click this shortcut each time you want your PC to sleep.

You can now assign a keyboard shortcut to the sleep mode shortcut, so your PC enters sleep mode with a keystroke:

  1. Right-click your sleep mode shortcut and select Nemovitosti.
  2. Vyberte zkratka záložku nahoře.
  3. Vybrat Klávesová zkratka pole.
  4. Press the keys on your keyboard you’d like to assign to the sleep mode shortcut.
  1. vybrat Podat žádost následuje OK dole.
  2. Press the keyboard shortcut you just specified to make your PC enter sleep mode.

Use Your PC’s Power Button as a Sleep Button

Some computers offer a dedicated Sleep button that you can use to put your PC in sleep mode. If you haven’t got that, you can turn your keyboard’s Power button into a Sleep button.

You don’t have to take your key off your keyboard or anything else. You just have to change your PC’s power settings, and your Power key will act as a Sleep key.

  1. zahájit řídicí panel přístupem k Home menu, searching for řídicí panel, and selecting the tool in the search results.
  2. Vybrat Systém a zabezpečení v ovládacím panelu.
  3. vybrat Změňte činnost tlačítek napájení pod Možnosti napájení.
  1. Vybrat Spát od obou Na baterii a Napájen ze sítě dropdown menus next to Po stisknutí tlačítka napájení.
  1. vybrat Uložit změny dole.
  2. Press your PC’s Power button to enter sleep mode.

Use the Sleep Mode to Take Breaks From Your PC

If you’re someone who often needs to put their PC in sleep mode, Windows’ sleep mode shortcuts are real-time-savers for you. You can use both built-in shortcuts and your own shortcuts to ensure entering sleep mode on your PC isn’t a hassle.