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: energy-report saving as an xml file.. how to change to html

04 Apr 2012   #1

Windows 7 Ultimate 64bit
energy-report saving as an xml file.. how to change to html

for some reason my energy-reports are saving as .XML files i want them to open as html. is there a command to get this to change?

My System SpecsSystem Spec
04 Apr 2012   #2

Windows 10 Pro X64

How do you create the energy report?
My System SpecsSystem Spec
04 Apr 2012   #3

Windows 7 Ultimate 64bit

i go into cmd (run as admin) type powercfg -energy it puts the energy report in my temp folder as an xml file
My System SpecsSystem Spec

04 Apr 2012   #4

Windows 10 Pro X64

Looks like that applies more to laptops than desktops.

What about not specifying the -xml parameter. It should then create a html file, at least it did for me.

Never mind, I see you said you only used the -energy parameter.

I ran it on my desktop and it created a html file as output, not xml.

This is what the built in help says:
Analyze the system for common energy-efficiency and battery life
problems. The ENERGY command should be used when the computer is
idle and with no open programs or documents. The ENERGY command
will generate an HTML report file in the current path. The ENERGY
command supports the following optional parameters:

-OUTPUT <FILENAME> - Specify the path and filename to store the
energy report HTML file.
-XML - Format the report file as XML.
-TRACE - Record system behavior and do not perform
analysis. Trace files will be generated in
the current path unless the -D parameter
is specified.
-D <FILEPATH> - Specify the directory to store trace data.
May only be used with the -TRACE parameter.
-DURATION <SECONDS> - Specify the number of seconds to observe
system behavior. Default is 60 seconds.
My System SpecsSystem Spec
04 Apr 2012   #5

Windows 7 Ultimate 64bit

im not sure what u mean by that. Is what i am typing specifiying an xml parameter? What should i type into the cmd?
My System SpecsSystem Spec
05 Apr 2012   #6

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64

Try using the -output parameter to specify the file-name with an html extension.
You should change F:EnergyRpt.html in this example to where you want the file.

i.e. powercfg -energy -output F:EnergyRpt.html
My System SpecsSystem Spec

 energy-report saving as an xml file.. how to change to html

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
energy report using cmd copy and past this in elevated command promt powercfg -energy -output %USERPROFILE%\Desktop\Energy_Report.html use this for a energy report which is saved to your desktop in html :D
Performance & Maintenance
how do i view an energy report?
Found this site... - News :: How to use Windows 7 to diagnose system sleep problems : Page - 1/1, while searching for ways to fix my crashing to blue screen after bringing windows out of sleep problem, and it tells you how to generate an energy report that can diagnose windows sleep...
Performance & Maintenance
Please check my energy report
Hi everyone, Since I fired my new build few weeks ago everything has been running great but one thing: the pc won't wake up from sleep. Fan spinning, but no monitor signal, no Num Lock light and no way to exit this state but force shut down holding the power button. No overclock is...
Performance & Maintenance
Energy saving, have my graphic card turn off when not in use
Well not so for the energy than to reduce the temperature in my office. I need to maintain my PC on 24/24 because I'm capturing some data. Recently, i opted for a new graphic card. Since, the temperature as increase a lot in my room office. Is there a way to turn off or reduce the energy...
Performance & Maintenance
Energy saving, how to?
Hi, I'm using laptop. And I'm looking how to minimize power usage. I mean, minimal cpu power usage lowering voltage ant other on battery and AC.
General Discussion
Monitor goes blank but stays on in energy saving mode
I recently did a clean install of Windows 7 Home Premium 64 after using RC 64 since this summer. Everything is working well, except instead of turning off when entering power saving mode, my monitor goes blank but stays backlit and the power light remains on. When the computer does then eventually...
Hardware & Devices

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 10:28.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App