cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
John_Kennedy
Engaged Sweeper
Getting Windows Script Host error:

server\scripts\logon\startup.vbs
Line: 1
Char: 2
Error: The system cannot find the file specified.
Code: 80070002
Source: (null)

File is on the server and All windows 7 clients are working.
Any help pointing me in the right direction would be very thankful.
2 REPLIES 2
John_Kennedy
Engaged Sweeper
This is the script for startup.vbs

Set WshShell = CreateObject("WScript.Shell")
WshShell.run "\\servername\netlogon\LSclient.exe lansweeperserver 9524",0

it work for everything but windows 10
Bruce_B
Lansweeper Alumni
I'm assuming you've currently got a logonscript set up to scan using the LsPush scanning agent upon user logon. I can't see the contents of your script but the error seems to indicate that a file being referenced in the script is missing, not the script itself. Do note that we can only provide limited support in troubleshooting issues with scripts though.

New to Lansweeper?

Try Lansweeper For Free

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

Try Now