Remove Windows 10 preinstalled app for all user BatchPatch Forums Home › Forums › BatchPatch Support Forum › Remove Windows 10 preinstalled app for all user This topic has 2 replies, 2 voices, and was last updated 6 years ago by panda78. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts December 18, 2018 at 10:35 pm #8725 panda78Participant Hi all, i’m trying to run this command to my hosts to remove for all users preinstalled office365 trial version: cmd.exe /c echo . | powershell.exe -ExecutionPolicy Bypass -command Get-AppxPackage *office* | Remove-AppxPackage but return error 🙁 How can i solve ? Thanks to all December 18, 2018 at 10:54 pm #9923 dougModerator Looks like you’re just missing quotes. One or both of these should work: powershell.exe "get-appxpackage *office* | remove-appxpackage" cmd.exe /c echo . | powershell.exe -ExecutionPolicy Bypass -command "Get-AppxPackage *office* | Remove-AppxPackage" December 19, 2018 at 9:56 pm #9924 panda78Participant Thanks , solved Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In