📜 VBScript (WSH)
Check "Disable Windows Telemetry" Status (VBScript)
Reads the registry value behind the "Disable Windows Telemetry" tweak to confirm whether it's applied.
CheckDisableTelemetryStatus.vbs
' ============================================================
' CheckDisableTelemetryStatus.vbs
'
' Checks whether "Disable Windows Telemetry" is currently applied.
'
' Usage: cscript CheckDisableTelemetryStatus.vbs
' ============================================================
Option Explicit
Dim objShell, currentValue
Set objShell = CreateObject("WScript.Shell")
On Error Resume Next
currentValue = objShell.RegRead("HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection\AllowTelemetry")
If Err.Number <> 0 Then
WScript.Echo "'AllowTelemetry' is not set (using the Windows default)."
Else
WScript.Echo "Current value of 'AllowTelemetry': " & currentValue
End If
On Error Goto 0