What used to work on my Surface Pro 4 (TC 9.12, Windows 10) no longer runs. For example, the .bat that calls Powercfg /batteryreport now gives me this error:
The Power Efficiency Diagnostic library (energy.dll) could not be loaded.
The system cannot find the file specified.
My architecture has not changed, other than updating to the Fall Creators Update (in Dec) and to TC 9.12 (also Dec). One of those two updates likely caused what used to work, to not work anymore.
The TC Start Menu entry does not have any parameters or start path, only this Command:
*C:\Users\xxxx\OneDrive\...\!CHECK_Battery.BAT
The .bat does nothing other than call powercfg, and then copies the log, but now I get an error. The same happens for a .bat that calls SFC, which also needs, but does not get, an elevated command. Any ideas?


