|
|
|
@ -129,7 +129,7 @@ foreach ($app in $apps) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Prevents Apps from re-installing
|
|
|
|
|
# TODO - see if we need to do `force-mkdir` for any of these paths
|
|
|
|
|
force-mkdir "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
|
|
|
|
|
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "FeatureManagementEnabled" 0
|
|
|
|
|
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "OemPreInstalledAppsEnabled" 0
|
|
|
|
|
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "PreInstalledAppsEnabled" 0
|
|
|
|
|