Solved

Simple Question -  Deploy Script with SCCM

Posted on 2008-10-16
4
2,458 Views
Last Modified: 2013-11-21
Good afternoon, my question is simple

Can I use System Center Configuration Manager to deploy a script (. Cmd or. Bat) to the workstations / servers.

In the case that if you can, where do I do?

Thank you
0
Comment
Question by:thor_08
  • 2
4 Comments
 
LVL 8

Expert Comment

by:U_Mansson
ID: 22738193
You can do this by creating a packages which runs the .bat or .cmd file. You then advertise that package to a collection.
0
 
LVL 2

Author Comment

by:thor_08
ID: 22739740
Thanks for your response, a last question, as I check when they were going to assign the package (. Cmd). I need to be before a given day or hour, I can do that?

THX!
0
 
LVL 8

Assisted Solution

by:U_Mansson
U_Mansson earned 200 total points
ID: 22739799
You can do a mandatory assignment and schedule the installation. You do that on your advertisement - Schedule Page.
0
 
LVL 2

Accepted Solution

by:
Nate630 earned 300 total points
ID: 22753940
You can deploy a package/program that will do just about anything you do locally from the command line.  We often run .vbs and .bat files via SCCM.

You can also run just a command line (or a package w/out source files).  We have the command "gpupdate.exe /force" set up as a program.  Then we can kick off that program when ever necessary.

It might be good to note however, that it may be a better option to schedule a task locally on a server if you need to make sure a script is run at a certain time every day.  But, it's all dependent on your needs.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

21 Experts available now in Live!

Get 1:1 Help Now