From c02870905b24394b0aeb6ab8bbef4fb323224301 Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Mon, 24 Aug 2015 16:36:13 +0200 Subject: [PATCH] add option to disable screensaver --- scripts/optimize-user-interface.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/optimize-user-interface.ps1 b/scripts/optimize-user-interface.ps1 index fb84811..dc78fc8 100644 --- a/scripts/optimize-user-interface.ps1 +++ b/scripts/optimize-user-interface.ps1 @@ -67,3 +67,6 @@ sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" "NoLockScreen" 1 echo "Disabling tile push notification" mkdir -Force "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" sp "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" "NoTileApplicationNotification" 1 + +#echo "Disabling screen saver" +#sp "HKCU:\Control Panel\Desktop\" "ScreenSaveActive" "0"