Commit Graph

77 Commits

Author SHA1 Message Date
Justin Luth
d3e4296603 Issue 84: CBSPreview is .NonRemovable - removed from blacklist.
https://github.com/Sycnex/Windows10Debloater/issues/84
2019-05-31 20:44:37 +03:00
jtmy
9c0504ad7e
Fixed typo in CloudStore path
string in $CloudStore has a typo that lead the check to always false
2019-04-15 18:40:00 +09:00
Richard Newton
36159f876b
Fixed Uninstall OneDrive Functiion 2019-03-18 15:58:47 -07:00
Richard Newton
cd59634879
Merge branch 'master' into master 2019-03-18 15:56:55 -07:00
Richard Newton
837994bf26
Removed .\ from taskkill 2019-03-16 23:24:35 -07:00
Damian
f269dbbee3 Fixed Optimization to skip NonRemovable apps that were always attempted
NonRemovable apps were still getting attempted in the debloat all functions that were always throwing errors that were just hanging on initalizing floating above the powershell window running.

Fixed Prompt position after the .NET prompt that wouldn't show the Do you want to power down Prompt

Fixed the Write-Host saying you didn't want to remove one drive after selecting 'no' to not unpin tiles.
2019-03-05 22:19:03 -05:00
Damian
83fd597a00 Added Dark Mode button(s) to the GUI
Also added a small countdown to the admin check
2019-03-05 01:07:40 -05:00
Damian
2c587f3fb4 Optimized DebloatAll and slimmed code more
added ' -and $_.NonRemovable -eq "False"' to the Get-AppxPackage code lines to help sort through apps that can't get deleted and just get skipped anyways.

Onedrive fixes and code reuse from GUI moved over to interactive script code.

Removed [CmdletBinding()] and Param() that wasn't being used.

Fixed Write-Output to Write-Host

Added ' -and $_.NonRemovable -eq "False"' to GUI code as well in the DebloatAll function
2019-03-04 23:19:11 -05:00
Damian
fea116fd78 Fixed GUI errors and Admin Check
Started out adding a new feature about removing 3D objects from explorer in This PC but I found a lot of code re use and found bugs when I went to add it to the GUI

Fixed -Verbose being used where Write-Host is already being used.

Fixed Admin check so it works, it was removed last year for some reason after I added it when I started adding my code to this project from my old debloat.

Fixed some code reuse where  -ErrorAction SilentlyContinue is called multiple times even after it's already a global settings set in the start of the function.

Removed -Name from where it just wasn't needed to slim down file size.

Fixed the OneDrive button so it workes without errors and finds everything the way it should.

Shortened .NET 3.5 section to slim down file size

Fixed Disable Windows Store Automatic Updates code so it runs without errors and is shorter.
2019-02-27 23:39:11 -05:00
Richard Newton
eea70e48f9
Added option to install .NET 3.5
Prompt 7 when debloating will now ask if you want to install .NET 3.5.
2019-02-25 18:37:48 -08:00
Richard Newton
0dfc6d25a1
Update Windows10Debloater.ps1 2019-02-23 14:29:36 -08:00
Robert Smith
4fca7090f6
Fix variable name in Bloatware foreach
There's no variable named $Debloat. Looks like this might be a typo.
2019-02-23 13:27:21 -05:00
Richard Newton
935d045458
Merge pull request #87 from Vikingat-RAGE/master
Added Unpin tiles from start menu option
2019-02-16 19:03:39 -08:00
Richard Newton
6f847eb20e
Added Slack to whitelist
This should resolve issue #83
2019-02-16 18:59:58 -08:00
Richard Newton
361207f243
Added removal of "*Windows.CBSPreview*"
This should resolve issue #84
2019-02-16 18:57:50 -08:00
Vikingat-RAGE
b202151316 Added Unpin tiles from start menu option 2019-02-16 13:57:27 +00:00
Richard Newton
a4495be889
Added "*Dolby*" to be removed by script 2019-02-09 14:46:42 -08:00
Richard Newton
9fefc2239d
Added WindSynthBerry & MIDIBerry to whitelist 2019-01-25 20:39:53 -08:00
Richard Newton
41b8b364fd
Added additional apps to the whitelist
I added the following apps to the whitelist to not be removed.

Microsoft.DesktopAppInstaller
Microsoft.HEIFImageExtension
Microsoft.ScreenSketch
Microsoft.StorePurchaseApp
Microsoft.VP9VideoExtensions
Microsoft.WebMediaExtensions
Microsoft.WebpImageExtension
2019-01-25 20:32:20 -08:00
Richard Newton
5db2bcd378
Added Self elevation to run as administrator
I added code to perform self elevation asking for the script to be run as an Administrator, otherwise the script will not be able to perform at its best.

