frankjbyrne Posted March 6, 2013 Report Share Posted March 6, 2013 We have a large number of mobile users with laptops. While the machines are added to the domain, they invariably log in locally and occasionally via Cisco VPN. Any suggestions on how we can automatically audit these machines and get the information back to TNI? Thanks Frank Quote Link to comment
Support Posted March 6, 2013 Report Share Posted March 6, 2013 I suggest to use domain logon script scan: https://docs.softinventive.com/tni/user-manual/scanning-using-agents/logon-script-scan/ Quote Link to comment
wojtkowski@gmail.com Posted March 14, 2013 Report Share Posted March 14, 2013 I suggest script: script scann computer, and sending to your mail :) you need 7zip - portable sendmail and google account :) add this to logon script :) or shelude task :) @echo off ping -n 1 google.com | find "TTL" if not errorlevel 1 goto OK goto BRAK :OK @Echo on @Echo SCAN Waiting..... @Echo off start tniwinagent.exe /scripted /path:"C:\tni" goto TNI :TNI ping -n 10 127.0.0.1 > nul if exist "C:\tni\*.inv" goto DALEJ goto TNI :DALEJ "7z.exe" a -r "C:\tni\dane.zip" C:\tni\*.inv -mx0 ping -n 2 127.0.0.1 > nul SendEmail.exe -f frommail@gmail.com -t tomail@gmail.com -u "TNI %computername%" -m "text" -a "c:\tni\dane.zip" -s smtp.gmail.com:587 -xu userr@gmail.com -xp passsword -o tls=yes del c:\tni\*.inv /q del c:\tni\dane.zip /q @Echo on @Echo SCAN OK @Echo off ping -n 5 127.0.0.1 > nul goto END :BRAK @Echo on @Echo Connection error @Echo off ping -n 5 127.0.0.1 > nul :END exit Quote Link to comment
Support Posted May 21, 2013 Report Share Posted May 21, 2013 Nice addition, thank you. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.