🖥️ Batch (CMD)

Check "Disable Tailored Experiences" Status (Batch)

Uses reg query to check the current value behind the "Disable Tailored Experiences" tweak.

By WindowsScripting.com · 533 B
CheckDisableTailoredExperiencesStatus.bat
@echo off
:: ============================================================
:: CheckDisableTailoredExperiencesStatus.bat
::
:: Checks whether "Disable Tailored Experiences" is currently applied.
:: ============================================================

reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Privacy" /v "TailoredExperiencesWithDiagnosticDataEnabled" 2>nul

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