Solved

SCCM 2012 Run a batch from a package

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now