Commit Graph

24 Commits

Author SHA1 Message Date
Richard Newton
5dd272e184
Added missing } to end of CheckService function 2018-10-14 01:06:05 -07:00
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.
2018-10-11 18:36:04 -07:00
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.
2018-10-08 11:22:09 -07:00
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.
2018-10-07 16:25:26 -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
2326d4ba79
Added new DebloatBlacklist function 2018-10-04 20:59:45 -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
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
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
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
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
cc4633c8be
Added missing function FixWhitelistedApps to be called correctly
Added missing function FixWhitelistedApps to be called correctly on line 235
2018-04-05 19:05:56 -07:00
Richard Newton
f4da442ca6
Fixed Parameter switches 2018-03-15 21:25:00 -07:00
Richard Newton
f30ac403de
Added CanonicalGroupLimited.UbuntuonWindows to whitelisted apps 2018-03-02 21:09:57 -08:00
Richard Newton
78e439b703
Added -ErrorAction SilentlyContinue to lines 165-170 2018-03-02 21:00:47 -08:00
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.
2018-02-21 13:33:48 -08:00