Hi
I have TaskSequence which installs program and after that I need to copy .lnk file from StartMenu to All users\Desktop. Programm installation is successfull. But copy job fail.
My command line looks like this
for Windows7
copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Cisco\Desktop\agent.lnk" "C:\Users\Public\Desktop"
But when Sequence runs I got errors in console that File not found
"
The task sequence execution engine failed executing the action (Copy Shortcut 32bit W7) in the group () with the error code 2147942402Action output: [ smsswd.exe ]
PackageID = ''
BaseVar = '', ContinueOnError=''
ProgramName = 'copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Cisco\Desktop\agent.lnk" C:\Users\Public\Desktop'
SwdAction = '0001'
Working dir 'not set'
Executing command line: Run command line
CreateProcess failed. Code(0x80070002)
Command line execution failed (80070002)
Failed to execute command line 'copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Cisco\Desktop\agent.lnk" C:\Users\Public\Desktop' .
he system cannot find the file specified. (Error: 80070002; Source: Windows)
Install Software failed to run command line, hr=0x80070002. The operating system reported error 2147942402: The system cannot find the file specified.