Need script to check versions of Office Programs accross a LAN

Discussion in 'Scripting' started by John Clifford, Feb 2, 2004.

  1. I have done a few searches on the above subject and have
    come up empty. That either means it is too simple to
    write about or I just am not searching in the right areas.

    What I need to to is find out what version of winword,
    excel etc my users are running so that I can verify
    whether they have been patched (with the latest security
    patch) or not.

    I am running an AD Domian with all Windows 2000
    workstations. All systems are running Office 2000 as

    Any help would be greatly appreciated.


    John Clifford, Feb 2, 2004
    1. Advertisements

  2. John Clifford

    Ray at Guest

    Personally, I think that you should look at it not as checking all computers
    for the version of Office, but checking if each version of Office is
    installed on each computer. That is, loop through all computers and check
    for a specific thing that indicates that a copy of Word 97 is installed
    and/or Excel 97. Then do 2000, 2002, and 2003. Some versions of Office
    applications support parallel installations, so if you try to detect the
    version of Office, you may have inaccurate results. Instead, check for each
    version on each computer.
    Ray at, Feb 2, 2004
    1. Advertisements

  3. Hi

    Do I understand you correctly if I say that you need to find out what
    service pack level of Office 2000 is installed on the different computers?

    In that case, you can do it by checking the version of e.g. Winword.exe
    (note that Office versions and updates is pretty complicated to check for).

    For a VBScript example that does this check , take a look here:

    I think I would have considered using Microsoft Baseline Security Analyzer
    (MBSA) instead for this, running it locally with command line switches e.g. in
    a startup or logon script and collected the log files in a network share or
    something (note that for Office, MBSA only supports local scans).

    More about MBSA and Office support here:

    Microsoft Baseline Security Analyzer home page
    Torgeir Bakken (MVP), Feb 2, 2004
  4. Thanks for the Help. I'll try the script out tomorrow.
    I'll also look into the MBSA. That might be a better
    long term solution.

    John Clifford, Feb 2, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.