Dear Jpa,
Below method for audit through workstation which connect to domain server.
Ok i try to configure the thing as below.
befrore that all the workstation will have Own user LOGIN ID / PASSWORD connect with the server domain.
Should I using the local adminstrator username and password to keyin to
this audit_windows script?since when trying run audit_windows script surely user will using their own LOGIN ID and PASSWORD to do their work. will this interrup the users? thanks =)
tart_time = Timer
' NOTE - Scheduled Tasks and Share Sizes can only be retrieved when running locally.
' below are the default settings
' default to localhost
strComputer = "."
' submit the audit to the OAv2 server
submit_online = "y"
' create an XML text file of the result in the current directory
create_file = "n"
' the address of the OAv2 server "submit" page
url = "http://191.168.0.2/index.php/system" <-- example this is my IP for one of the workstation uses to install OAV2 beta 9.2
' submit via a proxy (using the settings of the user running the script)
use_proxy = "n"
' the username (if not using the user running the script)
strUser = "administrator" <-- example
' the password (if not using the user running the script)
strPass = "abc" <-- example
' optional - assign any PCs audited to this Org - take the OrgId from OAv2 interface
org_id = ""
' optional - query this Active Directory attribute to determine the users work unit
' if attribute #1 produces nothing, then try attribute #2
windows_user_work_1 = "physicalDeliveryOfficeName"
windows_user_work_2 = "company"
' do not attempt to query mount points
skip_mount_point = "n"
' do not enumerate printers
skip_printer = "n"
' audit installed software
skip_software = "n"
' retrieve all DNS names
skip_dns = "n"
' if set then delete the audit script upon completion
' useful when starting the script on a remote machine and leaving no trace
self_delete = "n"
' 0 = no debug
' 1 = basic debug
' 2 = verbose debug
debugging = "2"
However my aduit_domain_windows
i had configure this line to :
' the name and path of the audit script to use
script_name = "c:\xampp\OAv2\other\audit_windows.vbs"
since my OaV2 9.2 in here the path.
it is correct?
2nd method to do audit workstation without connect to domain, just using cross network cable to plug in both pc
before i would like to know how it work.
I would like your help what should I configure
if I wan to using OAV2 9.2 pc remote to the other workstation pc .by plugin CROSS NETWORK CABLE. connect from this pc which install OVA2 9.2 to the workstation pc without OAV2 9.2 the ip which is 192.168.0.3
will this work for me?
what is the method to run the script and what to edit in the script. =) .After that how to get the results and report of the workstation pc, where to look at. your help is much appreciated thank you very much.
assume that my IP for the PC install OAV2 9.2 is 192.168.0.2
however the workstation pc i wan to audit them is 192.168.0.3
I Did try edit the audit_windows.VBS for the line as below:
' the address of the OAv2 server "submit" page
url = "http://192.168.0.2/index.php/system"
' submit the audit to the OAv2 server
submit_online = "y"
than i had type this command into run-> cscript audit_windows.VBS 192.168.0.3 than press ok.
i still had no luck to get the resutls from the connected workst ation pc specification.
by the ways where to look at the results, and i had try whole day still couldn't make it work, i did start apache and xamp server.
and log into
http://localhost/index.php/main/list_groups . still not able to work up