'------ Admin rights!
' source: https://stackoverflow.com/a/17467283
If Not WScript.Arguments.Named.Exists("elevate") Then
  CreateObject("Shell.Application").ShellExecute WScript.FullName _
    , """" & WScript.ScriptFullName & """ /elevate", "", "runas", 1
  WScript.Quit
End If


'------ Update the registry.
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegDelete "HKEY_CLASSES_ROOT\*\shell\Open with GeeXLab x32\command\"
WshShell.RegDelete "HKEY_CLASSES_ROOT\*\shell\Open with GeeXLab x32\"

Wscript.Echo "GeeXLab removed from Explorer context menu."


