Raphire / Win11Debloat

A simple, easy to use PowerShell script to remove pre-installed apps from Windows, disable telemetry, remove Bing from Windows search as well as perform various other changes to declutter and improve your Windows experience. This script works for both Windows 10 and Windows 11.
MIT License
12.88k stars 546 forks source link

‘Some settings are managed by your organization’ Message Appearing in Taskbar Settings #68

Closed Othmane-ElAlami closed 3 months ago

Othmane-ElAlami commented 3 months ago

Issue: "Some settings are managed by your organization" message after using the script

Describe the bug After running the Win11Debloat script, the message "Some settings are managed by your organization" appears in the Taskbar settings of Windows 11.

To Reproduce Steps to reproduce the behaviour:

  1. Run the Win11Debloat script using the Quick method with default settings.
  2. Navigate to Settings -> Personalization -> Taskbar.
  3. Observe the message "Some settings are managed by your organization" at the top of the page.

Expected behavior The settings should not show the "Some settings are managed by your organization" message if no policies are applied that restrict the user's ability to manage these settings.

Screenshots image

Possible Solution It seems like some registry changes or policies applied by the script might be causing this message. A review of the changes made to the registry and group policies could help identify the cause.

zoicware commented 3 months ago

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh] "AllowNewsAndInterests"=dword:00000000 just remove this key

Othmane-ElAlami commented 3 months ago

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh] "AllowNewsAndInterests"=dword:00000000 just remove this key

Thank you, the solution worked! However, I'm unsure if I should keep the issue open or if this behaviour is expected from the script.

zoicware commented 3 months ago

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh] "AllowNewsAndInterests"=dword:00000000 just remove this key

Thank you, the solution worked! However, I'm unsure if I should keep the issue open or if this behaviour is expected from the script.

you can use this key to disable widgets without using a policy [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "TaskbarDa"=dword:00000000 however some things you will get that msg no matter what since theres no other way without using a policy

Raphire commented 3 months ago

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh] "AllowNewsAndInterests"=dword:00000000 just remove this key

Thank you, the solution worked! However, I'm unsure if I should keep the issue open or if this behaviour is expected from the script.

you can use this key to disable widgets without using a policy [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "TaskbarDa"=dword:00000000 however some things you will get that msg no matter what since theres no other way without using a policy

This key will disable the widgets button, but if I recall correctly it won't disable the widgets service from running in the background. That's because widgets panel can also be accessed from a shortcut (WIndows + W).

The current implementation in the script uses the policy key to disable the widgets service entirely, but this does mean the widget setting becomes inaccessible. I'll look into alternatives later today once I have access to a W11 pc, but like @zoicware said some things can only be done using policies.

Raphire commented 3 months ago

I haven't been able to find a way to disable the Widgets service without resorting to a policy. I'll keep my eye on it. If anybody does find a way to achieve this without a machine policy, please let me know.

But for now I'll close this issue.

sylv256 commented 2 months ago

I know you think that giving people low-quality debloat scripts is helpful, but it's not. Deleting my comments only proves my point that you have no regard for the safety of peoples' systems. https://rentry.co/debloatguide Don't use shitty debloat scripts and then come crying when your system breaks.

greatquux commented 2 months ago

image

Raphire commented 2 months ago

I know you think that giving people low-quality debloat scripts is helpful, but it's not. Deleting my comments only proves my point that you have no regard for the safety of peoples' systems. https://rentry.co/debloatguide Don't use shitty debloat scripts and then come crying when your system breaks.

I'll bite.

You just replied with a link and nothing else. It was not adding anything to the discussion, so I removed it. I thought it might've been accidental as you commented elsewhere with the same link that still stands and I acknowledged in good faith.

I do find it ironic that article you link tells you not to run scripts while at the same time linking to scripts to get certain stuff done.

Anyhow. Nobody is forcing you to use this script. I understand why some people are against them. I've been bitten by other debloating scripts in the past, which is why I made my own and opensourced it for others to enjoy if they so please.

zoicware commented 2 months ago

I know you think that giving people low-quality debloat scripts is helpful, but it's not. Deleting my comments only proves my point that you have no regard for the safety of peoples' systems. https://rentry.co/debloatguide Don't use shitty debloat scripts and then come crying when your system breaks. 🤔

image
sylv256 commented 2 months ago

@zoicware that's like, one single security vendor out of 91. it's a notes site where people write guides.