Rank: Freeware user Groups: Member
Joined: 10/8/2008 Posts: 8 Location: Scotland
|
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?
|
Rank: Freeware user Groups: Member
Joined: 10/8/2008 Posts: 8 Location: Scotland
|
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.
|
Rank: Freeware user Groups: Member
Joined: 10/7/2008 Posts: 6
|
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.aspxThank you very much!
|