Code: Select all
powercfg.exe /h off
If you want to check for any problems with the power state of the machine you can generate a report by typing this command
Code: Select all
powercfg.exe /energy
now open with the browser the report.S C:\WINDOWS\system32> powercfg.exe /energy
Enabling tracing for 60 seconds...
Observing system behavior...
Analyzing trace data...
Analysis complete.
Energy efficiency problems were found.
15 Errors
13 Warnings
18 Informational
See C:\WINDOWS\system32\energy-report.html for more details.