Solved

SCCM 2012 Run a batch from a package

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

773 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