📜 VBScript (WSH)

Check "Disable Taskbar Chat Icon" Status (VBScript)

Reads the registry value behind the "Disable Taskbar Chat Icon" tweak to confirm whether it's applied.

By WindowsScripting.com · 688 B
CheckDisableChatIconStatus.vbs
' ============================================================
' CheckDisableChatIconStatus.vbs
'
' Checks whether "Disable Taskbar Chat Icon" is currently applied.
'
' Usage: cscript CheckDisableChatIconStatus.vbs
' ============================================================

Option Explicit

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

On Error Resume Next
currentValue = objShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarMn")

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