Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage --------------------------------------------------------------------------------------- To remove all inbuilt / default app from all user accounts in win 10 Get-AppxPackage -AllUsers | Remove-AppxPackage --------------------------------------------------------------------------------------- To remove all modern apps from system account Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online --------------------------------------------------------------------------------------- To remove all inbuilt / default app from all user accounts in win 10 Get-AppxPackage -AllUsers | Remove-AppxPackage --------------------------------------------------------------------------------------- To remove all modern apps from system account Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online --------------------------------------------------------------------------------------- Disable Microsoft Windows Defender --------------------------------------------------------------------------------------- Set-MpPreference -DisableRealtimeMonitoring $true Enable Microsoft Windows Defender --------------------------------------------------------------------------------------- Set-MpPreference -DisableRealtimeMonitoring $false --------------------------------------------------------------------------------------- dism /online /cleanup-image /StartComponentCleanup /ResetBase ---------------------------------------------------------------------------------------