Click here to Skip to main content
15,883,901 members
Articles / Programming Languages / VBScript
Article

Tim's Domain Software Audit

Rate me:
Please Sign up or sign in to vote.
1.00/5 (2 votes)
25 Oct 20071 min read 31.8K   482   11   5
Audit all installed software in your domain.

Introduction

This is a simple script to audit the installed software in a domain. It lists the computer name, user, and all installed software. Use is simple, requiring only a modification to the LDAP query string. Output is commonly redirected to a file.

I wrote this script because I was tired of not being able to effectively audit who is running what software in my domain. While there are other methods of performing the functions provided here, I didn't find anything that would do it all at one time.

I collected most of this script from the various posts in the Usenet. Thanks to everyone who posted their code to begin with.

---------------------------

I have made the requested revision to dump output to a file.The default path for the saved audit is C:\TimSoftwareAudit.txt, but can be edited by changing the path in the included VBS code.

Please note that the oContainer item with the LDAP query does not need to point to the root of the domain. I use this script frequently on specific OUs. The easiest way to do determine the LDAP syntax is to use an LDAP browser, such as adsiedit from Microsoft. Simply copy and paste in the distinguishedName attribute.

If you have any questions, please feel free to contact me.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralLogging to a file Pin
MArrington24-Jan-07 10:15
MArrington24-Jan-07 10:15 
Great job of collecting the data but it would be much easier to log it to a text file. I've modified the original and if anyone is interested, I can post it up.

Mike

GeneralRe: Logging to a file Pin
JSantaMaria16-Mar-07 11:49
JSantaMaria16-Mar-07 11:49 
GeneralRe: Logging to a file Pin
MArrington17-Mar-07 17:29
MArrington17-Mar-07 17:29 
QuestionRe: Logging to a file Pin
JayTalbot23-Mar-07 1:32
JayTalbot23-Mar-07 1:32 
GeneralRe: Logging to a file Pin
MikeHall196726-Apr-07 23:48
MikeHall196726-Apr-07 23:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.