Solved

SCCM 2012 Run a batch from a package

Posted on 2014-04-30
5
489 Views
Last Modified: 2014-05-19
The package pushes to the target boxes but the batch never executes. I have even added the cmd.exe /c filename.bat to the program command line but still nothing.
What am I missing?

Please help

Kry
0
Comment
Question by:kryanC
[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
5 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 250 total points
ID: 40033925
What is the batch script doing, can you give any details on the file.
It might be an issue with the file itself why it seems it is not executing.


Here is a quick how-to on deploying bat files using SCCM
(in the event you may have missed a step)
0
 
LVL 24

Expert Comment

by:Nagendra Pratap Singh
ID: 40033947
Post your execmgr.log here as an attachment
0
 

Author Comment

by:kryanC
ID: 40034354
All I am doing is pushing Reg file with SCCM and use a .bat to call the reg file. I first attempted with regedit.exe /s file.reg but that would not execute so I built a batch. I thought the batch would run automatically but it didn't so I added the cmd.exe /c file.bat.
All of the programs download and see them in the CCMCache but they never execute. They then report successful in SCCM.

I hope this explains it better.

Kry
0
 
LVL 31

Assisted Solution

by:merowinger
merowinger earned 250 total points
ID: 40041651
Whats listed in execmgr.log?
Can you post the Batch File Content?
0
 

Author Comment

by:kryanC
ID: 40075782
had to work around with using GPO. Not a great solution but had work to be done. Thanks to all who tried to help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

688 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