338 Commits (master)
 

Author SHA1 Message Date
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
Richard Newton a259c8f3f1
Created Enable Edge PDF File
This contains the code in the Enable-EdgePDF function.
6 years ago
Richard Newton 2d65955a79
Created Revert Changes file
This contains the code that reverts the changes that the Start-Debloat function does, as well as the Protect-Privacy function.
6 years ago
Richard Newton c49853a1cd
Created Stop Edge PDF
This contains the code that is in the Stop-EdgePDF function.
6 years ago
Richard Newton f38866cf59
Created Enable Cortana File
This contains the code from the EnableCortana Function.
6 years ago
Richard Newton 8f7ad249fb
Created Disable Cortana File
This contains the code that is used in the DisableCortana Function.
6 years ago
Richard Newton df652fe389
Created Protect Privacy file
This contains the code from the function Protect-Privacy.
6 years ago
Richard Newton 57c155e220
Added ForEach loop. 6 years ago
Richard Newton 003ba5edb1
Created Remove Bloatware RegKeys
This is the code from the Remove-Keys function that removes the bloatware registry keys.
6 years ago
Richard Newton ff7f5f653f
Created file called Debloat Windows
This is the code in the function called Start-Debloat to debloat Windows 10.
6 years ago
Richard Newton feabda25d1
Created individual file called Uninstall OneDrive
This is the code to uninstall OneDrive from the Function UninstallOneDrive.
6 years ago
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.
6 years ago
Richard Newton 57ef7e83b6
Update Windows10SysPrepDebloater.ps1 6 years ago
Richard Newton c49ce96d55
Update Windows10SysPrepDebloater.ps1
Removed Microsoft.DesktopAppInstaller and Microsoft.RemoteDesktop from the blacklist function Remove-AppxPackagesForSysprep
6 years ago
Richard Newton 16016cf829
Added blacklisted Appxpackages to Start-Debloat Function 6 years ago
Richard Newton 1a2bf8181c
Merge pull request #38 from matt2005/1803
added Extra steps to remove provisioned packages.
6 years ago
Matt 4854877459 Added Privacy switch and added verbose messaging so that it appears in the MDT logs 6 years ago
Matt 4caf494048 fixed error with apps installed as other users 6 years ago
Matt d770bf1f2b Fixed Sc command 6 years ago
Matt 30541754f6 Fixed logic to make use of the switches 6 years ago
Matt ae7fd52b09 added Extra steps to remove provisioned packages.
Added registry keys to stop autoupdates on Windows Store
Added step to stop installer service
6 years ago
Richard Newton 405d4584f3
Added Add-Type -AssemblyName PresentationCore,PresentationFramework 6 years ago
Richard Newton 4caacbb162
Removed administrator check 6 years ago
Richard Newton 5fff8f33ec
Removed the beginning * from Microsoft.Paint* since it wasn't parsing correctly 6 years ago
Richard Newton 300806db2e
Added Microsoft.MSPaint wildcard to whitelist 6 years ago
Richard Newton f327eef7f0
Added Microsoft.MicrosoftStickyNotes to whitelist 6 years ago
Richard Newton e9d2b48fab
Moved the Erroraction preference to line 12 6 years ago
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.
6 years ago
Richard Newton f23435dce7
Merge pull request #28 from abulgatz/master
Run Remove-AppxPackage for current user
6 years ago
Adam d1b1be1bce
Run Remove-AppxPackage for current user
Run Remove-AppxPackage for the currently logged in user account
6 years ago
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.
6 years ago
Richard Newton 61354e79c5
Merge pull request #27 from Gray-0men/master
Admin check and GUI prompts
6 years ago
Damian b8ceda44f9 Fixed a bug I made with Explorer
Made sure it works without a new window opening at the end as well.
6 years ago
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.
6 years ago
Gray-0men af3cc3cab4 OEM and Preinstalled app locations
Added more OEM and preinstalled app locations to removal of bloatware in Reg Key section.
6 years ago
Damian f4bc4545ab Added Cancel to the GUI
Added cancel button to stop the script completely.
6 years ago
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
6 years ago