Solved

Run commands in a Task Sequence

Posted on 2013-11-07
4
401 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
ID: 39632394
Just an added bit of information the workstations are not joined the Domain but in a WorkGroup.
0
 
LVL 31

Expert Comment

by:merowinger
ID: 39650453
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
ID: 39794907
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
ID: 39808441
Found that copying to local C: drive everything worked. No one else came back with that answer.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSIS CSV conversion to Pipe Flat File 6 634
Recover mailbox database Exchange 2010 4 87
how can i remove Windows 10 cortana search bar via GPO 25 771
SCCM Microsoft Report 2 79
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…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 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