Link to home
Start Free TrialLog in
Avatar of PurplePenguin
PurplePenguinFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Logon script help please

I need to add %logonserver%\netlogon\lsclient.exe myserver to my logon script for Lansweeper to be able to scan machines on my network.  
What do I put in the %logonserver% part and myserver part as I am a little confused on what to do.

I would greatly appreciate any help with this as I have not done scripts before other than a couple of net use ones.

Thanks
SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PurplePenguin

ASKER

Yes that is the line but according to Lansweeper I need to add myserver on the end.

With Lansweeper you have it on one machine with the client exe on there and then run a logon script from the DC in GPO to allow lsclient.exe access to run on other machines so we can sweep the machines for software, blah, blah, etc.............

I am assuming that I need to put the name on the server that the lansweeper program is on in the myserver bit but am not sure.
Oh and is it ok to add this line to an existing logon script (our sbs logon script). #
Thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry here is the documentation - I am sounding vague, cos I am vague when it comes scripts so please bear with me :-)

We have Lansweeper on a machine called INEXNETMON and I want to add a line to the logon script on the DC in AD that can find the client.exe specified in the documentation.

It's probably best I let you look at the documentation and not say anything until you have, so not to sound like a complete prat!!! :o)
documentation.pdf
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you Steve, that is exactly what I wanted. You can have the most points. I know it seems obvious to you but I do not really know scripts and did not want to break anything. Anyway thank you again.
No problem, there are better ways of getting Lansweeer to run but I presume you just have the free version which I think is limited to working like this.  Another way MAY be though if you wished to run them from one machine using the tool "psexec" which you can use to remotely run a process on a different machine.   If you end up wanting it do it this way ask a related question using the link at the bottom of the Q and someone will pick i tup.

Steve