How to disable Microsoft office store apps completely
Script to remove Windows 10 bloatware:
https://github.com/Sycnex/Windows10Debloater
Above scripts in a single line, copy/paste into an elevated PowerShell console:
1 2 3 4 5 6 7 8 9 10 11 12 |
Get-AppxProvisionedPackage -online | %{if ($_.packagename -match "Microsoft.Office.Desktop") {$_ | Remove-AppxProvisionedPackage -AllUsers}} Get-AppxProvisionedPackage -online | %{if ($_.packagename -match "Microsoft.Office.OneNote") {$_ | Remove-AppxProvisionedPackage -AllUsers}} Get-AppxProvisionedPackage -online | %{if ($_.packagename -match "Microsoft.Office*") {$_ | Remove-AppxProvisionedPackage -AllUsers}} Get-AppxProvisionedPackage -online | %{if ($_.packagename -match "Microsoft.MicrosoftOfficeHub") {$_ | Remove-AppxProvisionedPackage -AllUsers}} Get-AppXPackage -AllUsers | ? name -Like *amazon* | Remove-AppxPackage -AllUsers Get-AppXPackage -AllUsers | ? name -Like *mcafee* | Remove-AppxPackage -AllUsers Get-AppXPackage -AllUsers | ? name -Like *booking* | Remove-AppxPackage -AllUsers powercfg -h off Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -like "*windowscommunicationsapps*"} | Remove-AppxProvisionedPackage -Online -AllUsers Get-AppxPackage -AllUsers *windowscommunicationsapps* | Remove-AppxPackage -AllUsers |
Отрубить разворачивание метро-приложений в Win10 которые по умолчанию:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
Get-AppxPackage -AllUsers | where-object {$_.name -notlike "*Microsoft.WindowsStore*"} | where-object {$_.name -notlike "*Microsoft.WindowsCalculator*"} | where-object {$_.name -notlike "*Microsoft.BingWeather*"} | where-object {$_.name -notlike "*Microsoft.MicrosoftStickyNotes*"} | where-object {$_.name -notlike "*Microsoft.Windows.Photos*"} | where-object {$_.name -notlike "*Microsoft.NET.*"} | where-object {$_.name -notlike "*Microsoft.MicrosoftEdge*"} | Remove-AppxPackage Get-AppxProvisionedPackage -online | where-object {$_.packagename -notlike "*Microsoft.WindowsStore*"} | where-object {$_.packagename -notlike "*Microsoft.WindowsCalculator*"} | where-object {$_.packagename -notlike "*Microsoft.BingWeather*"} | where-object {$_.packagename -notlike "*Microsoft.MicrosoftStickyNotes*"} | where-object {$_.packagename -notlike "*Microsoft.Windows.Photos*"} | where-object {$_.packagename -notlike "*Microsoft.NET.*"} | where-object {$_.packagename -notlike "*Microsoft.MicrosoftEdge*"} | Remove-AppxProvisionedPackage -online |
В современных реалях надо выполнять две команды, скрипт удаляет все METRO приложения:
1 2 |
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online Get-AppxPackage -AllUsers | Remove-AppxPackage |
How to View the Installed Windows 10 Apps & Packages for All Users:
1 |
Get-AppxPackage -AllUsers | Select Name, PackageFullName |
удаление приложений, входящих в образ:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
$appsToRemove = @( 'Microsoft.BingFinance', 'Microsoft.BingNews', 'Microsoft.BingSports', 'Microsoft.Getstarted', 'Microsoft.MicrosoftOfficeHub', 'Microsoft.Office.OneNote', 'Microsoft.SkypeApp', 'Microsoft.WindowsPhone', 'Microsoft.XboxApp' ) foreach ($app in $appsToRemove) { $provisionedPackage = Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -eq $app} if ($provisionedPackage -ne $null) { Remove-AppxProvisionedPackage -Online -PackageName $provisionedPackage.PackageName } } |
A short command to remove all apps in Windows 10 except Store:
1 |
Get-AppxPackage -AllUsers | where-object {$_.name –notlike "*store*"} | Remove-AppxPackage |