đź“„ JScript (WSH)

Disable News and Interests Feed (JScript)

Hides the taskbar News and Interests / Widgets feed. Applies the tweak via WScript.Shell.RegWrite (JScript syntax).

By WindowsScripting.com · 634 B
SetDisableNewsAndInterests.js
// ============================================================
// SetDisableNewsAndInterests.js
//
// Disable News and Interests Feed.
// Hides the taskbar News and Interests / Widgets feed.
//
// Usage: cscript SetDisableNewsAndInterests.js
// ============================================================

var objShell = WScript.CreateObject("WScript.Shell");

try {
    objShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Feeds\\ShellFeedsTaskbarViewMode", 2, "REG_DWORD");
    WScript.Echo("Disable News and Interests Feed applied.");
} catch (e) {
    WScript.Echo("Failed to apply tweak: " + e.description);
}