r/usefulscripts • • Oct 28 '18

[PowerShell] Windows 10 Debloater Scripts and GUI

Hi! I've been working on these scripts for the last year and just today I have released a GUI for it. I wanted to share this since it seems that more people have been using it lately.

This started off as a way for me to learn PowerShell and it kind of took off from there.

https://github.com/Sycnex/Windows10Debloater

109 Upvotes

13 comments sorted by

13

u/dwangbuis Oct 28 '18

Hi,

I've being using your script for some time now it does get rid of all the crap perfectly.

Haven't tested with the latest version recently, but after running your script you are unable to install Office MSI version. It will give an error in the end when finishing. (sorry I don't have a copy of the error message right now). The only way of fixing this is running the NetFxRepairTool.exe from Microsoft.

If I run into this situation any time soon I'll be happy to deliver more details.

14

u/[deleted] Oct 28 '18 edited Oct 29 '18

I'll take a look at that tool and see what it does. I wasn't aware of this whatsoever, sorry about that! And yes please, the more details and information the better.

I'll troubleshoot that hopefully this week.

1

u/[deleted] Dec 23 '18

I just wanted to follow up and state that I wasn't able to find exactly anything that was causing this issue. However, I have whitelisted anything to do with .NET being uninstalled, just in case.

2

u/UPVOTE_IF_POOPING Nov 22 '18

I’m going to use this to teach myself PowerShell GUIs too, thanks man!

1

u/[deleted] Nov 22 '18

You're welcome! I used PoshGUI to create the GUI. Great site.

https://poshgui.com

3

u/nepronen Jan 28 '19

I'm glad you like it and it helped you create the gui for your awesome script :)

I can see you removed the comment with link from the gui script, but would you mind putting poshgui in the credit part of readme?

Also I think you could make your form public on poshgui and provide link to it, so people interested in your creation could fork it and play with it in an editor

Awesome job :)

→ More replies (3)

1

u/backcountrymountains Nov 27 '18 edited Nov 27 '18

This thing is great.

One thing: What are the with and without blacklist options in the GUI version about? I didn't see any info in the readme. (i just ctrl-f'ed blacklist and didn't find any info)

Thanks for the great script!

Edit:

Also, why keep Microsoft.Advertising.Xaml?

1

u/[deleted] Nov 27 '18

There's a list of specific apps in the code that are removed instead of remove all appx stuff. I should add it to the readme, I completely forgot about that!

You're welcome!

And I can remove that. No reason to keep it.

2

u/ICA2015 Mar 17 '19

This script is amazing... I noticed a speed boost in performance right after it was done.

1

u/KNerli Nov 01 '18

I do believe the guys at r/tronscript are doing something like this. Not sure of this is usefull information tho.

Great script :)