cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shad
Engaged Sweeper
Hi!

Little confusion about this Lspush GPO.


I am placing the Lspush in netlogin folder on my dc.

\\Com.net\netlogin\lspush.exe


the vbscript is:

Set WshShell = CreateObject("Wscript.Shell")
WshShell.run "\\Com.net\netlogin\lspush.exe lansweeperserver",0

where lansweeperserver is my server that is running with lansweeper.

My script is right ??

Thanks in adnvance.
4 REPLIES 4
shad
Engaged Sweeper
Thanks for your reply.

Sorry typo mistake with netlogin.

Yes i can run the command below and i can see that in processes but it was not reporting to lansweeper server

\\Com.net\netlogon\lspush.exe lansweeperserver


When i run the command from command line

\\Com.net\netlogon\lspush.exe lansweeperserver /showresult

I saw connection succeeded and now I can see in lansweeper console this computer is reporting to server.

Which option i should go for in my vbscript?
Hemoco
Lansweeper Alumni
shad wrote:
Yes i can run the command below and i can see that in processes but it was not reporting to lansweeper server

\\Com.net\netlogon\lspush.exe lansweeperserver


When i run the command from command line

\\Com.net\netlogon\lspush.exe lansweeperserver /showresult

I saw connection succeeded and now I can see in lansweeper console this computer is reporting to server.


The only difference between these two commands is that the addition of "/showresult" will give you some feedback as to whether or not the connection succeeded. They work exactly the same however.
Hemoco
Lansweeper Alumni
Should be "netlogon" instead of "netlogin"

Are you able to run this line manually?
\\Com.net\netlogon\lspush.exe lansweeperserver
shad
Engaged Sweeper
Anyone can help me with this?

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now