Page 2 of 2 FirstFirst 12
  1.    24 Sep 2017 #11
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,940
    Windows 10 Pro

    Quote Originally Posted by SLENDER RISING View Post
    Then, you can just type in any cmd mode
    Code:
    shutdown/h /t 0
    for it to hibernate instantly or, otherwise,
    Code:
    shutdown/h
    for it to set a hibernate mode within 30 seconds of the command being introduced.
    ...
    ...
    Edit its route from "C:\Windows\System32\shutdown.exe" to "C:\Windows\System32\shutdown.exe /h /t 0" for instant hibernate, or "C:\Windows\System32\shutdown.exe /h" for 30 second delay before hibernate.
    Just to clarify this: Hibernate switch (/h) used with shutdown command does not accept time delay switch (/t X where X is delay in seconds). Command shutdown /h /t 0 does therefore not work. Time delay switch can only be used with restart (/r) and shut down (/s) switches

    The only correct way to hibernate with shutdown is shutdown /h without any additional parameters.

    Kari
      My ComputerSystem Spec
  2.    24 Sep 2017 #12
    Join Date : Sep 2017
    Posts : 10
    Windows 10

    Quote Originally Posted by Pipppero2007 View Post
    About shutdowb /h i see around other ways to hibernate so i can be sure it will only go to hibernate my pc without touching else?
    Worry not about this, I have had it enabled since 2015 and not a single problem with other files or system configuration
    As for the sleep command, I disacknowledge completely on the topic
      My ComputerSystem Spec
  3.    24 Sep 2017 #13
    Join Date : Sep 2017
    Posts : 10
    Windows 10

    Quote Originally Posted by Kari View Post
    Just to clarify this: Hibernate switch (/h) used with shutdown command does not accept time delay switch (/t X where X is delay in seconds). Command shutdown /h /t 0 does therefore not work. Time delay switch can only be used with restart (/r) and shut down (/s) switches

    The only correct way to hibernate with shutdown is shutdown /h without any additional parameters.

    Kari
    I must truly be thankful for the correction, sire, explains why in other computers it hasn't worked lately. I mean, haven't used the command by itself for almost 2 years now ¯\_(シ)_/¯ people tend to forget
      My ComputerSystem Spec
  4.    25 Sep 2017 #14
    Join Date : Sep 2016
    Posts : 165
    Windows 10 Pro 64 bit
    Thread Starter

    Everything works, i only need to test pstools for suspend.
    Its weird its a tool fron 2006...
    Also dont understand what eula does, why somebody add -accepteula in the command line and if this pstool is a service or just an exe.
    Hope to test tomorrow.
      My ComputerSystem Spec
  5.    26 Sep 2017 #15
    Join Date : Feb 2016
    Maribor, Slovenia
    Posts : 8,867
    Windows 10 (Pro and Insider Pro)

    Quote Originally Posted by Pipppero2007 View Post
    Everything works, i only need to test pstools for suspend.
    Its weird its a tool fron 2006...
    Also dont understand what eula does, why somebody add -accepteula in the command line and if this pstool is a service or just an exe.
    Hope to test tomorrow.
    Eula is usually referred to as an End User Licence Agreement. Looks like you have to agree to pstools EULA if you use it... If you want to use it in command line, you have agree with the terms in that way...

    from Wikipedia:

    In proprietary software, an end-user license agreement or software license agreement is the contract between the licensor and purchaser, establishing the purchaser's right to use the software.
    I'll look around, if there is another way to do that.
      My ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Sleep Reason: Hibernate from Sleep - Fixed Timeout - Set Never?
I recently did a fresh install of Win 10 Creative Update. I have Hibernate on my pc set to Never. My computer is set to Sleep after 20 minutes which works fine. After it goes to sleep a minute later I can hit a key and it will return from sleep. The...
General Support
Run a scheduled task via command line via command line
i want start a Run a scheduled task via command line like this: Code: %SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup" when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start. Is there a...
General Support
Solved Win 10 home 64 bit command line Sleep command
If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule. If I use any of the followingcommand lines, the software cannot wake my computer, I have ran “powercfg/h /off” at C:\windows\system32...
General Support
Solved Can't add user via command line
I am trying to add a user via the command line through a virtual pc I added with VMWare. I'm running windows 10, and unable to add because this is what I get when I open CMD: I can't go beyond this point, I keep getting error messages. Any help...
User Accounts and Family Safety
Can restore of Win 7 be started from command line ?
For some unknown reason I cannot any more navigate to Update panel from "Einstellungen" - it is blocked. I have to cancel the "Einstellungen" window by the task manager ! So in this moment I cant go forward nor backward any more: cant...
Installation and Upgrade
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:59.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums