Solved

Run commands in a Task Sequence

Posted on 2013-11-07
4
391 Views
Last Modified: 2014-01-25
Hi All,

I am trying to deploy a Windows 7 image to a number of desktops using an OSD Task Sequence. At the end of the Task Sequence after  where it says Install Applications, I have listed a number of packages and run commands but they all fail.

Example Run command 1:

CMD.exe /c /xcopy "\\servername\share\*"  "C:\public\desktop\"

Example Run command 2:

msiexec.exe /I "\\servername\share\msxlparser.msi" /qn

Failing on MDT 2012 & SCCM 2012 SP1.

Note:

On SCCM 2012 I am not installing the Configuration Client as the customer does not want that installed in the image

Is it because of the WinPE environment??

Driving me crazy!!!
Afternoonan
0
Comment
Question by:afternoonan
  • 3
4 Comments
 

Author Comment

by:afternoonan
Comment Utility
Just an added bit of information the workstations are not joined the Domain but in a WorkGroup.
0
 
LVL 31

Expert Comment

by:merowinger
Comment Utility
Can you take all the files you're copying into a SCCM package and run the command line within the package? The account running the Actions may has no privileges to the file share,
0
 

Accepted Solution

by:
afternoonan earned 0 total points
Comment Utility
Hi All,

Sorted this by copying the files to the local C: drive and then ran the scripts like a dream.

Afternoonan
0
 

Author Closing Comment

by:afternoonan
Comment Utility
Found that copying to local C: drive everything worked. No one else came back with that answer.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now