Checking Internet Explorer version

(imported topic written by chuajocelyn91)

Hi

I need to write a relevance to check all my users whom are not using installed with Internet Explorer 7 and below.

How can I write this relevance to check for this?

Please help.

Thank yoU!

(imported comment written by Lee Wei)

chuajocelyn,

Did you say you want to check to make the clients are using IE 7 and above?

You can try the following 2 statements. The first will return IE version, and the second will return FALSE if the IE version is less than 7.0.

q: if (name of operating system starts with “Win”) then ((if (exists key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer” of native registry and exists value “Version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer” of native registry) then (value “Version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer” of registry as string) else (“Unknown”))) else (“Unknown”)

A: 8.0.7600.16385

q: (if (name of operating system starts with “Win”) then ((if (exists key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer” of native registry and exists value “Version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer” of native registry) then (value “Version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer” of registry as string) else (“0”))) else (“0”)) as version >= “7.0”

A: True

Lee Wei

(imported comment written by chuajocelyn91)

Hi Lee Wei

Thank you for your reply.

However I would need the relevance for IE 7 & below.

If in this case, am I able to use:

(if (name of operating system starts with “Win”) then ((if (exists key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer” of native registry and exists value “Version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer” of native registry) then (value “Version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer” of registry as string) else (“0”))) else (“0”)) as version >= “7.0”

except that the version I change it to (version <= “7.0”)?

Please advise, thank you.

(imported comment written by Lee Wei)

If you want the query to return TRUE for any IE version below 7.0, it should be (version < ").

Give it a try and I believe you can figure it out quickly!

Lee Wei

(imported comment written by SystemAdmin)

The easiest way to pull the version of IE is this:

version of regapp “iexplore.exe”

As for seeing who has IE7 and below, your best bet would be to see who has less than version 8.0. If you want to know who has version 7, if you look for 7.0 you will not pick up any versions of 7 because the version build numbers are always higher than 7.0. Example: “7.00.5730.1100” is a greater number than “7”.