Commit Graph

95 Commits

Author SHA1 Message Date
Richard Newton
0c90e11309
Fixed Switch Parameters section and added to credit section 2018-10-07 16:21:30 -07:00
Richard Newton
72fa2acbeb
Reverted back to the old version with fixes by xsisbest 2018-10-07 16:17:43 -07:00
Richard Newton
a33a2e1517
Added new information to Switch Parameters 2018-10-04 21:06:06 -07:00
Richard Newton
3fb9e4defc
Changed DebloatAllApps to DebloatAll 2018-10-04 21:04:40 -07:00
Richard Newton
2326d4ba79
Added new DebloatBlacklist function 2018-10-04 20:59:45 -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
d17757c7d9
Added missing curling brace to FixWhitelistedApps Function 2018-10-03 20:06:14 -07:00
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.
2018-09-29 15:12:53 -07:00
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