?
Solved

Run commands in a Task Sequence

Posted on 2013-11-07
4
Medium Priority
?
419 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Back in July, I blogged about how Microsoft's new server pricing model, combined with the end of the Small Business Server package, would result in significant cost increases for many small businesses (see SBS End of Life: Microsoft Punishes Small B…
Introduction: Sometimes when I receive a call from my users to solve their problems it is very difficult for me to found their computer IP address. Even finding their computer Host to provide remote support can be a problem.  So I resorted to Goo…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

770 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