I have a repository of all patches that have been downloaded for Windows XP, Windows Vista and Windows 7. I am working on Windows Servers 2003 and 2008.
I am looking for the following either through a VBScript or Batch File:
1. Look/search the computer to see what patches are installed
2. After it searches the computer to see what patches are installed and missing, it will automatically install the missing patch
You'd have to pay someone to write that code, it will be pretty large, especially since patches change all the time. You need to compare each patch with the OS it's for, find out if there are new ones, just a whole bunch of stuff. How do you know if a reboot is needed after a patch or not? How will that be handled in the script?
If you want all patches to be installed, just enable automatic updates on the computers.