
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2008 06:26 PM
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?
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2008 06:05 PM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2008 05:55 PM
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2008 08:51 PM
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.
If so you can start the lsclient asynchronous in the background while the rest of your script continues.
