• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Suspend

Example Commands
2
2
1.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Mateus Alves
    last edited by May 31, 2021, 10:48 PM

    How do I enable the "suspend" command?
    Como eu habilito o comando suspender ?

    R 1 Reply Last reply Jun 1, 2021, 1:23 AM Reply Quote 0
    • R
      Russ @Mateus Alves
      last edited by Russ Jun 1, 2021, 1:25 AM Jun 1, 2021, 1:23 AM

      @Mateus-Alves, I learned from here that this command will hybernate your computer by default.

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

      But, if you first run this command in an elevated cmd window (that your ran by right clicking Command Prompt, and clicking "Run as administrator"), the above command will suspend your computer instead of hybernate it.

      powercfg -hibernate off
      

      If anyone reading this doesn't know the difference between suspend and hybernate:

      • Suspend does not turn off your computer. It puts the computer and all peripherals on a low power consumption mode. If the battery runs out or the computer turns off for some reason, the current session and unsaved changes will be lost.

      • Hibernate saves the state of your computer to the hard disk and completely powers off. When resuming, the saved state is restored to RAM.

      I found that here.

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post