' ============================================================
' CheckDisableBalloonTipsStatus.vbs
'
' Checks whether "Disable Balloon Tip Notifications" is currently applied.
'
' Usage: cscript CheckDisableBalloonTipsStatus.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\EnableBalloonTips")

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