teeotsa/windows-11-debloat

Script don't dele provisionned Package

V1ce opened this issue · 2 comments

V1ce commented

Hi,

I post for suggest to also remove provisionned packages in the script. I use this script for prepare reference machine and after the sysprep execution the default user reinstall all bloatware so this make this script usless.

I have tested to add this at line 1042 and sysprep the machine and i get a clean profile :

Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like $Bloat | Remove-AppxProvisionedPackage -Online

Thanks

Hey,

Thank you for your suggestion! You could just make a pull request next time haha.

Have a nice day!

dc236a8

V1ce commented

Yes sorry im not familiar with this. thanks for the modification, and thanks for your job. Bye