Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Tim's Domain Software Audit

0.00/5 (No votes)
25 Oct 2007 1  
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