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: Two versions of powercfg.exe

30 Aug 2011   #1
Quatrix

Windows 7 Professional x64
 
 
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 both as the same version 6.1.7600.16385. I'm trying to figure out which is the "right" one. Could someone let me know the file size(s) of their powercfg.exe(s)?

Code:
Directory of  C:\Windows\System32\powercfg.exe
7/13/2009   9:14p         59,392                  powercfg.exe

Directory of  C:\Windows\SysWOW64\powercfg.exe
7/13/2009   9:14p         59,392                  powercfg.exe

Directory of   C:\Windows\winsxs\amd64_microsoft-windows-p..nfiguration-cmdline_31bf3856ad364e35_6.1.7600.16385_none_6550a9de9a702b0f\powercfg.exe
7/13/2009   9:39p         71,168                  powercfg.exe

Directory of   C:\Windows\winsxs\x86_microsoft-windows-p..nfiguration-cmdline_31bf3856ad364e35_6.1.7600.16385_none_09320e5ae212b9d9\powercfg.exe
7/13/2009   9:14p         59,392                  powercfg.exe



My System SpecsSystem Spec
.
30 Aug 2011   #2
zigzag3143

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by Quatrix View Post
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 both as the same version 6.1.7600.16385. I'm trying to figure out which is the "right" one. Could someone let me know the file size(s) of their powercfg.exe(s)?

Code:
Directory of  C:\Windows\System32\powercfg.exe
7/13/2009   9:14p         59,392                  powercfg.exe

Directory of  C:\Windows\SysWOW64\powercfg.exe
7/13/2009   9:14p         59,392                  powercfg.exe

Directory of   C:\Windows\winsxs\amd64_microsoft-windows-p..nfiguration-cmdline_31bf3856ad364e35_6.1.7600.16385_none_6550a9de9a702b0f\powercfg.exe
7/13/2009   9:39p         71,168                  powercfg.exe

Directory of   C:\Windows\winsxs\x86_microsoft-windows-p..nfiguration-cmdline_31bf3856ad364e35_6.1.7600.16385_none_09320e5ae212b9d9\powercfg.exe
7/13/2009   9:14p         59,392                  powercfg.exe
You need both. One for the 32bit apps, one for the 64 bit. The ones in WINSXS are the "store", they are backups used if the ones in path get corrupted.
My System SpecsSystem Spec
31 Aug 2011   #3
Quatrix

Windows 7 Professional x64
 
 

I'm asking because the output of powercfg -requests is different. Here's the 59K version:

Code:
DISPLAY:
None.

SYSTEM:
[DRIVER] Ĵ
[DRIVER] Legacy Kernel Caller
[DRIVER] Ĵ
[DRIVER] Ĵ
[DRIVER] Ĵ
[DRIVER] Ĵ
[DRIVER] Ĵ
[DRIVER] Ĵ
[DRIVER] Ĵ
[DRIVER] Ĵ

AWAYMODE:
None.
And the other:

Code:
DISPLAY:
None.

SYSTEM:
[DRIVER] Creative X-Fi Audio Processor (WDM) (PCI\VEN_1102&DEV_000B&SUBSYS_00431102&REV_04\4&1b89d1f&0&00E0)
An audio stream is currently in use.

AWAYMODE:
None.
Only one has clear, useful information.
My System SpecsSystem Spec
.

31 Aug 2011   #4
Quatrix

Windows 7 Professional x64
 
 

I figured it out. My other shell has an option to disable Win64 file system redirection. Now the same 64-bit powercfg.exe runs instead. Thanks.
My System SpecsSystem Spec
01 Sep 2011   #5
zigzag3143

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by Quatrix View Post
I figured it out. My other shell has an option to disable Win64 file system redirection. Now the same 64-bit powercfg.exe runs instead. Thanks.
Glad you are working.
My System SpecsSystem Spec
29 Oct 2011   #6
mcmacca

Win 7 64bit
 
 

What did you actually do to make this working? Having the same problem here.
My System SpecsSystem Spec
Reply

 Two versions of powercfg.exe




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Hyberfil.sys Won't Stay Off After powercfg -h off, Disable in CP
I have turned of Hybrid Sleep, Hibernation in Control Panel. I have run "powercfg -h off" with Administrative Privileges. I am using Windows 7 Ultimate 64. I can delete hyberfil.sys after the above, but as soon as I reboot it is back. Can anyone help? Many thanks,
Performance & Maintenance
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
Sleep option disabled in powercfg.cpl
So I can't change the sleep option for AC. The Power Configuration will not let me change the value. The field, which is set to 'Never', is greyed out. There is a warning that basically tells me to check the Group Policy settings. Note 1: I can change all other power configuration options...
General Discussion
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:09.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App