diff --git a/VServerSetup.ps1 b/VServerSetup.ps1 index 392cc99..4358336 100644 --- a/VServerSetup.ps1 +++ b/VServerSetup.ps1 @@ -474,6 +474,11 @@ Set-ItemProperty -Path $wuRegPath -Name "NoAutoUpdate" -Value 1 -Type DWord -For Set-ItemProperty -Path $wuRegPath -Name "AUOptions" -Value 1 -Type DWord -Force Write-Host " Windows Update deaktiviert!" -ForegroundColor Green +# Energiesparplan auf Hoechstleistung setzen +Write-Host " Energiesparplan auf Hoechstleistung..." -ForegroundColor Gray +powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c +Write-Host " Hoechstleistung aktiviert!" -ForegroundColor Green + # Explorer neu starten damit alle Einstellungen sofort wirksam werden Write-Host " Explorer wird neu gestartet..." -ForegroundColor Gray Stop-Process -Name "explorer" -Force -ErrorAction SilentlyContinue