Questions tagged [powercfg]
A Windows command line to enable and see power settings.
57
questions
0
votes
0
answers
18
views
Laptop will not go to sleep
I'm new here, so it is a pleasure to meet all of you. I have a Windows 11 computer, and everything else works fine otherwise. However, when I try to make my computer sleep, the screen will only dim ...
0
votes
0
answers
202
views
Powercfg /requests shows a bunch of "[PROCESS] Legacy Kernel Caller" entries instead of real data when called from .bat file
To quickly view what's causing my monitor to not sleep, I usually use this .bat script with this simple contents:
@echo off
powercfg /requests
pause
On my Windows 10 machine, it results in the output ...
1
vote
0
answers
110
views
ThinkPad X1 Extreme Battery discharging issues
I have a ThinkPad X1 Extreme running Win 11. These ThinkPads don't have a good reputation for battery life, but the battery seems to discharge very quickly while in sleep or hibernation. Today I ...
1
vote
1
answer
821
views
How can I read values set with powercfg /setdcvalueindex?
The behavior of Windows Modern Standby's adaptive hibernate ostensibly depends on the following values:
Budget setting
Definition
Exposed as
Powercfg command
StandbyBudgetPercent
Defines the battery ...
0
votes
0
answers
835
views
Can you disable Fast Startup but keep Hibernation option?
It is possible to keep Windows Fast Startup enabled for shutdowns but remove "Hibernate" as a shutdown option by running the elevated command powercfg /h /type reduced, but what about the ...
2
votes
1
answer
102
views
My PC turns on by itself exactly at the 10 minute mark at every hour
A little bit of history, my PC was turned off for around 1 month, until recently. I turned it on just to update windows 10. After a few days, my PC turns on by itself, at every hour at the 10 minute ...
3
votes
1
answer
509
views
mstsc prevents standby windows 11
My Windows 11 has recently developed a sleeping disorder. This is the result of powercfg -requests:
[PROCESS] \Device\HarddiskVolume3\Windows\System32\mstsc.exe
RAIL Power Request
[PROCESS] \Device\...
3
votes
0
answers
1k
views
Windows 10 won't sleep - no requests, no wake_armed, no waketimers
Something broke my Windows system so it won't sleep automatically. The Monitor goes out after the period set, but the PC stays awake.
powercfg -requests - everything NONE
powercfg -devicequery ...
0
votes
0
answers
753
views
Check if display is off using CMD
Currently my Windows 10 PC turns off its display after 10 min (A setting under "Power Options").
I have a DIY batch script that loops every 2s in Windows background. However, this script ...
1
vote
0
answers
578
views
USB Keypad Device Preventing Sleep (Windows 11)
I've read USB Audio Device Preventing Sleep (Windows 10), Gamepad Prevents Screensaver From Starting on Windows 10, and a few others on this site.
I have a TACTICAL ASSAULT COMMANDER F14 FINAL FANTASY®...
0
votes
0
answers
378
views
powercfg /batteryreport no correlation with actual battery life?
I have 6 batteries for my laptop. I used powercfg /batteryreport to check "Full Charge Capacity" for each of them.
Then I wrote a quick Excel VBA script that enters total elapsed time in a ...
0
votes
1
answer
5k
views
How to reset Windows battery usage history statistics?
When I run a powercfg /batteryreport on Windows 10, I get a nice looking HTML report that includes battery usage history going back ~ 19 months. I suppose this is stored somewhere in my computer's ...
0
votes
2
answers
152
views
Need to create a batch or PS file help fix powercfg issues
I have the beginings of a script that will do the following:
powercfg /L >> c:\folder\powercfglst.txt
Which gives me a file with the following in it.
*Existing Power Schemes (* Active)
---------...
1
vote
3
answers
5k
views
Prevent PC from falling asleep when a certain program is running?
I have a phone mirroring program (scrcpy) and set my laptop to fall asleep after 10 minutes. I use it mainly to watch live TV, but the laptop will turn off while it's running. After reading around on ...
0
votes
0
answers
537
views
Win 10 - how to interpret powercfg /systempowerreport
Really this question is about fixing sleep on my win 10 box.
But part of that journey is understanding what is generated when i run
powercfg /SYSTEMPOWERREPORT
Win 10 Pro
20H2
19042.928
observations:
...
1
vote
2
answers
4k
views
How do I resolve the powercfg energy report errors and warnings?
I ran the following command from an elevated Command Prompt:
powercfg /energy /output "c:\energy.html"
The energy report has an error from Realtek and a bunch of warnings.
Are all of these ...
0
votes
0
answers
352
views
Accessing Powercfg device details
I am trying to add my keyboard to the wake list (no such option is available through device manager). I used this command in cmd
powercfg -devicequery wake_from_any
Intel(R) USB 3.1 eXtensible Host ...
3
votes
1
answer
947
views
Cannot get Battery Level
normally I used this command to get battery level
wmic Win32_Battery Get EstimatedChargeRemaining
but recently it started to give me: Win32_Battery - Alias not found.
So I read I should be using ...
2
votes
4
answers
3k
views
Run exe when computer is inactive for some time
Following an advice given to me in this question I have made this question. So I have an exe I want to run after the computer is idle (by idle I don’t mean sleep, I mean inactive or not being used) ...
2
votes
1
answer
217
views
Powershell - When removing AC power value is not changed
I'm trying to make a script that changes Windows power plans depending if the battery is plugged or not. I tried an infinite loop which is constantly checking on the battery status, variable "$...
0
votes
0
answers
571
views
Windows keeps asking for password when resuming from hibernate
I have an issue with a Panasonic CF-C2 laptop. There are three configured users, where only one is used to logon, the Administrator-account. The other two are used for specific software-applications ...
0
votes
1
answer
853
views
Stop keyboard and mouse waking up my PC
I'm trying to stop my keyboard, mouse and surface pen from waking up my surface pro 6. I ran
powercfg /devicequery wake_armed
I got 'NONE' as result.
I ran
powercfg /devicequery wake_from_any
A ...
11
votes
4
answers
54k
views
How to Access Hidden Power and Processor Options in Windows 10
What means are there to access and change hidden power and processor options in Windows 10?
A way to find information on hidden globally unique identifier (GUID) power and processor options.
A way to ...
1
vote
1
answer
894
views
Windows 8.1 powercfg.exe Power Settings Command-line Tool shows high CPU usage
Recently I noticed my laptop fan was working harder, and there was this process using about 35% of CPU: powercfg.exe Power Settings Command-line Tool
I'm using Windows 8.1 and have never run that ...
7
votes
1
answer
8k
views
powercfg won't honor -requestsoverride
Currently I have two drivers that is preventing my Windows 10 from sleeping (running Command Prompt as administrator):
C:\Windows\system32>powercfg -requests
DISPLAY:
None.
SYSTEM:
[DRIVER] USB ...
4
votes
2
answers
7k
views
I have a weird powercfg /a response and no Hibernate anywhere-Surface Pro 3
Here is my Powercfg /a response:
C:\Windows\System32>powercfg /a
The following sleep states are available on this system:
Standby (S0 Low Power Idle) Network Connected
Fast Startup
The ...
6
votes
1
answer
9k
views
unwanted wake from sleep by Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
I have a MSI laptop with an external USB keyboard and a mouse connected to it.
This device controller, "Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)", wakes up my PC from sleep. I ...
0
votes
1
answer
533
views
Creating a Windows Power Plan that can be restored to default
I am interested in creating a custom power plan to deploy with our customer's PCs to save them some configuration steps. Creating the custom plan and importing/exporting is no problem, however the ...
0
votes
0
answers
22k
views
Should I activate "Active State Power Management" as PowerCFG suggests? [duplicate]
After reading about PowerCFG I ran PowerCfg /energy on an Admin Powershell which created a html "Power Efficiency Diagnostics Report" that included this bit as and "error":
Power Policy:PCI Express ...
0
votes
1
answer
294
views
Sleep doesnt work but Hibernate works
I have windows 10 creators update. when I put my windows to sleep it turns on again after 1 or 2 seconds. (this problem didn't occur with creators update, but happened of some windows self updates ...
5
votes
1
answer
3k
views
Power Request Types: What's the difference between Display, System, Awaymode. (powercfg)
What's the difference between Display, System, Awaymode. I can not find a clear description of the states, even if Awaymode partially self-clarifies.
0
votes
1
answer
528
views
PC keeps powering on automatically (Windows 10)
I have a nasty issue which prevents me from powering off my computer. I can shutdown my PC but after a second or two it powers up again and starts booting... I've looked into the issue and tried the ...
1
vote
0
answers
117
views
Don't require password on wakeup while explorer.exe is killed
I need to configure Windows 10 Kiosk Auto-login tablets that don't require a password when they go to sleep.
Right now, our tablets autologin on a local user, which kills explorer.exe at login and ...
23
votes
3
answers
30k
views
How to tell what wake source is when Wake Source: Unknown
Same problem as so many people: My computer wakes itself, but I can't determine the source. Windows 10. It's happened around 3:40am, 12:21am, etc. Seems to happen every few weeks.
These are some ...
19
votes
9
answers
39k
views
USB Audio Device Preventing Sleep (Windows 10)
Background
I have been having issues with my computer not entering sleep and also waking from sleep since Window 8.1. I had hoped that Windows 10 would resolve these issues, but unfortunately this is ...
1
vote
2
answers
258
views
Win 8.1 not going to sleep
I have searched quite a lot already but unfortunately didnt find any solution or hint yet. My problem is NOT that my computer starts/boots itself from standby mode. For this often discussed problem, ...
10
votes
2
answers
9k
views
Where does `powercfg` get battery health information, and why isn't it in WMI?
On Windows 10 (among other versions) running on a device having a battery, I can use powercfg /batteryreport to obtain the "Design Capacity" and "Last Full Charge Capacity" for the battery, which give ...
0
votes
2
answers
2k
views
Windows 10 keeps waking up at night, source unknown, what to do?
I have recently upgraded a Win7 Pro machine to Win10, and since that day, every few days, the computer wakes up at nicht, once at 3:30 in the morning, the other time at 2:30 in the morning.
I already ...
4
votes
1
answer
1k
views
Windows 10 Computer Wakes During Night
Since I've updated my computer to win 10, it's been waking up in the middle of the night (it's important to note that this DID NOT happen before I updated, in windows 7). I'm not sure at what time it ...
0
votes
1
answer
416
views
screenbright win7 powershell/commandline alternative
Work computer, so I cannot install any thirdparty apps :(
Does anyone have the command line samples that work like screenbright?
2 monitors, one is darker than other and OS will brighten/darken BOTH....
14
votes
4
answers
27k
views
Windows 10 Hibernation not available
On a laptop where was previously installed Windows 8.1 I was perfectly able to use the hibernation feature. I have upgraded to Windows 10 and now the hibernation feature is disabled. If I run a ...
1
vote
1
answer
7k
views
Run batch as ADMIN & use robocopy
I need to copy from %USERPROFILE%\Desktop to B:\Desktop where B is a mapped network drive.
The code inside BAT file is:
powercfg -change -standby-timeout-ac 0
robocopy "C:\USER\DESKTOP\" "B:\DESKTOP"
...
0
votes
0
answers
3k
views
powercfg gives invalid parameter error
I am trying to run powercfg according to these site: http://ss64.com/nt/powercfg.html
To be exact I want to run this command via .batch file
Set _Custom_Power=B1234567-SS64-SS64-SS64-F00000111AAA
...
1
vote
1
answer
70
views
What does WindowsXP SetMonTime.exe command do?
I noticed on my Windows XP SP3 workstation a command runs at startup as follows:
C:\WINDOWS\system32\SetMonTime 600
I searched on the net and there is absolutely no reference to what it is and what ...
0
votes
1
answer
198
views
Changes made to powercfg.exe saved on your harddrive?
Seems like a silly question and I am about 80% sure it does, but I cant find it documented anywhere.
Lets say 1 of my laptops is stuck in sleep mode, I remove the hard drive and put it in a similar ...
1
vote
1
answer
2k
views
Cannot open powercfg.cpl
I cannot open powercfg.cpl
When i was opening control panel, windows explorer stopped working and shows "windows explorer is restarting". but control panel is not opening. I went to windows directory&...
1
vote
1
answer
1k
views
Setting Windows 8 to disable USB-wake by default for all devices - powercfg pipes?
I'm trying to keep all mice/keyboard/USB devices from waking a Windows 8.1 desktop without having to go back to device manager every time a device is plugged back in.
UEFI dual bios (Gigabyte GA-B75M-...
1
vote
0
answers
3k
views
Windows 8.1 Hibernation / WOL issues. Last Wake command never works
I setup Windows 8 and had WOL working without issue. The machine would hibernate according to the Power Plan I setup OR by using the shortcut %windir%\System32\rundll32.exe powrprof.dll,...
1
vote
0
answers
5k
views
Windows 8.1 64-Bit: Power Schemes gone
So I just ran powercfg /restoredefaultschemes because Windows 8.1 would not let me create new power schemes properly. The result was that suddenly all power schemes were gone.
It looks like this (with ...
1
vote
1
answer
2k
views
powercfg.exe not working properly
os:Windows 8 pro x64 build 9200 (fully updated)
I want to change the closing lid function through command line with powercfg.exe, so I gathered the required GUIDs and executed the following command:
...