Solved

Batch File Creation: MS Security Patch Check / Software Audit Check

Posted on 2006-07-19
2
495 Views
Last Modified: 2012-05-05

Hi,

Would like assistance in the creation of 2 batch files:

1. A batch to check that all PC's on the network are covered by MS Security Patches & which patches or a way for me to add the specific MS Patch numbers and workstation names and output if the workstations are patched.

2. A batch to check all PC's for specific software titles. ie. to conduct a license check.

Thanks in advance
0
Comment
Question by:Jeffit
2 Comments
 
LVL 14

Accepted Solution

by:
cwwkie earned 500 total points
ID: 17140035
For the security patches you should use the MBSA (Microsoft Baseline Security Analyzer)
running "hfnetchk –z –v" will show you what is missing.

for the software titles you need a way to recognise a certain software title. For example if a subdirectory in c:\program files exists, you can asume that that particular software is installed. But that is not fool-proof.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now