📜 VBScript (WSH)

Check "Disable Snap Assist Suggestions" Status (VBScript)

Reads the registry value behind the "Disable Snap Assist Suggestions" tweak to confirm whether it's applied.

By WindowsScripting.com · 701 B
CheckDisableSnapAssistStatus.vbs
' ============================================================
' CheckDisableSnapAssistStatus.vbs
'
' Checks whether "Disable Snap Assist Suggestions" is currently applied.
'
' Usage: cscript CheckDisableSnapAssistStatus.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\SnapAssist")

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