Disable Windows 7 hotkeys

This little script disables Windows 7 hotkeys if you have no local admin rights and registry editor (regedit) is also disabled.  Simply save it as hkey.vbs and execute. Option Explicit ‘Declare variables Dim WSHShell, rr, MyBox, val, ttl Dim jobfunc, itemtype On Error Resume Next Set WSHShell = WScript.CreateObject(“WScript.Shell”) val = “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\DisabledHotkeys” itemtype = “REG_EXPAND_SZ” […]