Jump to content

jdavis

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by jdavis

  1. Before, with TNi(1?), We had a script/Login script setup and it ran perfectly, most of it was generated from TNi itself, some came from support, but all integrated nicely with our main logon script, it worked fine, but we had endless problems with the process staying alive until the machine had been switched off. But with TNi2, it doesnt appear to be as easy, i used the function to create it, set it all up how is needed, and generated the files, but it only gave me the new auditagent.exe no other files or script or anything, even when shown where the login scripts are, so i applied my common sense and re-used the script we had for the last one, all worked fine but had to grab the tniaudit.ini file from the old and drag it to the correct folder. Although the data files are not being pushed into the right location, its dumping in where the agent is held, anyone know why? if InStr(strOS, "Server") = 0 then Set wshShell = WScript.CreateObject("WScript.shell") wshShell.Run """\\ris-server\c$\TNI\Logon\TNi2\tniwinagent.exe""" & "/scripted" & "/path:"\\ris-server\c$\TNI\Data" Set wshShell = nothing That is the code i tried (with the implied new wizard of login script) but didnt work so i had to use this: if InStr(strOS, "Server") = 0 then Set wshShell = WScript.CreateObject("WScript.shell") wshShell.Run """\\ris-server\c$\TNI\Logon\TNi2\tniwinagent.exe""" & "/scripted" Set wshShell = nothing Which works, and picks up the tniaudit.ini (which is i presume is the only thing telling where to dump the data files), but not going in the right place...any ideas? Thanks
×
×
  • Create New...