📜 VBScript (WSH)

Check "Disable Windows Consumer Features" Status (VBScript)

Reads the registry value behind the "Disable Windows Consumer Features" tweak to confirm whether it's applied.

By WindowsScripting.com · 764 B
CheckDisableConsumerFeaturesStatus.vbs
' ============================================================
' CheckDisableConsumerFeaturesStatus.vbs
'
' Checks whether "Disable Windows Consumer Features" is currently applied.
'
' Usage: cscript CheckDisableConsumerFeaturesStatus.vbs
' ============================================================

Option Explicit

Dim objShell, currentValue
Set objShell = CreateObject("WScript.Shell")

On Error Resume Next
currentValue = objShell.RegRead("HKLM\SOFTWARE\Policies\Microsoft\Windows\CloudContent\DisableWindowsConsumerFeatures")

If Err.Number <> 0 Then
    WScript.Echo "'DisableWindowsConsumerFeatures' is not set (using the Windows default)."
Else
    WScript.Echo "Current value of 'DisableWindowsConsumerFeatures': " & currentValue
End If
On Error Goto 0