🖥️ Batch (CMD)

Check "Disable Activity Feed / Timeline" Status (Batch)

Uses reg query to check the current value behind the "Disable Activity Feed / Timeline" tweak.

By WindowsScripting.com · 472 B
CheckDisableActivityFeedStatus.bat
@echo off
:: ============================================================
:: CheckDisableActivityFeedStatus.bat
::
:: Checks whether "Disable Activity Feed / Timeline" is currently applied.
:: ============================================================

reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableActivityFeed" 2>nul

if %ERRORLEVEL% NEQ 0 (
    echo.
    echo 'EnableActivityFeed' is not set (using the Windows default^).
)
pause