📜 VBScript (WSH)
Disable Snap Assist Suggestions (VBScript)
Stops Windows from suggesting other windows to snap next to one you just moved. Applies the tweak via WScript.Shell.RegWrite.
SetDisableSnapAssist.vbs
' ============================================================
' SetDisableSnapAssist.vbs
'
' Disable Snap Assist Suggestions.
' Stops Windows from suggesting other windows to snap next to one you just moved.
'
' Usage: cscript SetDisableSnapAssist.vbs
' ============================================================
Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
On Error Resume Next
objShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\SnapAssist", 0, "REG_DWORD"
If Err.Number = 0 Then
WScript.Echo "Disable Snap Assist Suggestions applied."
Else
WScript.Echo "Failed to apply tweak (Error " & Err.Number & ": " & Err.Description & ")"
End If
On Error Goto 0