jgc Posted October 13, 2016 Posted October 13, 2016 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.
thimon Posted October 13, 2016 Posted October 13, 2016 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?
jgc Posted October 13, 2016 Author Posted October 13, 2016 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.
thimon Posted October 14, 2016 Posted October 14, 2016 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” } } 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now