Determine Installed Version of Internet Explorer – VBScript

Below is a simple VBScript to determine the version of Internet Explorer installed on your PC.

Dim oRegistry
Dim oRegistry
Dim sKey
Dim sValue
Dim sAppVersion
Const HKEY_LOCAL_MACHINE 	= &H80000002

Set oRegistry = GetObject("winmgmts:{impersonationLevel=impersonate}//./root/default:StdRegProv")
sKey = "SOFTWARE\Microsoft\Internet Explorer\"
oRegistry.GetStringValue HKEY_LOCAL_MACHINE, sKey, "Version", sValue
sAppVersion = Left(sValue, InStr(sValue, ".") - 1)
MsgBox sAppVersion & ""
Set oRegistry = Nothing

Simply save the above in a text file and name it as you please with the extension vbs, close and save. Then double click on it and it should return a message box with the version number of Internet Explorer.

One response on “Determine Installed Version of Internet Explorer – VBScript