andrew-s-taylor / public

Public Scripts and Apps
GNU General Public License v3.0
472 stars 179 forks source link

Remove bloat script Start menu widgets #36

Closed Typhoon87 closed 2 months ago

Typhoon87 commented 3 months ago

I was wondering if you can not what part of the debloat script would block start menu widgets. I don't see any specific notice so am not sure what module to whitelist? idea

andrew-s-taylor commented 3 months ago

Which widgets is it blocking?

Typhoon87 commented 3 months ago

The entire widgets in taskbar is unavailable. We are using the debloat script in SCCM OSD Task Sequence for Win 11 23H2 and it seems to be turning off the widgets (see screenshot) it says managed by org but we are not using any Group Policy to disable this.

If we disable the debloat script and image a machine with the rest of the Task sequence untouched it works fine. Walking the script I don't see what is touching this function.

image

andrew-s-taylor commented 3 months ago

It'll be this:

Disable Feeds

$registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Dsh" If (!(Test-Path $registryPath)) { New-Item $registryPath } Set-ItemProperty $registryPath "AllowNewsAndInterests" -Value 0 write-host "Disabled Feeds"

Lines 878-884

Typhoon87 commented 3 months ago

Okay I was looking for widget not feed in the name. So if I just comment out that block it should work and not break anything else in the script?

andrew-s-taylor commented 3 months ago

Yes, the rest will work fine with that section commented out

Typhoon87 commented 3 months ago

Thanks looks like that worked