🖥️ Batch (CMD)

Check "Disable Windows Telemetry" Status (Batch)

Uses reg query to check the current value behind the "Disable Windows Telemetry" tweak.

By WindowsScripting.com · 462 B
CheckDisableTelemetryStatus.bat
@echo off
:: ============================================================
:: CheckDisableTelemetryStatus.bat
::
:: Checks whether "Disable Windows Telemetry" is currently applied.
:: ============================================================

reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" 2>nul

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