I have been following this thread for a while, dealing with removing these built in apps on my domain machines. Thanks for your posts on this and have registered to ask the following question:
I am about to roll the 1511 update out to the domain machines and noticed during testing that all built in apps re-install. I can remove them using your methods if I sit at every machine and run the powershell scripts, but how can I do the same thing remotely?
I have been looking into it and see I need to enable PSRemoting on each machine, which itself is something that can be done remotely using PSTools
Having done this, I can then load a Powershell session on the remote computer from my machine by running
((psexec \\[computer name] -u [admin account name] -p [admin account password] -h -d powershell.exe "enable-psremoting -force"))
Enter-PSSession -ComputerName [COMPUTER] -Credential [USER]
I used the domain administrator credentials, and then when I run "Get-appxpackage -allusers *3dbuilder* | Remove-AppxPackage", I get the following error:
[COMPUTER]: PS C:\Users\administrator.[domain]\Documents> Get-appxpackage -allusers *3dbuilder* | Remove-AppxPackage
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF1, Package was not found.
Windows cannot remove Microsoft.3DBuilder_10.9.50.0_x64__8wekyb3d8bbwe because the current user does not have that
package installed. Use Get-AppxPackage to see the list of packages installed.
NOTE: For additional information, look for [ActivityId] d6fb308a-9015-0003-bc1d-fcd61590d101 in the Event Log or use
the command line Get-AppxLog -ActivityID d6fb308a-9015-0003-bc1d-fcd61590d101
+ CategoryInfo : ObjectNotFound: (Microsoft.3DBui...__8wekyb3d8bbwe:String) [Remove-AppxPackage], PSInval
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
Do you have any insight into this or another method to remove these apps remotely? Any help appreciated!