diff --git a/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DefaultPowerSaving.ps1 b/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DefaultPowerSaving.ps1 index 45a5821255..e24f7a9007 100644 --- a/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DefaultPowerSaving.ps1 +++ b/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DefaultPowerSaving.ps1 @@ -77,9 +77,6 @@ Remove-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Para # Reset power throttling to default # Reference: https://blogs.windows.com/windows-insider/2017/04/18/introducing-power-throttling Remove-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Power\PowerThrottling" -Name "PowerThrottlingOff" -ErrorAction SilentlyContinue -# Enable the kernel being tickless -# Reference: https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/bcdedit--set#additional-settings -bcdedit /deletevalue disabledynamictick *> $null # Finish Read-Pause "`nCompleted.`nPress Enter to exit" \ No newline at end of file diff --git a/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DisablePowerSaving.ps1 b/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DisablePowerSaving.ps1 index 31df8fee48..28e1287ba2 100644 --- a/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DisablePowerSaving.ps1 +++ b/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DisablePowerSaving.ps1 @@ -127,10 +127,6 @@ New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Paramet $powerKey = "HKLM:\SYSTEM\CurrentControlSet\Control\Power\PowerThrottling" if (!(Test-Path $powerKey)) { New-Item $powerKey | Out-Null } New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Power\PowerThrottling" -Name "PowerThrottlingOff" -Value 1 -PropertyType DWORD -Force | Out-Null -# Disable the kernel from being tickless -# It's power saving -# https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/bcdedit--set#additional-settings -bcdedit /set disabledynamictick yes | Out-Null if ($Silent) { exit } Read-Pause "`nCompleted.`nPress Enter to exit"