-
Notifications
You must be signed in to change notification settings - Fork 843
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
Comments
I don't believe it to be a user error. I am experience the same problems. |
@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. |
Edit your remove-default-apps.ps1 script and remove the -AllUsers at the end of the file inside of the foreach loop. |
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. |
Also, I wonder if running this in audit mode would prevent new accounts from being tainted? Is that possible? |
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 bothls -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...The text was updated successfully, but these errors were encountered: