Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open a command prompt and run the script with cscript audit_windows.vbs. Do not double click the script to run it as this will use wscript instead of cscript and spawn many popup windows.

It should run and post the result to the database. Go back to your web browser and load Open-AudIT. You should have a group or two created. Go into one of them and click the machine name. You should see the machine details.

NOTE - To prevent any output to the command window you can set debugging = "0" and run the script with cscript //nologo audit_windows.vbs .

...

Not every Windows computer will be a simple domain connected machine. Sometimes you may have a server in a DMZ with no network connectivity to the internal network, a machine not on a domain, a standalone machine not networked at all, etc. There are various options to overcome these. 

...

An XML file named COMPUTERNAME_DATE.xml should be created. Close the terminal window. Remove the USB disk and go to a computer with Open-AudIT connectivity. Open the XML file and copy the XML and paste into http://YOUR_SERVER/index.php/system or log in to the Open-AudIT web application and go to menu -> Admin -> Devices -> Add a Computer (using an audit result).

 

Computer not on the domain.

...

You may need to substitute the string "workgroup" or the remote computer name for REMOTE_DOMAIN above.

...