Commit Graph

29 Commits

Author SHA1 Message Date
Richard Newton
d2c812df11
Added New-PSDrive HKCR in uninstall OneDrive Function
I added code to create a new PSDrive for HKCR so that the function can access the portion of the registry associated with HKCR and create/modify the specific registry keys.

I believe this resolves the function from hanging.
2018-08-18 23:22:07 -07:00
Richard Newton
16016cf829
Added blacklisted Appxpackages to Start-Debloat Function 2018-07-28 20:35:07 -07:00
Richard Newton
405d4584f3
Added Add-Type -AssemblyName PresentationCore,PresentationFramework 2018-07-16 18:43:31 -07:00
Richard Newton
4caacbb162
Removed administrator check 2018-07-14 23:11:57 -07:00
Richard Newton
5fff8f33ec
Removed the beginning * from Microsoft.Paint* since it wasn't parsing correctly 2018-06-23 13:19:21 -07:00
Richard Newton
300806db2e
Added Microsoft.MSPaint wildcard to whitelist 2018-06-23 13:10:26 -07:00
Richard Newton
f327eef7f0
Added Microsoft.MicrosoftStickyNotes to whitelist 2018-06-23 13:09:04 -07:00
Richard Newton
e9d2b48fab
Moved the Erroraction preference to line 12 2018-06-14 18:22:01 -07:00
Richard Newton
50a04f930e
Removed -Verbose from most of code
I removed -Verbose from most of the code as it is unnecessary and makes the script far too verbose.
2018-06-14 18:21:19 -07:00
Adam
d1b1be1bce
Run Remove-AppxPackage for current user
Run Remove-AppxPackage for the currently logged in user account
2018-06-11 11:36:42 -05:00
Richard Newton
fa01c1f20a
Added a few Xbox AppXPackages that shouldn't be removed
Microsoft.XboxGamingOverlay
Microsoft.XboxIdentityProvider
Microsoft.Xbox.TCUI 

These will no longer be removed.
2018-06-10 19:24:30 -07:00
Damian
b8ceda44f9 Fixed a bug I made with Explorer
Made sure it works without a new window opening at the end as well.
2018-06-04 23:27:03 -04:00
Damian
d210f3e159 Just a lot of OCD fat trimming
Mostly getting rid of redundant code that was doing the same thing over top of itself (ex: NewItemProperty with a value and then next line set the exact same value??)

Also added some more that was missed with telemetry, bing in the start menu, disabling cortana completely, and fully removing OneDrive and removed it from the side bar in explorer.
2018-06-04 22:06:38 -04:00
Gray-0men
af3cc3cab4 OEM and Preinstalled app locations
Added more OEM and preinstalled app locations to removal of bloatware in Reg Key section.
2018-06-04 09:43:23 -04:00
Damian
f4bc4545ab Added Cancel to the GUI
Added cancel button to stop the script completely.
2018-06-03 11:38:23 -04:00
Damian
4c3dd2003d Admin check and GUI prompts
Added an admin check to see if the script is running with admin right, if it isn't then it'll close and reopen with admin right and continue on.

Also added a GUI to replace the need for "read-host" to get a response from USER
2018-06-03 10:20:16 -04:00
Richard Newton
deaa99c664
Added xbox appxpackages/appxprovisionedpackages to whitelist 2018-05-21 19:04:21 -07:00
Richard Newton
c5214cfb2c
Removed switch containing interactive/noninteractive
I removed the switch containing interactive/noninteractive choices since the noninteractive option only cut down the amount of interactive prompts by 2, and I saw no value with keeping it. I also fixed the formatting of the code and it should be a bit more presentable now.
2018-03-06 20:31:11 -08:00
Richard Newton
173d106ef1
Added CanonicalGroupLimited.UbuntuonWindows to whitelisted apps 2018-03-02 21:09:36 -08:00
Richard Newton
f16cc2705f
Added -ErrorAction SilentlyContinue to lines 288-293 2018-03-02 21:00:14 -08:00
Richard Newton
3f997bf3f2
Added comments to Start-Debloat function and FixWhitelistedApps function 2018-02-19 07:59:58 -08:00
Richard Newton
13a0d7c03e
Changed Start-Debloat Function Code, new function
I changed the Start-Debloat Function's code to use [regex] as explained in the following link: https://www.reddit.com/r/PowerShell/comments/7xzwah/4_whitelisted_apps_in_my_script_are_being_removed/\

Thanks to Reddit user /u/GavinEke for the help.

I added a new Function called FixWhitelistedApps which will run and check to see if the Whitelisted apps in the Start-Debloat function were removed, and if so it should bring them back.
2018-02-19 07:48:42 -08:00
Richard Newton
542619fa87
Fixed whitelisted apps being removed
I fixed an issue where the whitelisted apps; Paint3D, Calculator, Store, and Photos were being removed.

I changed the conditional operator from -notlike to -notcontains on lines 22-25, and lines 30-33. Then, I removed the asterisks from each AppXPackage/AppXProvisionedPackage name. 

The issue of the whitelisted apps being removed should no longer be the case.
2018-02-16 19:59:14 -08:00
Richard Newton
3f628a709c
Changed $_.packagename to $_.name on lines 24 and 25
Changed $_.packagename to $_.name on lines 24 and 25
2018-01-13 16:24:26 -08:00
Richard Newton
d02dfa39ed
Changed $_.name on lines 24, 25, 32 and 33.
I changed the $_.name on lines 24, 25, 32, and 33 to $_.packagename since the whitelisted apps "Photos" and "Store" were still being removed.

Now they shouldn't be removed.
2017-12-28 20:33:12 -08:00
Richard Newton
3555fec619
Changed Microsoft.FreshPaint to Paint3d
On lines 22 and 30 I changed the name of the app/package from Microsoft.FreshPaint to Paint3D
2017-12-28 20:25:14 -08:00
Richard Newton
ac34625cc4
Fixed Revert /Noninteractive switch statement
On line 410 if you chose to run Interactively and wanted to Revert changes it would tell you that the Revert switch statement was not recognized. This is now fixed.

On line 450 if you chose to use the Noninteractive method it wasn't recognized. This is now fixed as well.
2017-12-28 20:23:46 -08:00
Richard Newton
e56a1297d4
Added logging, new Noninteractive switch, other code
Upon launching the script you will see that the script will create a folder called Windows10Debloater which it will use to store logs. If it detects that it has already been created previously then it will tell you that the folder already exists. The path will be: C:\Windows10Debloater

I added logging. It will record a transcript of your session and then output the transcript file into C:\Windows10Debloater. These can be used for troubleshooting or if you get error messages.

I added a Noninteractive switch so that instead of you choosing between "Interactive" and "Silent" it will only ask you 1 question, instead of the "Interactive" one asking you a couple of questions. 

The "Interactive" switch doesn't automatically reboot your machine.
2017-12-11 20:23:24 -08:00
Richard Newton
4c152f8d70
Windows10Debloater 2017-12-11 17:37:16 -08:00