Skip to main content

All Questions

Tagged with
0 votes
0 answers
49 views

I don't know why my laptop always wake up automatically in 1 minute with windows 11

first I checked powercfg /lastwake and it showed 0 , and then I checked powercfg /devicequery wake_armed it showed None because I just disabled the mouse and keyboard to wake up my system. And then I ...
HowHao's user avatar
  • 1
0 votes
1 answer
354 views

Turn off laptop display without putting it to sleep

I tried the suggestions on Turn off display in Windows on command and they aren't suitable. The Screensaver method only blanks the display without turning it off. Maybe that would work for OLED users. ...
Thomas the Programmer's user avatar
1 vote
0 answers
348 views

Task Scheduler is not executing Start-Sleep in PowerShell script

I have a file called XLStoXLSX.ps1 which I am running it using a (.bat) file from Task scheduler as below : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File "E:\Conversion XLS to ...
HAJJAJ's user avatar
  • 121
0 votes
1 answer
7k views

Disable sleep, hibernate, and fast startup using PowerShell in Windows 10

Edit: Skip to the end for the result of my situation I am trying to figure out how I disabled the sleep, hibernate, and fast startup options in Windows 10, so that I can include them in the PowerShell ...
NerdyGriffin's user avatar
1 vote
0 answers
703 views

How Do I Pull the Time Until Sleep of the Active Power Plan?

I'm looking for either a PowerShell script or command that allows me to get the active power plan's time until sleep. In the below example, I know from the previous screen that "Balanced" is the ...
dzampino's user avatar
  • 900
1 vote
1 answer
1k views

Equivalent of pmset noidle -u on Windows

On OS X one can easily temporarily prevent the Mac from sleeping using the command: pmset noidle -u pmset - manipulates power managment settings noidle - flag stands for sleep prevention method u - ...
Konrad's user avatar
  • 767