Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Apr 19, 2024 10:02 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 20 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Fri Feb 22, 2013 6:40 am 
Offline
Newbie

Joined: Tue Jul 24, 2012 4:08 am
Posts: 12
I had the same problem, and the second post in this thread contains the fixed version, which was as you suggest to change the loop.
It looks like Mark included the first version in the Beta.


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 22, 2013 7:13 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Great. That's what I get for not paying attention. Hopefully Mark will notice and get this in 1.0.


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 26, 2013 3:46 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Yep - done.

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 06, 2013 2:18 am 
Offline
Contributor

Joined: Wed Apr 07, 2010 8:04 am
Posts: 105
Location: Boston, MA
I run the script with a GPO both at startup and login, but I'm not entirely sure how the GPO performs the scripts. Does it make a copy to the client and runs it from there or runs the script from the DC? Where should the SQLite.exe go?

_________________
Old OA Setup: 500 Windows 7 workstations & 200 Apple OSX with OA v1.5.2 on Windows Server 2003 and WAMP 2
New OA Setup: 100 Windows servers with OA 2.2 on Windows Server 2016 and WAMP 3


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 06, 2013 3:26 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
If all you've got in the GPO is "cscript \\pathto\audit.vbs" I'm pretty sure it will run out of %SystemRoot% (C:\Windows). So the sqlite stuff in the script won't work for you unless you've got the sqlite binary in the path of your target workstations or in C:\Windows. Since you probably don't want to do that you could make the sqlite binary available on a share and put that path in the script.

You could hard code your chosen path at line 4799 and 4811 in the v16 script. You'd change "sqlite3.exe" to "\\pathto\sqlite3.exe".

Or the script previously had a way to set the path. You could comment remove the comment on line 4798 and add one to 4799. Remove the comment on line 4809 and add it back to 4811. Then somewhere in the variable definition stuff at the start of the script add "sScriptPath = \\pathtosqlitefolder\". Then test it and make sure it works.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group