Jump to content

Recommended Posts

Posted

Hi

 

I've blocked Apps using AppLocker - but I'd like to remove the links from Start Menu. Our machines use the local start menu on the PCs but I can't find where to remove those lovely Apps that are blocked.

 

Can is this be done in Group Policy?

 

You'd make my weekend!

 

thanks

 

J.

Posted
Hi J. You can create a custom start menu xml file and set it via group policy, so it only displays the icons you want on the start menu. Or if you're blocking the apps, why not remove them altogether with powershell?
Posted
Hi J. You can create a custom start menu xml file and set it via group policy, so it only displays the icons you want on the start menu. Or if you're blocking the apps, why not remove them altogether with powershell?

 

Thanks - I've got the Start Menu xml working for the tiles. However, it's things like Solitaire in the Apps.

 

As for Powershell - I've tried removing - but the stupid things keep on coming back.

Posted
As for Powershell - I've tried removing - but the stupid things keep on coming back.

 

This is the script that runs after deployment for us. Remove any apps in the list at the top that you want to keep.

 

 

($AppsList = “Microsoft.Office.Onenote”,”Microsoft.BingFinance”,”Microsoft.BingNews”,”Microsoft.BingWeather”,”Microsoft.XboxApp”,”Microsoft.SkypeApp”,”Microsoft.MicrosoftSolitaireCollection”,”Microsoft.BingSports”,”Microsoft.ZuneMusic”,”Microsoft.ZuneVideo”,”Microsoft.People”,”Microsoft.MicrosoftOfficeHub”,”Microsoft.WindowsMaps”,”microsoft.windowscommunicationsapps”,”Microsoft.Getstarted”,”Microsoft.3DBuilder”,"Microsoft.CommsPhone","Microsoft.Messaging","Microsoft.Windows.FeatureOnDemand.InsiderHub""Microsoft.Windows.Cortana")

 

 

ForEach ($App in $AppsList)

{

$PackageFullName = (Get-AppxPackage $App).PackageFullName

$ProPackageFullName = (Get-AppxProvisionedPackage -online | where {$_.Displayname -eq $App}).PackageName

write-host $PackageFullName

Write-Host $ProPackageFullName

if ($PackageFullName)

{

Write-Host “Removing Package: $App”

remove-AppxPackage -package $PackageFullName

}

else

{

Write-Host “Unable to find package: $App”

}

if ($ProPackageFullName)

{

Write-Host “Removing Provisioned Package: $ProPackageFullName”

Remove-AppxProvisionedPackage -online -packagename $ProPackageFullName

}

else

{

Write-Host “Unable to find provisioned package: $App”

}

 

 

}

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...