📜 VBScript (WSH)

Disable News and Interests Feed (VBScript)

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

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

Option Explicit

Dim objShell
Set objShell = CreateObject("WScript.Shell")

On Error Resume Next
objShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Feeds\ShellFeedsTaskbarViewMode", 2, "REG_DWORD"

If Err.Number = 0 Then
    WScript.Echo "Disable News and Interests Feed applied."
Else
    WScript.Echo "Failed to apply tweak (Error " & Err.Number & ": " & Err.Description & ")"
End If
On Error Goto 0