Commit Graph

87 Commits

Author SHA1 Message Date
Richard Newton
cc41034c47
Merge pull request #48 from seanlundin/patch-1
Update Windows10SysPrepDebloater.ps1
2018-09-29 15:01:37 -07:00
seanlundin
1ebd897297
Update Windows10SysPrepDebloater.ps1
you had one extra bracket on line 48, preventing it from running.
2018-09-26 20:54:15 -05:00
Richard Newton
1a15c497f1
Removed * from Whitelisted for Microsoft.MSPaint 2018-09-13 20:01:59 -07:00
Richard Newton
94085bff68
Removed old function
I removed an old function "Remove-AppxPackagesForSysprep -ErrorAction SilentlyContinue" and added Microsoft.MSPaint to whitelist.
2018-09-13 20:01:03 -07:00
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.
2018-09-08 22:46:31 -07:00
Richard Newton
370475d177
Removed blacklist code
I removed the blacklist because it could have unintended consequences.
2018-09-08 22:41:28 -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
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.
2018-08-20 23:45:01 -07:00
Richard Newton
0e1b473d4e
Updated ReadMe 2018-08-19 00:00:10 -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
f327be743d
Added code to stop the WAP push service and Diagnostics 2018-08-18 23:49:52 -07:00
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.
2018-08-18 23:48:52 -07:00
Richard Newton
b0f21330ec
Created Fix Whitelisted Apps
This contains the code in the FixWhitelistedApps function.
2018-08-18 23:44:48 -07:00
Richard Newton
a259c8f3f1
Created Enable Edge PDF File
This contains the code in the Enable-EdgePDF function.
2018-08-18 23:43:47 -07:00
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.
2018-08-18 23:42:26 -07:00
Richard Newton
c49853a1cd
Created Stop Edge PDF
This contains the code that is in the Stop-EdgePDF function.
2018-08-18 23:41:25 -07:00
Richard Newton
f38866cf59
Created Enable Cortana File
This contains the code from the EnableCortana Function.
2018-08-18 23:40:29 -07:00
Richard Newton
8f7ad249fb
Created Disable Cortana File
This contains the code that is used in the DisableCortana Function.
2018-08-18 23:39:23 -07:00
Richard Newton
df652fe389
Created Protect Privacy file
This contains the code from the function Protect-Privacy.
2018-08-18 23:38:37 -07:00
Richard Newton
57c155e220
Added ForEach loop. 2018-08-18 23:37:18 -07:00
Richard Newton
003ba5edb1
Created Remove Bloatware RegKeys
This is the code from the Remove-Keys function that removes the bloatware registry keys.
2018-08-18 23:36:46 -07:00
Richard Newton
ff7f5f653f
Created file called Debloat Windows
This is the code in the function called Start-Debloat to debloat Windows 10.
2018-08-18 23:35:36 -07:00
Richard Newton
feabda25d1
Created individual file called Uninstall OneDrive
This is the code to uninstall OneDrive from the Function UninstallOneDrive.
2018-08-18 23:34:08 -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
57ef7e83b6
Update Windows10SysPrepDebloater.ps1 2018-07-28 20:37:23 -07:00
Richard Newton
c49ce96d55
Update Windows10SysPrepDebloater.ps1
Removed Microsoft.DesktopAppInstaller and Microsoft.RemoteDesktop from the blacklist function Remove-AppxPackagesForSysprep
2018-07-28 20:37:07 -07:00
Richard Newton
16016cf829
Added blacklisted Appxpackages to Start-Debloat Function 2018-07-28 20:35:07 -07:00
Richard Newton
1a2bf8181c
Merge pull request #38 from matt2005/1803
added Extra steps to remove provisioned packages.
2018-07-28 20:30:15 -07:00
Matt
4854877459 Added Privacy switch and added verbose messaging so that it appears in the MDT logs 2018-07-26 11:43:31 +01:00
Matt
4caf494048 fixed error with apps installed as other users 2018-07-25 17:09:03 +01:00
Matt
d770bf1f2b Fixed Sc command 2018-07-25 16:37:40 +01:00
Matt
30541754f6 Fixed logic to make use of the switches 2018-07-25 16:36:27 +01:00
Matt
ae7fd52b09 added Extra steps to remove provisioned packages.
Added registry keys to stop autoupdates on Windows Store
Added step to stop installer service
2018-07-25 15:10:05 +01: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
Richard Newton
f23435dce7
Merge pull request #28 from abulgatz/master
Run Remove-AppxPackage for current user
2018-06-11 20:09:21 -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
Richard Newton
61354e79c5
Merge pull request #27 from Gray-0men/master
Admin check and GUI prompts
2018-06-10 19:18:39 -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