Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove-Default-Apps not working on W10 Pro 1709 #151

Open
TechArtisanIO opened this issue Feb 2, 2018 · 5 comments
Open

Remove-Default-Apps not working on W10 Pro 1709 #151

TechArtisanIO opened this issue Feb 2, 2018 · 5 comments

Comments

@TechArtisanIO
Copy link

Didn't really want to create an issue for this because I am not sure whether there's an actual issue or whether or not the issue is with the user :), but this script no longer works for me on the latest W10 release (1709). It works fine on previous versions, however.

I set-executionpolicy unrestricted and then run both ls -recurse commands. After that I go ahead an run the remove-default-apps script, but it no longer removes any apps. Is this a known issue? I can post the errors I receive here in a bit. Maybe I'm just doing something wrong...

@wastelandgunner
Copy link

I don't believe it to be a user error. I am experience the same problems.

@4oo4
Copy link
Contributor

4oo4 commented Feb 10, 2018

@ahelton From having to run this lots at work to clean up Windows 10 images, I've noticed that a lot of the time when you run the script, it will remove all the apps for anyone who logs in and creates a new profile, but the current profile you're using is essentially "tainted", and the apps won't go away unless you manually remove them. I think this is because Windows 10 apps are on a per user basis.

If you create a new user account and login do you still have any of the apps? Can you also post the errors you're getting? Most of the time they are just due to a package not being installed that it's trying to remove.

@tlahitte
Copy link

tlahitte commented Feb 13, 2018

Edit your remove-default-apps.ps1 script and remove the -AllUsers at the end of the file inside of the foreach loop.
It appears twice on the same line, remove it twice

@TechArtisanIO
Copy link
Author

Thanks for the feedback, everyone. I managed to construct my own script using part of the Debloat10 package as well as some tips I found in this incredibly useful article: How Windows 10 Pro installs unwanted apps. My new script works perfectly even if it isn't as clean as Debloat10; however, @tlahitte I am going to attempt to do as you say to see if it works.

@TechArtisanIO
Copy link
Author

Also, I wonder if running this in audit mode would prevent new accounts from being tainted? Is that possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants