Browse Source

remove reg-import from optimize startmenu

pull/31/head
Alex Hirsch 9 years ago
parent
commit
9f27df324e
  1. 8
      scripts/optimize-startmenu.ps1

8
scripts/optimize-startmenu.ps1

@ -1,10 +1,6 @@
# Description: # Description:
# This script will do some optimization on the Windows start menu. # This script will do some optimization on the Windows start menu.
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1
echo "Disabling tile push notification" echo "Disabling tile push notification"
Import-Registry(@" mkdir -Force "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications"
[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications] sp "HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" "NoTileApplicationNotification" 1
"NoTileApplicationNotification"=dword:00000001
"@)

Loading…
Cancel
Save