124 Commits (dcbc26a3d53d22bbc3fdfeab73431a40e23d99be)
 

Author SHA1 Message Date
Richard Newton dcbc26a3d5
Removed $Revert variable 6 years ago
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
6 years ago
Richard Newton 1d25c80dda
Update Windows10DebloaterGUI.ps1 6 years ago
Richard Newton d44a26029e
Update Windows10Debloater.ps1 6 years ago
Richard Newton df582d0793
New check for OneDrive files 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.
6 years ago
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.
6 years ago
Richard Newton c788707738
Fixed CheckInstallService and CheckDMWService Functions 6 years ago
Richard Newton 26bb122115
Fixed CheckInstallService function and checkdmwservice function 6 years ago
Richard Newton df471e039d
Fixed CheckInstallService function 6 years ago
Richard Newton 0762b0a8d0
Fixed CheckInstallService Function 6 years ago
Richard Newton 59f16c6694
Added CheckInstallService function 6 years ago
Richard Newton 3c989503f0
Added CheckInstallService Function 6 years ago
Richard Newton 69246b9cc2
Added Function CheckInstallService 6 years ago
Richard Newton 34753740aa
Update README.md 6 years ago
Richard Newton 81f2a4d714
Update README.md 6 years ago
Richard Newton d1d52466a5
Update README.md 6 years ago
Richard Newton ed146e0f01
Added section about Windows10DebloaterGUI 6 years ago
Richard Newton 04681b7507
Windows10DebloaterGUI.ps1 application has been created. 6 years ago
Richard Newton 809c33a14a
Fixed variable with incorrect name in Debloat Blacklist function 6 years ago
Richard Newton a1543ae59f
Removed Cancel commands randomly placed in script 6 years ago
Richard Newton 5dd272e184
Added missing } to end of CheckService function 6 years ago
Richard Newton 43064ffbf1
Changed $App to $Bloat on line 101 6 years ago
Richard Newton 9d3e8b8504
Added CheckService Functioin to start dmwappushservice if stopped
Added a function with an If statement that checks if the service dmwappushservice is running and if not then it will start it.
6 years ago
Richard Newton 4cf8cd27d4
Added Damian to Credit 6 years ago
Richard Newton a366d16d91
Merge pull request #55 from mdnt/master
Added Microsoft.ScreenSketch to whitelist
6 years ago
Richard Newton 166525bf67
Merge pull request #53 from xyipher/patch-1
Update Windows10SysPrepDebloater.ps1
6 years ago
mdnt 88d4d1ed7b
Added Microsoft.ScreenSketch to whitelist
Looks like Microsoft will be axing snipping tool and using Snip & Sketch going forward
6 years ago
xyipher 8b6ffcbbd7
Update Windows10SysPrepDebloater.ps1
& sc config InstallService start=disabled  -> Gave me an error, used power shell command and it worked without errors

re-run line 41 in order to avoid error or having to reboot.
6 years ago
Richard Newton b51963269e
Removed line 15
I removed the code from line 15 as this will wipe more than the target appxpackages/appxprovisionedpackages since even some games/apps/etc from the Microsoft Store and others that are wanted will be removed.
6 years ago
Richard Newton 0c90e11309
Fixed Switch Parameters section and added to credit section 6 years ago
Richard Newton 72fa2acbeb
Reverted back to the old version with fixes by xsisbest 6 years ago
Richard Newton a33a2e1517
Added new information to Switch Parameters 6 years ago
Richard Newton 3fb9e4defc
Changed DebloatAllApps to DebloatAll 6 years ago
Richard Newton 2326d4ba79
Added new DebloatBlacklist function 6 years ago
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.
6 years ago
Richard Newton d17757c7d9
Added missing curling brace to FixWhitelistedApps Function 6 years ago
Richard Newton f0fda437e1
Removed get-appxpackage | remove-appxpackage
I removed the line of code get-appxpackage | remove-appxpackage from the Begin-SysPrep function because it was accidentally removing all packages.

I also removed the If statement in the FixWhitelistedApps since it wasn't necessary.
6 years ago
Richard Newton cc41034c47
Merge pull request #48 from seanlundin/patch-1
Update Windows10SysPrepDebloater.ps1
6 years ago
seanlundin 1ebd897297
Update Windows10SysPrepDebloater.ps1
you had one extra bracket on line 48, preventing it from running.
6 years ago
Richard Newton 1a15c497f1
Removed * from Whitelisted for Microsoft.MSPaint 6 years ago
Richard Newton 94085bff68
Removed old function
I removed an old function "Remove-AppxPackagesForSysprep -ErrorAction SilentlyContinue" and added Microsoft.MSPaint to whitelist.
6 years ago
Richard Newton cccafebc25
Removed @PSParameters and IF statements
I removed all of the IF statements in the code that was merged because it did not allow the code to actually run.
6 years ago
Richard Newton 370475d177
Removed blacklist code
I removed the blacklist because it could have unintended consequences.
6 years ago
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.
6 years ago
Richard Newton a0f85e61c9
Removed section stating you need to run before new profile
There really is no reason not is it necessary to run before creating a new profile.
6 years ago
Richard Newton 0e1b473d4e
Updated ReadMe 6 years ago
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.
6 years ago
Richard Newton f327be743d
Added code to stop the WAP push service and Diagnostics 6 years ago
Richard Newton 9bf5205259
Added to re-enable WAP push service and Diagnostics
Added code to re-enable the WAP push service and the diagnostics tracking service.
6 years ago
Richard Newton b0f21330ec
Created Fix Whitelisted Apps
This contains the code in the FixWhitelistedApps function.
6 years ago