Hey!

I'm newer to K2000, but we've been asked to add in a wallpaper change to our deployment process. Obviously we could just do it manually after setting up AD for the first time, but I want to work towards streaming everything into one automated process.

This is what I've got thus far, and for some reason it's not working. Stating it isn't able to find the file listed, but everything looks right.

38giv6.png

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
Try this format for the parameter, let me know if it works, it should.  Did not have time to test, but xml looks formatted correctly.

"x:\windows\system32\xcopy /y acadimg0.jpg c:\windows\web\wallpaper\windows\img0.jpg"

<Task ID="448">
<Name>wallpaper error</Name>
<WorkingDirectory>Y:\applications\448</WorkingDirectory>
<CommandLine><![CDATA["x:\windows\system32\xcopy /y acadimg0.jpg c:\windows\web\wallpaper\windows\img0.jpg"]]></CommandLine>
<Parameters></Parameters>
<PostTaskAction>None</PostTaskAction>
<KACETaskType>Application</KACETaskType>
<FileType>Exe</FileType>
<Type>PO</Type>
<Guid>1570d566e4e23a</Guid>
</Task>

Answered 04/12/2016 by: SMal.tmcc
Red Belt

Please log in to comment

Answers

0
if you go look at that under xml view you will see why that fails.  The file it cannot find is xcopy

PwLKFf.jpeg

<Task ID="448">
<Name>wallpaper error</Name>
<WorkingDirectory>Y:\applications\448</WorkingDirectory>
<CommandLine><![CDATA["Y:\applications\448\xcopy" ]]></CommandLine>
<Parameters></Parameters>
<PostTaskAction>None</PostTaskAction>
<KACETaskType>Application</KACETaskType>
<FileType>Exe</FileType>
<Type>PO</Type>
<Guid>1570d543703a25</Guid>
</Task>

Answered 04/12/2016 by: SMal.tmcc
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity