📊 VBA (Excel)
Check Disable Feedback Notifications Registry Value (VBA)
Reads the Disable Feedback Notifications registry value via WScript.Shell.RegRead and reports it in a message box — no PowerShell or reg.exe needed.
DisableFeedbackNotificationsRegCheck.bas
Attribute VB_Name = "DisableFeedbackNotificationsRegCheck"
Option Explicit
Public Sub DisableFeedbackNotificationsRegCheck()
Dim wsh As Object
Dim regPath As String
Dim value As Variant
Set wsh = CreateObject("WScript.Shell")
regPath = "HKEY_CURRENT_USER\Software\Microsoft\Siuf\Rules\NumberOfSIUFInPeriod"
On Error Resume Next
value = wsh.RegRead(regPath)
On Error GoTo 0
If IsEmpty(value) Then
MsgBox "Value not set:" & vbCrLf & regPath, vbExclamation, "Disable Feedback Notifications"
Else
MsgBox "Disable Feedback Notifications" & vbCrLf & regPath & " = " & value, vbInformation
End If
End Sub