→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shamus
Engaged Sweeper
Hello all, have started using lansweeper and it is amazing, was using spiceworks before and was just having far too many issues with it, although I am having a problem getting my client pc's to run a vbs to execute the lsclient.exe

I have tried a few different ways to get it to run.

I have a kix script that runs when a user logs in so I added in a line:

RUN '%logonserver%\netlogon\lsclient.exe' myserver

But this did nothing so I created a .vbs:

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "%logonserver%\netlogon\lsclient.exe myserver",0
'",0" = windows is hidden

and added shell 'wscript.exe lsclient.vbs' to my kix script, but again nothing.

I have also tried this with pc startup script rather than the users logon script and again nothing. If I log onto a pc and run the .vbs from the desktop I can then see the pc in the lansweeper dashboard.

Does anyone have any idea why this would not be working?
2 REPLIES 2
argie01
Engaged Sweeper
Hi Shamus,

I understand you have deployed the agent using gpo without problem, right?
So, may be you could help me with my problem to do it:

http://forum.lansweeper.com/yaf_postst760_problem-deploying-lansweeper-using-gpo.aspx

Thank you very much!
shamus
Engaged Sweeper
Got it sorted now:

SHELL @LSERVER+"\NETLOGON\lsclient.exe myserver"

Tested it in a different OU which worked, something weird with the OU I originally tested it in I think.