42 Commits (master)

Author SHA1 Message Date
Maximilian Cosmo Sitter d8979dc7e2
FIX #240 and #259
The explorer process could not be killed, because powershell cannot convert the "Explorer.exe" value of type "System.String" to type "System.Diagnostics.Process".
Description and solution in #240 . If issues still occur we could try the solution proposed in #259
4 years ago
John Neijzen 12e321e5fe
Same Fix as Windows10Debloater.ps1 for Cloudstore
It allows to delete cloudstore without confirm needed
4 years ago
Simon Lee 893ea98feb
Update Windows10SysPrepDebloater.ps1
Created PR from Issue #101
5 years ago
Simon Lee b071e06f77
Update Windows10SysPrepDebloater.ps1
#> is in the wrong place and creates an error 

Missing closing '}' in statement block or type definition.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingEndCurlyBrace
5 years ago
Richard Newton a830864c59
Added framework to whitelist
I am hoping that this stops the issue of not allowing office 2016+ to install.
5 years ago
Richard Newton 4001abbc2e
Update Windows10SysPrepDebloater.ps1 5 years ago
Richard Newton b350f5ce12
Updated regex whitelist 5 years ago
Richard Newton 3f39bf232f
This fixes issue #76 5 years ago
Richard Newton 4b62408986
Update Windows10SysPrepDebloater.ps1 5 years ago
Richard Newton e2036d15fe
Removed *.NET* from regex whitelist 5 years ago
Richard Newton fc93a07d6c
Added .NET to whitelist 5 years ago
Richard Newton 1bd013a052
Update Windows10SysPrepDebloater.ps1 5 years ago
Richard Newton 2b07de3eba
Update Windows10SysPrepDebloater.ps1 5 years ago
Richard Newton 053e51dd03
Added check to enable DMWAppushservice
Added a function to set the startup type of the DMWAppushservice to Automatic, and to start it after if it isn't started.
5 years ago
Richard Newton 45d3098d99
Whitelisted CameraApp 6 years ago
Richard Newton 26bb122115
Fixed CheckInstallService function and checkdmwservice function 6 years ago
Richard Newton 0762b0a8d0
Fixed CheckInstallService Function 6 years ago
Richard Newton 69246b9cc2
Added Function CheckInstallService 6 years ago
Richard Newton 5dd272e184
Added missing } to end of CheckService function 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
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 72fa2acbeb
Reverted back to the old version with fixes by xsisbest 6 years ago
Richard Newton 2326d4ba79
Added new DebloatBlacklist function 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
seanlundin 1ebd897297
Update Windows10SysPrepDebloater.ps1
you had one extra bracket on line 48, preventing it from running.
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 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
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 cc4633c8be
Added missing function FixWhitelistedApps to be called correctly
Added missing function FixWhitelistedApps to be called correctly on line 235
6 years ago
Richard Newton f4da442ca6
Fixed Parameter switches 6 years ago
Richard Newton f30ac403de
Added CanonicalGroupLimited.UbuntuonWindows to whitelisted apps 6 years ago
Richard Newton 78e439b703
Added -ErrorAction SilentlyContinue to lines 165-170 6 years ago
Richard Newton fd4ecb03fd
Renamed Windows10SilentDebloater to Windows10SysPrepDebloater
I renamed Windows10SilentDebloater to Windows10SysPrepDebloater to better show what the intended purpose of this version of the script is for.
6 years ago