Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3208
  • Last Modified:

Find IE Version On Remote Computers

How can I find the version of IE on all of the computers on my domain in an automated fashion?
Please do not reference MS KB556019, the script did not work for me.
1
oveloz
Asked:
oveloz
  • 3
1 Solution
 
infosecconsCommented:
Your can query for the IE version like this:

cmd /k reg query "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v Version

Maybe dump this to a text file in some way?

0
 
infosecconsCommented:
Hm, I jst saw that is about the same method the article you already mentioned uses.
Can you give more info on where the script given in that article goes wrong?
0
 
infosecconsCommented:
Just tried the code I've attached on several systems, works like a charm.
You can run this from a login script and replace the "SomeFile" to a file on your network (maybe the NETLOGON dir) to collect the data.
You can also do without the last "echo" and just use the IE_Ver environment variable in your login script or something.
The script assumes that there is a TEMP directory it can write to.
Good luck :)

@echo off
SET IE_Ver=
SET RegQry="HKLM\Software\Microsoft\Internet Explorer" /v Version
REG.exe Query %RegQry% > %TEMP%\CheckCC.txt
Find /i "Version" < %TEMP%\CheckCC.txt > %TEMP%\StringCheck.txt
FOR /f "Tokens=3" %%b in (%TEMP%\CheckCC.txt) DO SET IE_Ver=%%b
Echo %COMPUTERNAME%,%IE_Ver% >> SomeFile.csv

Open in new window

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now