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

    Suspend

    Example Commands
    2
    2
    1.1k
    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.
    • Mateus AlvesM
      Mateus Alves
      last edited by

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

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Mateus Alves
        last edited by Russ

        @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
        • First post
          Last post