
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2014 10:27 AM
Hello,
I have a problem.
We let the LSpush.exe run by script when a user logs on to the PC . Here we have the problem that the PC will be locked for about 30 seconds and has a black screen .
Is this normal ?
We have only the problem , when they run by script.
Let's start it directly everything works fine.
I hope you can help me.
bye Tina
I have a problem.
We let the LSpush.exe run by script when a user logs on to the PC . Here we have the problem that the PC will be locked for about 30 seconds and has a black screen .
Is this normal ?
We have only the problem , when they run by script.
Let's start it directly everything works fine.
I hope you can help me.
bye Tina
Solved! Go to Solution.
Labels:
- Labels:
-
General Discussion
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2014 12:48 PM
I suggest running lspush asynchronous on startup, this way it won't affect the users.
Sample script:
CALL "%logonserver%\netlogon\lspush.exe" lansweeperserver
Sample script:
CALL "%logonserver%\netlogon\lspush.exe" lansweeperserver
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2015 10:49 AM
i do it like that
tasklist | findstr lspush.exe
IF %ERRORLEVEL% EQU 0 goto end
\\server\software\tools\lspush lansweeperserver
:end
exit

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2014 06:07 PM
The copy will always run synchronous which might explain the delay.
Also this line should end with "false"
OBJRUN.Run """c:\users\public\lansw\lspush.exe"" /folder \\srvaw1\import$""",1,false
Also this line should end with "false"
OBJRUN.Run """c:\users\public\lansw\lspush.exe"" /folder \\srvaw1\import$""",1,false

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2014 01:28 PM
we have created the following VBscribt , which is in the Netlogon folder .
Set OBJFSO = CreateObject("Scripting.FileSystemObject")
if not OBJFSO.FolderExists("c:\users\public\lansw") then
OBJFSO.CreateFolder("c:\users\public\lansw")
OBJFSO.COPYFILE "\\srvaw1\import$\lspush.exe" , "C:\Users\Public\lansw\lspush.exe" , True
end if
Set OBJRUN = WScript.CreateObject("WScript.Shell")
OBJRUN.Run """c:\users\public\lansw\lspush.exe"" /folder \\srvaw1\import$""",1,True
Set OBJFSO = CreateObject("Scripting.FileSystemObject")
if not OBJFSO.FolderExists("c:\users\public\lansw") then
OBJFSO.CreateFolder("c:\users\public\lansw")
OBJFSO.COPYFILE "\\srvaw1\import$\lspush.exe" , "C:\Users\Public\lansw\lspush.exe" , True
end if
Set OBJRUN = WScript.CreateObject("WScript.Shell")
OBJRUN.Run """c:\users\public\lansw\lspush.exe"" /folder \\srvaw1\import$""",1,True

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2014 12:48 PM
I suggest running lspush asynchronous on startup, this way it won't affect the users.
Sample script:
CALL "%logonserver%\netlogon\lspush.exe" lansweeperserver
Sample script:
CALL "%logonserver%\netlogon\lspush.exe" lansweeperserver
