1 of 1 people found this helpful
Maybe you can use batch file to do what you want, and use it by Software distribution.
For example :
You put your file on a UNC, and deploy a batch file who can copy on the desktop with using DOS commands.
I have tried already but after copy all the related file to client side C:\program files\LANDesk\LDClient\sdmcache\, the batch have not run automatically.
I don't know why?
You need to be careful that when you try to copy a file using LANDesk, it is normally running under the context of LocalSystem so won't know about the user desktop. Try targeting AllUsers instead.
LANDesk Silver ESP
The One-Stop Shop for LANDesk Enhancements
Thanks for your info,
I just know about the LocalSystem won't know about the User Desktop,
After I change the %ALLUSERSPROFILE% replaced with %USERPROFILE%, the files can be copied to all user desktop BUT,
The result status appear "Failed" Error code is "1".
Do you know why?
How have you do for running the batch automatically ?
I try to reproduce the test with a batch file but it don't work.
Please post your batchfile, it will be a lot easier to troubleshoot if we know *what* to troubleshoot
The problem is solved,
LocalSystem should handle ALLUSERSPROFILE only so that I can't be able to copy the file to user desktop.
Actually the batch is so simple, let see below:
xcopy PROGRAM.exe "%ALLUSERSPROFILE%\Desktop" /y