-----Original Message----- From: hugh s [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 12:18 PM To: [EMAIL PROTECTED] Subject: welch, rpc patch and verification
We ran around Monday killing this welch worm and installing an rpc patch from MS. No doubt we forgot a few. Is there a script I could write, run on the local machine, that would check for the patch? Machines are 2k, xp and nt. Thanks I don't need the thing written, just a few pointers on what to use would do, where to start. Thanks again __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Checkpatch.cmd @echo off if "%1"=="" echo Usage: %0 machine patchstring & goto :EOF if "%2"=="" echo Usage: %0 machine patchstring & goto :EOF reg query "\\%1\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates" /s 2>&1 |find /I "%2" |find /i "Description" if "%ERRORLEVEL%"=="0" ( echo %1 Patched with %2 ) else ( echo %1 Not Patched with %2 ) C:\Blast>checkpatch w105040 823980 Description REG_SZ Windows XP Hotfix - KB823980 w105040 Patched with 823980 Kevin Gould Sr. I/T Specialist Gentiva Health Services, Overland Park, KS 913-814-2369 _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
