Closed adriansaav27 closed 2 weeks ago
The power plan is not activated at maximum performance. To solve this problem, you must replace the lines:
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 powercfg -setactive e9a42b02-d5df-448d-aa00-03f14749eb61
by:
$maxPerformanceScheme = powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 $guid = [regex]::Match($maxPerformanceScheme, '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}').Value powercfg -setactive $guid
Hey there,
This should be fixed in v2.0.0 - https://github.com/memstechtips/UnattendedWinstall/releases/tag/v2.0.0
Feel free to reopen the issue if it's not fixed.
The power plan is not activated at maximum performance. To solve this problem, you must replace the lines:
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 powercfg -setactive e9a42b02-d5df-448d-aa00-03f14749eb61
by:
$maxPerformanceScheme = powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 $guid = [regex]::Match($maxPerformanceScheme, '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}').Value powercfg -setactive $guid