This resolves issue #73
2019-01-25 20:20:35 -08:00
Richard Newton
51894fae31
Fix not removing specific blacklisted apps
This should resolve issue #77
2019-01-25 20:04:39 -08:00
Richard Newton
cdddf0b477
Update Windows10Debloater.ps1 2019-01-25 19:53:37 -08:00
Richard Newton
8f353b1059
Fixed IfElse that disables People/PeopleBand
I added the suggested IfElse that disables the People/PeopleBand per issue number #76
2019-01-25 19:50:51 -08:00
Richard Newton
be3d198eb6
Update Windows10Debloater.ps1 2019-01-03 19:54:56 -08:00
Richard Newton
9921d12cb5
Update Windows10Debloater.ps1 2019-01-03 19:54:08 -08:00
Richard Newton
0eea4f7a3d
Removed *.NET* from regex whitelist 2019-01-03 19:47:00 -08:00
Richard Newton
efbd0b1de8
Added .NET to whitelist 2018-12-23 15:42:37 -08:00
Richard Newton
ca01f1e13c
Added key to disable OneDrive throughout Windows 2018-12-23 15:36:25 -08:00
Richard Newton
a6e1354fdb
Update Windows10Debloater.ps1 2018-12-23 15:13:50 -08:00
Richard Newton
be3a6765b6
Update Windows10Debloater.ps1 2018-12-23 15:04:55 -08:00
Richard Newton
ad05dee3c0
Changed log folder path
I changed the log folder path from C:\Windows10Debloater to C:\Temp\Windows10Debloater
2018-12-23 14:42:28 -08:00
Richard Newton
e652baa852
Whitelisted CameraApp 2018-12-01 11:10:13 -08:00
Richard Newton
8e137a2e2e
Update Windows10Debloater.ps1 2018-12-01 11:08:26 -08:00
Richard Newton
20f86e1ae9
Added code to remove CloudStore from Registry
This adds code to remove CloudStore from the registry in regards to issue #61
2018-12-01 11:03:16 -08:00
Richard Newton
7d699d5421
Added Microsoft.WindowsCamera to whitelist
I added Microsoft.WindowsCamera to the whitelist and also commented it out in the blacklist function DebloatBlacklist for issue #65
2018-12-01 10:52:08 -08:00
Richard Newton
dcbc26a3d5
Removed $Revert variable 2018-12-01 10:50:03 -08:00
Richard Newton
529bddfcc7
Removed several variables that are not used
I removed several $No and $Yes variables that are not used in the switches, as they are unnecessary. This is related to issue #66
2018-12-01 10:48:11 -08:00
Richard Newton
d44a26029e
Update Windows10Debloater.ps1 2018-11-11 23:00:35 -08:00
Richard Newton
03a2513079
New check for OneDrive Files existence and folder existence
I added code to check for the OneDrive folder and its files before removal. If it finds that the folder exists, it will then check to see if there are files inside of the folder. If there are no files then OneDrive is uninstalled.

If there are files, then it creates a new folder called OneDriveBackupFiles on the user's desktop, move all of the files into that folder, and then removes OneDrive. 

This is a safety measure after a user had their OneDrive files (unfortunately) deleted from their machine.
2018-11-11 22:47:44 -08:00
Richard Newton
809c33a14a
Fixed variable with incorrect name in Debloat Blacklist function 2018-10-16 21:04:12 -07:00
Richard Newton
a1543ae59f
Removed Cancel commands randomly placed in script 2018-10-16 21:01:41 -07:00
Richard Newton
43064ffbf1
Changed $App to $Bloat on line 101 2018-10-14 00:10:26 -07:00
mdnt
88d4d1ed7b
Added Microsoft.ScreenSketch to whitelist
Looks like Microsoft will be axing snipping tool and using Snip & Sketch going forward
2018-10-09 19:53:51 -05:00
Richard Newton
3fb9e4defc
Changed DebloatAllApps to DebloatAll 2018-10-04 21:04:40 -07:00
Richard Newton
5ed3bc2fa0
New blacklist function and GUI prompt
I added a new blacklist function called DebloatBlacklist which will only remove the specified bloatware in the array in the function.

I also renamed the Start-Debloat function to DebloatAllApps since it seemed to remove absolutely everything related to the Microsoft Store (Any games, apps, etc).

When you hit "Yes" in the first prompt, you will be asked if you want debloat via a blacklist or if you want to remove everything, in terms of apps.
2018-10-04 19:42:20 -07:00
Richard Newton
1a15c497f1
Removed * from Whitelisted for Microsoft.MSPaint 2018-09-13 20:01:59 -07:00
Richard Newton
70207048ef
Removed debloat Blacklist
I removed the Blacklist code because it didn't seem to function as intended and it could perhaps have unintended consequences.
2018-09-08 22:39:56 -07:00
Richard Newton
644b97ea31
Fixed bug making script hang
I fixed a bug that was forcing the script to either hang or to completely kill the PowerShell Session in VSCode. I removed any variables that were added in the code but never declared called $PublishSettings.

The script runs properly now and no longer kills the PowerShell session or hangs.
2018-08-18 23:58:10 -07:00
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