Does anyone know of a way I can verify this patch has been installed? I have
to develop a batch file that checks if patches have been installed or not.
Usually I can just check the registry but this patch doesn't appear to leave
an entry in the registry or an uninstall file, any idea's appreciated?

Re: Security Patch MS06-023/KB917344 for Jscript 5.6 Win2000 SP4 by karl

karl
Wed Jul 12 06:30:10 CDT 2006


"tony c" <tonyc@discussions.microsoft.com> wrote in message
news:1752D1B6-AA51-4E2C-8113-A48E63E4960C@microsoft.com...
> Does anyone know of a way I can verify this patch has been installed? I
> have
> to develop a batch file that checks if patches have been installed or not.
> Usually I can just check the registry but this patch doesn't appear to
> leave
> an entry in the registry or an uninstall file, any idea's appreciated?

From the article, you could use a batch file that checks the date /
timestamp on the following file:

File Name Version Date Time Size
Jscript.dll
5.6.0.8831
17-May-2006
18:43
465,864



Two rudimentary ways that come to mind are:

dir c:\dir\jscript.dll|find "06/17/2006"|if not %errorlevel%==0 echo
%computername% FAILED>>c:\results.txt

... or maybe do an FC to compare that file to a file on a central server
file share, such as

fc /B c:\dir\jscript.dll \\server\share\dir\jscript.dll|if not
%errorlevel%==0 echo %computername% FAILED>>c:\results.txt

There are probably better ways to do this that can more intelligently look
at the timestamp and/or version number and do a "greater than" comparison.