Jump to content

PC Audit Tool


FesterJester
 Share

Recommended Posts

For some reason, I am unable to post this into the script examples, so this looked like the next best place to post it.

 

Using some scripts made by others, much help from the AutoIT help resources, and Google searching, I have created a somewhat basic audit tool for Windows computers.

Much credit goes to Ian Maxwell (@llewxam)  and   @engine

 

Thank you both and please let me know if I have code from someone else that needs credit.

 

Anyway, on to the cool part.

This script will collect the following info and place it into a CSV file.

Each item is selectable using check boxes and output and execute buttons have visual feedback.

Computer name

Hardware Manufacturer

Hardware Model

Possible Hardware Serial Number

CPU Type, Speed, and Core Count

RAM and Swap

Local Hard Drives with Size and Free Space

Remote Network Drives with Size and Free Space

Network Connections with

     Hardware Device

     Name

     MAC Address

     DHCP or Static

     Domain

     IP Address

     Default Gateway

Local User Accounts (Minus Guest, Default, and HomeGroupUsers)

Operating System Version, Service Pack, Architecture, and Product Key

Microsoft Office Version and Product Key (Having trouble with 2010 and 2013 keys)

Installed Software with Description, Install Date, and Version

 

Suggestions, criticism, and improvements are welcome.

Thank you,

FesterJester

 

 

PC_Audit_Tool.au3

Edited by FesterJester
Moved to Examples
Link to comment
Share on other sites

1 hour ago, FesterJester said:

Suggestions, criticism, and improvements are welcome.

#include <LocalAccount.au3> ???

Edit: @FesterJester keep a reference in the code to the resources

#include <LocalAccount.au3> ; https://www.autoitscript.com/forum/topic/74118-local-account-udf/

 Thanks @iamtheky 

Edited by argumentum
better critic  =)

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

im trying to determine its usefulness though as I bounce it off my similar attempt from a few years ago

 

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

@argumentum

 

Thank you.

I did reference credit above that line, but have also added as you suggested.

I have updated the file and the first post.

 

@iamtheky

I did not run across your attempt during my development.

At a quick glance, I see yours requires PowerShell for some functionality and has more features reported than mine.

Do I have some code that was written by you by chance? I do not want to take credit for something I did not write.

Edited by FesterJester
Link to comment
Share on other sites

I have no concern if anything of mine was used. 

I was more hunting the UDF for optimizations I may have overlooked in mine.  They seem comparable, and in running mine again it needs some additional error checking.

And I think most of the powershell gets can be straight WMI calls. That effort was in the midst of a flurry of powershell posts I had around that time.

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...