🟣 C# / .NET 6+

Disable Feedback Notifications (C#)

Stops Windows from periodically asking for feedback. Applies the tweak via Microsoft.Win32.Registry.

By WindowsScripting.com · 515 B
SetDisableFeedbackNotifications.cs
// SetDisableFeedbackNotifications.cs
//
// Disable Feedback Notifications.
// Stops Windows from periodically asking for feedback.
//
// Usage: dotnet new console -o SetDisableFeedbackNotifications, replace Program.cs with this
// file, then dotnet run.

using System;
using Microsoft.Win32;

using RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Siuf\Rules");
key.SetValue("NumberOfSIUFInPeriod", 0, RegistryValueKind.DWord);

Console.WriteLine("Disable Feedback Notifications applied.");