đź“„ JScript (WSH)
Disable Activity Feed / Timeline (JScript)
Disables the Windows Activity Feed / Timeline feature (requires admin). Requires an elevated (Administrator) prompt. Applies the tweak via WScript.Shell.RegWrite (JScript syntax).
SetDisableActivityFeed.js
// ============================================================
// SetDisableActivityFeed.js
//
// Disable Activity Feed / Timeline.
// Disables the Windows Activity Feed / Timeline feature (requires admin). Requires an elevated (Administrator) prompt.
//
// Usage: cscript SetDisableActivityFeed.js
// ============================================================
var objShell = WScript.CreateObject("WScript.Shell");
try {
objShell.RegWrite("HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\System\\EnableActivityFeed", 0, "REG_DWORD");
WScript.Echo("Disable Activity Feed / Timeline applied.");
} catch (e) {
WScript.Echo("Failed to apply tweak: " + e.description);
}