That screen shot doesn't show that anything is running with NOUI, additionally it looks to be running from within a vbscript. That is not a locally scheduled scan, nor a scan being done by being typed into the command line.
Where is that scan coming from?
The DOS box was caused by a cscript command in the LDSCNHLP.INI file. Changed to wscript and the DOS box no longer appears during a scheduled scan (thanks to LANDesk Support!). We tried cscript.exe //nologo and cscript.exe //B but both show the DOS box when executed so we'll stick with wscript which seems to work fine for our needs.
We've tried to xcopy a file in the custom script, we get "done - no error" but the file is not copied. Here's is the custom script:-
REMEXEC01=xcopy /Q /R /Y "\\server\share\FindPSTs\FindPST.vbs" "C:\Program Files\LANDesk\LDClient"
I have tried with and without quotes, without the xcopy switches but makes no difference. How can we xcopy files using a custom script?
Can you help please?
OK, so you are implementing 3rd party changes? That explains a lot. By default that file only shows the location of a data file. It shouldn't attempt to execute anything, especially not something through vbscript.
Can you try your copy custom script by doing a REMCOPY instead of REMEXEC command? You should be able to simply copy the file down in that way without attempting to map a drive/execute a move command.
This document should help:
I tried to access the link you posted (http://community.landesk.com/support/docs/DOC-9098) but my account doesn't appear to have the necessary access to this document:-
"It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake".
Can you or anyone else post a copy of the document please?
How to use REMCOPY in a custom script.
When using REMCOPY, you must give three pieces of information:
1 - Localpath: This is a path to the file from the core's perspective
2 - Remotepath: This is a path to the file from the perspective of the machine that the script will be targeting
3 - Direction: This determines whether the file is copied from the remote location, or to the local location (Possible options: FROMREMOTE, or TOREMOTE)
REMCOPY0=E:\BACKUP\XPCOMPUTER05\File.exe, C:\Folder1\Folder2\File.exe, FROMREMOTE (This would copy File.exe from C:\Folder1\Folder2\ on the target computer to E:\BACKUP\XPCOMPUTER05\ on the core server)
REMCOPY0=\\servername\share\folder1\filename, c:\folder1\folder2\folder3\filename, TOREMOTE (This sample will copy a file from the server to a WS)
Thanks for the info and swift response.
I tried the following custom script:-
REMCOPY0=\\server\share\FindPSTs\FindPST.vbs, "C:\Program Files\LANDesk\LDClient\", TOREMOTE
REMCOPY1=\\server\share\FindPSTs\LDSCNHLP.INI", "C:\Program Files\LANDesk\LDClient\", TOREMOTE
...but get an error on the core server "Could not copy to/from client" and the logfile reads:-"Machine","CbaStatus","ExitCode","Duration","Begin","End","Command""LAP1280","ERR_Fail",0,0:00:01,26/04/2010 23:10:51,26/04/2010 23:10:52,"\\server\share\FindPSTs\FindPST.vbs, "C:\Program Files\LANDesk\LDClient\", TOREMOTE""LAP1280","ERR_Fail",0,0:00:00,26/04/2010 23:10:52,26/04/2010 23:10:52,"\\server\share\FindPSTs\LDSCNHLP.INI", "C:\Program Files\LANDesk\LDClient\", TOREMOTE"; "Job Complete","0 Done","1 Failed","0 Off","0 Unknown"I have removed the trailing back-slash from the target path and removed quotes from the target path but get the same error. The files are accessible on the server share.Any ideas where I'm going wrong please?
got it working using the following custom script:-[MACHINES]REMCOPY0=\\server\share\FindPSTs\FindPST.vbs, %LDMS_CLIENT_DIR%\FindPST.vbs, TOREMOTEREMCOPY1=\\server\share\FindPSTs\LDSCNHLP.INI, %LDMS_CLIENT_DIR%\LDSCNHLP.INI, TOREMOTEThanks for your help.Much appreciated!Scott