cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jlanders
Engaged Sweeper
I am running a vbs script for my login script. I have the the script running however I get a popup indicating LSClient is unsigned. Does anyone know of a way to run this silent so that the users do not see a popup dialog?

Here is the script code line:



Set WshNetwork = WScript.CreateObject("WScript.Network")
Set WshShell = WScript.CreateObject("WScript.Shell")
Set WshProcessEnvironment = WshShell.Environment("Process")

'''''''' LoginServer Var
LogonServer = WshProcessEnvironment("LogonServer")

WshShell.Run chr(34) & LogonServer & "\netlogon\lsclient.exe " & chr(34) & chr(34) & "10.0.0.17" & chr(34)



5 REPLIES 5
Hemoco
Lansweeper Alumni
just a guess : Add your local active directory domain ("mydomain.local") to the list of trusted sites in internet explorer.
jlanders
Engaged Sweeper
This occurs on both vista and XP.
Hemoco
Lansweeper Alumni
is this on vista or xp?
jlanders
Engaged Sweeper
I tried that line. I still get a dialog box indicating "The publisher could not be varified. Are you sure you want to run this software?"
Hemoco
Lansweeper Alumni

'*** lansweeper
if isworkstation then
WshShell.run logonserver &"\netlogon\lsclient.exe server",0
'",0" = windows is hidden
end if

New to Lansweeper?

Try Lansweeper For Free

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

Try Now