Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Need help with powercfg -requestsoverride

16 Jul 2015   #1

Need help with powercfg -requestsoverride

I would like to be able to put the display to sleep even though media player classic (mpc-hc) is running.

I open an admin command prompt and type

powercfg -requests

As you can see, mpc-hc.exe is preventing me from putting the display to sleep.

So I enter an override command:

Unfortunately, when I execute -requests again, "mpc-hc" still will prevent display sleeping. Even after reboot the -request still shows mpc-hc.exe preventing display sleep and it does indeed prevent display sleep.

What am I doing wrong?

My System SpecsSystem Spec
16 Jul 2015   #2

Windows 7 Ultimate x64 SP1

Maybe this can help? Turn Off Display - Add to Desktop Context Menu in Windows
Works in W7 by the way

Or there is a similar one which also locks the PC (not sure if it is in line with what you want) Lock Computer and Turn Off Monitor - Add to Desktop Context Menu
My System SpecsSystem Spec
16 Jul 2015   #3


Thanks for your reply although you're not getting at the problem.

I know how to put the monitor to sleep. I do it.

Unfortunately, the monitor pops back awake again 1n a couple seconds.

The reason the monitor wakes up again is because MPC is running and mpc has a powercfg request that prevents the monitor from sleeping while mpc is running (see picture 1)

The way to overcome this request is to command a -requessoverride for this particular program so that mpc will no longer demand that the monitor wakes-up/stay awake.

To the best of my knowledge, the syntax I've executed for this command is correct. MPC should no appear under "Display" for -requests.

My problem is that that is not happening. Either I'm not using the correct syntax or there is something else I don't understand/haven't checked.
My System SpecsSystem Spec

16 Jul 2015   #4

Windows 7 Ultimate x64 SP1

Well, I just downloaded MPC portable (zip) and listened to a 4 minute song while both my screens turned off. Either installed version is different or something else is waking your screens? It would take a couple of minutes to actually test the first tutorial. Up to you of course.
My System SpecsSystem Spec
16 Jul 2015   #5


No offense GokAy, but you seem to be missing the entire point of this thread.

This thread is not about commands to put the display to sleep or about mpc or any version of it.

This thread is about a program (in my case, this is mpc, but it could be any program) that prevents the display from going to sleep. The way you can see which programs are set to prevent sleep, you open an admin command prompt and type "powercfg -requests". What this command returns are, at the current moment, which processes and/or drivers are either preventing the pc or the monitor from going to sleep.

In the first post, picture #1 you can see that mpc-hc.exe is preventing the monitor from going to sleep. Once again, it could be any program, at any time, this is simply my situation.

The way to remove this program (once again any program) from the list of things preventing the monitor from going to sleep is to type (in my specific case):
powercfg -requestsoverride PROCESS mpc-hc.exe Display settings

As a result of that command, mpc-hc (or any program) should be removed from the requests listed under "Display". In my specific case, under "Display" should be "None" since mpc-hc.exe was the only thing listed there.

This thread is about my command (powercfh -requestsoverride PROCESS mpc-hc.exe Display settings) does not remove mpc-hc.exe from the display category.

Is my syntax wrong or am I not understanding something?

Once again, GokAy, don't waste your time on:
1) Determine what commands are available to put the monitor to sleep, or,
2) How to remove the offending program and use a different program.
My System SpecsSystem Spec
16 Jul 2015   #6

Windows 7 Ultimate x64 SP1

No offense taken mate. I am running the same program as you do, just the portable one because I didn't want to install it.

Just did this:
- I started MPC and ran that command, it reported None for display (for all actually but display is what matters, right?).
- Then I started playing the MP3 and ran the command again, it showed the same as yours under System, but Display was None again.

Need help with powercfg -requestsoverride-powercfg.jpg

Are you playing a video file or have some visualization (I am not familiar, does MPC has such features)?

One thing I noticed is (may be relevant or not) your MPC is 32 bit, but there is a 64bit version. Would you care to install the 64bit and try that one?

My System SpecsSystem Spec
16 Jul 2015   #7

Windows 7 Ultimate x64 SP1

Update: I started a movie, and can't get the monitors to sleep.
Ran the command: powercfg -requestsoverride process mpc-hc64.exe display (don't need system as far as I understand)
then verified: powercfg -requestsoverride
still no go

will try some more

Edit: I gave up as I am out of ideas, tried running cmd as admin too. From what I searched in Google, this feature was added sometime in the past and there are a few requests to have an option to sleep the monitors during a playback (people trying to listen only while going to sleep etc)
My System SpecsSystem Spec
16 Jul 2015   #8



Now we're on the same page.

The command you entered should have removed that process/program from under the "Display" section. As you verified, it does not. But it should.

What I'm looking for is some specific guidance on why it isn't removed.
My System SpecsSystem Spec
16 Jul 2015   #9

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM

In the requestsoverride command try putting the entire string you have in the request, and wrap it in double quotes.
Instead of mpc-hc.exe the override will have "\Device\ ..... mpc-hc.exe" (exactly as you see it in the request).

You may also need to do this for the driver.

An EXAMPLE of a command using the entire string:

powercfg -requestsoverride DRIVER "High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&DEV_0883&SUBSYS_147B8E01&REV_1000\4&39ab38b6&0&0001)" SYSTEM
My System SpecsSystem Spec
16 Jul 2015   #10



I'm going to try that approach. Before I do just a quick question. The driver seems like it's just preventing the system from sleeping, not the monitor from sleeping. Since, in my case, I only care about the monitor and not the whole PC, do you think I need to address the driver issue?
My System SpecsSystem Spec

 Need help with powercfg -requestsoverride

Thread Tools

Similar help and support threads
Thread Forum
Two versions of powercfg.exe
I'm running Windows 7 Pro x64 SP1. I found that I have two different versions of powercfg.exe and that a different one runs depending on whether I'm in cmd.exe or a certain other shell. As you can see below, the executables have different file sizes and timestamps, though the file details show...
General Discussion
Powercfg windows 7
Ok i have a question I am trying to write a script that will import and set the active power scheme in windows 7 here is my script @echo off Echo This script will install the power settings for a system Imaged with Windows 7 if /I "%computername:~0,6%"=="Computername" goto :2 :2...
Performance & Maintenance
Hibernate not available after powercfg -h on
I have a brand new desktop machine in my office, running enterprise 64 bit version of windows 7. i read that to enable hibernation, you need to run powercfg -h on from elevated command prompt. I did that, do a logoff, restart, shutdown, but it's still not appearing. what am i missing?
General Discussion
powercfg Flashes for a sec and then is gone? Help!
When ever I type powercfg -availablesleepstates into the searchbar area when you press the start button, it flashes for a millisecond and then dissappears. I'm trying to see my available sleep states for my computer but I can't seem to have on my screen long enough to read it. Help!
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:31.
Twitter Facebook Google+