Systems Management Question

SCCM 2012 R2 Task Sequnce install .pkg then run a cmd

08/09/2018 366 views
So I am able to install a package Finale https://www.finalemusic.com/ wrapped in a Task Sequence, tested works.
Second line of this TS is to run the following cmd syntax as follows,  cmd.exe /c \\sccmserver\software\finale.txt "c:\Program Files\Finale" the file is a simple .txt file that the program uses for the in house License Manager server location

Having an issue that the cmd never runs or fails and does not copy the file to the local client in Program Files\Finale folder?

Any suggestions? 

Running the cmd at an elevated cmd prompt fails as an unknown cmd.

I am able to run the cmd successfully with robocopy at an elevated cmd prompt but not within the TS.
0 Comments   [ + ] Show comments


All Answers

Put the finale.txt in a package and copy from there.

The way you are doing is failing because SCCM uses local machine account to copy the file from a remote host where it does not have the permission. Of course you can run the copy command as a different user or use something like this

Map \\server\share as T:
copy from T:\files\file.ext  to c:\programfiles\folder

Answered 09/02/2018 by: nagendrasingh
Black Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