karldenton Posted April 17, 2018 Posted April 17, 2018 Hi, Does anyone have a script that removes the built in Windows apps. I have tried the ones that come up in searches on here, which worked on 1511,1607 but on 1709 I get errors such as Trying to remove Microsoft.MicrosoftSolitaireCollection Remove-AppxPackage : The system cannot find the file specified. (Exception from HRESULT: 0x80070002) At line:104 char:44 + ... Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage -AllUsers + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Remove-AppxPackage], FileNotFoundException + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.Windows.Appx.PackageManager.Commands.RemoveApp xPackageCommand If anyone could help that would be great Thanks
jmak Posted April 17, 2018 Posted April 17, 2018 (edited) The one in post #158 in this thread works reliably for me: https://www.edugeek.net/showthread.php?t=165029 Credit to @Arthur Edit: hints on things that have caught me out: Need to be run locally on a Win 10 x64 machine. Permissions need to be set correctly Instructions for both are in the thread. Edited April 17, 2018 by jmak
RLR Posted April 17, 2018 Posted April 17, 2018 I think I used this last time: https://github.com/Disassembler0/Win10-Initial-Setup-Script Although I think most things can be disabled/hidden with GPO now?
flyinghaggis Posted April 18, 2018 Posted April 18, 2018 (edited) I think I used this last time: https://github.com/Disassembler0/Win10-Initial-Setup-Script Although I think most things can be disabled/hidden with GPO now? Do you have a link on how to achieve this using Group Policy as it would be cleaner than having to script it? Edited April 18, 2018 by flyinghaggis
jmak Posted April 18, 2018 Posted April 18, 2018 Do you have a link on how to achieve this using Group Policy as it would be cleaner than having to script it?The disadvantage of that is all of the windows 10 apps install on first login for each user, which can make it sllooowww. That's why I get rid of as many as I can before I deploy. YMMV
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