Home | Download | Demo | Feature list | Premium users | Support | Knowledgebase
How to fix WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
The network path was not found - The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
How to configure Windows Vista clients.
How to configure the windows firewall using group policies.
   
Welcome Guest Search | Active Topics | Members | Log In | Register

Group Policy Scripts Options
shamus
Posted: Wednesday, October 08, 2008 2:04:50 PM
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?
shamus
Posted: Wednesday, October 08, 2008 4:05:12 PM
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.
argie01
Posted: Friday, October 10, 2008 2:49:31 PM
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.aspx

Thank you very much!
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.


Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.

   
Quick links: Download - Premium users - Support 
Copyright 2004 - 2008 © Geert Moernaut - Hemoco bvba - All rights reserved