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

Loading…
Cancel
Save