Windows 10: Sleep with cmd?

Discus and support Sleep with cmd? in Windows 10 Performance & Maintenance to solve the problem; I want to make a shortcut to sleep, but I dont want to disable hibernation, and I am lost when installing PSTools. Are there any other way?... Discussion in 'Windows 10 Performance & Maintenance' started by Anibal_Alarcon, Dec 16, 2020.

  1. Sleep with cmd?


    I want to make a shortcut to sleep, but I dont want to disable hibernation, and I am lost when installing PSTools. Are there any other way?

    :)
     
    Anibal_Alarcon, Dec 16, 2020
    #1

  2. Display will not sleep.

    Hi,

    Thank you for posting your query in Microsoft Community. I understand the inconvenience caused to you and will help you solve the issue.

    I suggest you to follow the steps provided below and check if it helps.

    • Click on Start>Settings>System.
    • In the left navigation pane, click on Power & sleep.
    • In the right pane, select the time limit for the system to go to sleep from the drop down list.

    Hope the information is helpful. Keep us posted on the status for further assistance.
     
    Eeshwar Kumar, Dec 16, 2020
    #2
  3. Display and sleep settings

    Hi,

    In order to help you with the issue about the display and sleep settings, kindly answer the following questions:

    • Have you tried the troubleshooting steps suggested by MVP Andre Da Costa? If you did, what were the results?
    • For us to avoid redundancy of the troubleshooting process, what were the other steps you have done to resolve the issue?

    We look forward to your next post.

    Regards.
     
    Jesrael Bor, Dec 16, 2020
    #3
  4. Sleep with cmd?

    Sleep

    Hi,

    This may happen due to its power plan. A power plan is a collection of hardware and system settings that manages how computers use and conserve power. For this, we suggest that you reset and restore power plans to its default. kindly follow these steps:

    • Open the Command Prompt (Admin).
    • Copy and paste the command below into the command prompt, and press
      Enter
      :
      • powercfg -restoredefaultschemes
    • Close the Command Prompt window, and then restart your PC to apply the changes.

    After that, go to Power & sleep settings
    by typing it into the Windows Search. Check the When plugged in, PC goes to sleep after
    settings is set to Never.

    Let us know if the steps above helped you to resolve the issue.
     
    Janeane Cru, Dec 16, 2020
    #4
Thema:

Sleep with cmd?

Loading...
  1. Sleep with cmd? - Similar Threads - Sleep cmd

  2. Constant BSOD while the PC goes to sleep, usually overnight

    in Windows 10 Software and Apps
    Constant BSOD while the PC goes to sleep, usually overnight: Guys,I am getting a BSOD nearly every night and wake up to my computer reset. I have all of my minidumps but I am curious how you would want me to upload?Also, what do you use to determine the culprit?Best,Layne...
  3. Windows 11 cmd prompt opens every time computer wakes up from sleep mode

    in Windows 10 Gaming
    Windows 11 cmd prompt opens every time computer wakes up from sleep mode: Hi, I am running windows 11 and every time the computer wakes up from sleep it also opens a command prompt window. I have tried several solutions, but have had no success. Can you help please?Thank you!Jim...
  4. Windows 11 cmd prompt opens every time computer wakes up from sleep mode

    in Windows 10 Software and Apps
    Windows 11 cmd prompt opens every time computer wakes up from sleep mode: Hi, I am running windows 11 and every time the computer wakes up from sleep it also opens a command prompt window. I have tried several solutions, but have had no success. Can you help please?Thank you!Jim...
  5. CMD window flashes for a 1/4 second and is gone. Prevents sleep.

    in Windows 10 Performance & Maintenance
    CMD window flashes for a 1/4 second and is gone. Prevents sleep.: I have spent 2 months trying to resove a problem.The issue... A cmd window opens and closes so fast its more like a flicker. It always opens on top of other programs. It prevent the computer from going into sleep.What I have tried so far... Nothing has fixed the issue.I have...
  6. CMD window flashes for a 1/4 second and is gone. Prevents sleep.

    in Windows 10 Gaming
    CMD window flashes for a 1/4 second and is gone. Prevents sleep.: I have spent 2 months trying to resove a problem.The issue... A cmd window opens and closes so fast its more like a flicker. It always opens on top of other programs. It prevent the computer from going into sleep.What I have tried so far... Nothing has fixed the issue.I have...
  7. CMD window flashes for a 1/4 second and is gone. Prevents sleep.

    in Windows 10 Software and Apps
    CMD window flashes for a 1/4 second and is gone. Prevents sleep.: I have spent 2 months trying to resove a problem.The issue... A cmd window opens and closes so fast its more like a flicker. It always opens on top of other programs. It prevent the computer from going into sleep.What I have tried so far... Nothing has fixed the issue.I have...
  8. Why Does Cmd Prompt Stop Working When Locked/Sleep Mode?

    in Windows 10 Customization
    Why Does Cmd Prompt Stop Working When Locked/Sleep Mode?: Well I make discord bots quite often, and up until i recently updated my pc about a month ago CMD prompt seems to just stop working when PC is locked / goes to sleep. This has never happened before, and ive been doing this for more than a year. Is this just a setting that...
  9. Disabling sleep / hibernation timer through powershell / cmd

    in Windows 10 Ask Insider
    Disabling sleep / hibernation timer through powershell / cmd: Hi all, I was wondering if anyone knows a way to disable sleep / hibernation through cmd or powershell. I have a system I ssh into at home so I only have a shell but it seems to go into sleep mode after x amount of minutes each time. Any solution? EDIT: a way to reset the...
  10. Cmd sleep command but with timer

    in Windows 10 Support
    Cmd sleep command but with timer: If you could help i found :\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState Sleep but i need -t 180 secs which doesnt work with this and i dont want to use third party programs.. tyvm 97497