Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DGoodwin
Engaged Sweeper
If we run the lsclient.exe <servername> in a batch file, whether it is in a login script or not, Is there a way to make the lsclient.exe timeout after a certain period. Reasoning is that if our server were to be down at all, we would not want our users login script to sit there for more than say 2 seconds. Any ideas?
3 REPLIES 3
Hemoco
Lansweeper Alumni
You can use this syntax in a bat file:

start cmd.exe /C "c:\lsclient.exe servername"

or better, move the lsclient part to a vbs file and run this from the bat file.
DGoodwin
Engaged Sweeper
No, we use the standard batch files. I am more curious if there is or could be a silent switch implemented into the lsclient.exe file. so we could use "lsclient.exe /s server". That way the end user would not have to see the screen wait for the client to start up. Sure we could use the start /wait option for windows, but that gets more tricky if there are windows 2000 clients in the mix. Any help is greatly appreciated.
Hemoco
Lansweeper Alumni
Do you use a vbscript for the startup script?
If so you can start the lsclient asynchronous in the background while the rest of your script continues.

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

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

Try Now