andrew-s-taylor / public

Public Scripts and Apps
GNU General Public License v3.0
474 stars 180 forks source link

De-Bloat : add parameters for "features", like the custom whitelist #41

Open doumhfr opened 2 months ago

doumhfr commented 2 months ago

Hi,

first of all, thanks for your script

but it would be better if we can use parameters, like the customwhitelist, for another part of the script, so we can use the debloat-intune-script without copying the script on our repo and edit

this will work but :

for example be able to not remove copilot if we don't want to, with a switch like -keepcopilot, -dontcustostartmenu or whatelse

andrew-s-taylor commented 2 months ago

Hi, I have considered it, but I would need so many different parameters, it would quickly become very confusing and the aim is a set and forget script. There isn't anything which can't be over-riden with an Intune policy either

doumhfr commented 2 months ago

I'd say that only for "big parts" of the script but ok

2 littles things :

andrew-s-taylor commented 2 months ago

Do you have details about Poly Lens? Is it an appx or an executable

doumhfr commented 2 months ago

image (2)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall{C44BB545-91B5-499B-AC1D-FEF757695BF6}] "AuthorizedCDFPrefix"="" "Comments"="" "Contact"="" "DisplayName"="Poly Lens" "DisplayVersion"="1.3.1.6008" "EstimatedSize"=dword:00062d1a "HelpLink"="" "HelpTelephone"="" "InstallDate"="20240506" "InstallLocation"="" "InstallSource"="c:\swsetup\APP\Applications\Poly\PolyLens_447JB2\1.3.1\src\" "Language"=dword:00000409 "ModifyPath"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\ 00,65,00,20,00,2f,00,49,00,7b,00,43,00,34,00,34,00,42,00,42,00,35,00,34,00,\ 35,00,2d,00,39,00,31,00,42,00,35,00,2d,00,34,00,39,00,39,00,42,00,2d,00,41,\ 00,43,00,31,00,44,00,2d,00,46,00,45,00,46,00,37,00,35,00,37,00,36,00,39,00,\ 35,00,42,00,46,00,36,00,7d,00,00,00 "Publisher"="Poly, Inc." "Readme"="" "Size"="" "UninstallString"=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\ 78,00,65,00,20,00,2f,00,49,00,7b,00,43,00,34,00,34,00,42,00,42,00,35,00,34,\ 00,35,00,2d,00,39,00,31,00,42,00,35,00,2d,00,34,00,39,00,39,00,42,00,2d,00,\ 41,00,43,00,31,00,44,00,2d,00,46,00,45,00,46,00,37,00,35,00,37,00,36,00,39,\ 00,35,00,42,00,46,00,36,00,7d,00,00,00 "URLInfoAbout"="" "URLUpdateInfo"="" "Version"=dword:01030001 "VersionMajor"=dword:00000001 "VersionMinor"=dword:00000003 "WindowsInstaller"=dword:00000001

andrew-s-taylor commented 2 months ago

I've added Poly Lens to the latest version, hopefully it removes it

doumhfr commented 2 months ago

I can't test now but I will do more test in the future with the same computers so I can go back here to confirm ;)