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

Tank997

New member
Member
Local time
4:48 PM
Messages
71
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 Computer My Computer

At a glance

Windows 7 Ultimate 64bitIntel i7-3820 @3.8ghz16 GB Corsair VengenceNvidia 560ti
Computer Manufacturer/Model Number
IBUYPOWER
OS
Windows 7 Ultimate 64bit
CPU
Intel i7-3820 @3.8ghz
Motherboard
GIGABYTE
Memory
16 GB Corsair Vengence
Graphics Card(s)
Nvidia 560ti
Sound Card
Realtek
Monitor(s) Displays
Samsung 21"
Hard Drives
120gig SSD
1 TB mechanical HD
Case
Phantom 420 Fullsize
Cooling
Intel liquid cooling
How do you create the energy report?
 

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
i go into cmd (run as admin) type powercfg -energy it puts the energy report in my temp folder as an xml file
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64bitIntel i7-3820 @3.8ghz16 GB Corsair VengenceNvidia 560ti
Computer Manufacturer/Model Number
IBUYPOWER
OS
Windows 7 Ultimate 64bit
CPU
Intel i7-3820 @3.8ghz
Motherboard
GIGABYTE
Memory
16 GB Corsair Vengence
Graphics Card(s)
Nvidia 560ti
Sound Card
Realtek
Monitor(s) Displays
Samsung 21"
Hard Drives
120gig SSD
1 TB mechanical HD
Case
Phantom 420 Fullsize
Cooling
Intel liquid cooling
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:
-ENERGY
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:

Usage: POWERCFG -ENERGY [-OUTPUT <FILENAME>] [-XML]
[-DURATION <SECONDS>]
POWERCFG -ENERGY -TRACE [-D <FILEPATH>]
[-DURATION <SECONDS>]
-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 Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
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 Computer My Computer

At a glance

Windows 7 Ultimate 64bitIntel i7-3820 @3.8ghz16 GB Corsair VengenceNvidia 560ti
Computer Manufacturer/Model Number
IBUYPOWER
OS
Windows 7 Ultimate 64bit
CPU
Intel i7-3820 @3.8ghz
Motherboard
GIGABYTE
Memory
16 GB Corsair Vengence
Graphics Card(s)
Nvidia 560ti
Sound Card
Realtek
Monitor(s) Displays
Samsung 21"
Hard Drives
120gig SSD
1 TB mechanical HD
Case
Phantom 420 Fullsize
Cooling
Intel liquid cooling
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
 
Last edited:

My Computer My Computer

At a glance

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x6...AMD Athlon II x4 6206GB GSkill DDR2 800AMD 4670 GPU + AMD 4200 IGP
Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
Back
Top