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
Solved

SCCM 2012 Run a batch from a package

Posted on 2014-04-30
5
487 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
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 23

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
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 …

840 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