Browse Source

add option to disable screensaver

pull/36/head
Alex Hirsch 9 years ago
parent
commit
c02870905b
  1. 3
      scripts/optimize-user-interface.ps1

3
scripts/optimize-user-interface.ps1

@ -67,3 +67,6 @@ sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" "NoLockScreen" 1
echo "Disabling tile push notification" echo "Disabling tile push notification"
mkdir -Force "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" mkdir -Force "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications"
sp "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" "NoTileApplicationNotification" 1 sp "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" "NoTileApplicationNotification" 1
#echo "Disabling screen saver"
#sp "HKCU:\Control Panel\Desktop\" "ScreenSaveActive" "0"

Loading…
Cancel
Save