🟣 C# / .NET 6+
Disable News and Interests Feed (C#)
Hides the taskbar News and Interests / Widgets feed. Applies the tweak via Microsoft.Win32.Registry.
SetDisableNewsAndInterests.cs
// SetDisableNewsAndInterests.cs
//
// Disable News and Interests Feed.
// Hides the taskbar News and Interests / Widgets feed.
//
// Usage: dotnet new console -o SetDisableNewsAndInterests, replace Program.cs with this
// file, then dotnet run.
using System;
using Microsoft.Win32;
using RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Feeds");
key.SetValue("ShellFeedsTaskbarViewMode", 2, RegistryValueKind.DWord);
Console.WriteLine("Disable News and Interests Feed applied.");