Re: Executing the SCCM program automatically



Hi,
I am creating the package, program, advertisement and collections
using windows power shell script, but I am not getting some of the
properties to set through power shell( I want to persist the data in
cache, I want to make the program automatic and schedule the time).
How I will get all these properties. I searched the document I could
not able to find it. Any help is greatly appreciated...


SRISA




On Jun 5, 7:38 pm, Vlad00 <Vla...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Ok I'll try to offer a helping hand, although most of my knowledge is SMS not
SCCM (I am still testing with SCCM), and I try not to use wizards, they
confuse me. :)

"Mandatory Assignment" pretty much means exactly what you are trying to do.
So either the wizard didn't create it properly for you or the mandatory
assignment has expired.

Go to SCCM Console than to Site Database/Computer management/Software
Distribution/ Advertisements

Now find your advertisement and look at its properties.

Check out the second tab ("Schedule"), particularly "Mandatory Assignments:"
field.

If there is no mandatory assignment, create one by clicking on the yellow
"star" button above the box. Just select "assign immediately / as soon as
possible". Try that on a different client that has not already got (and
ignored) the first advertisement. That should execute the program on the
client with no need for user interaction. You can tweak the behavior further
by manipulating whether it should interact with users or not etc... You can
also make it available "independently of mandatory assignments" or not.
(users can run it themselves)  

(Obviously you will have to have the CMD/BAT file wrapped up in a
package/program, but I think you've already done that.)

Hope That helps...

Vlad.



"jaya1331j...@xxxxxxxxx" wrote:
Hi,

I have a requirement to push some .bat file to the client form the
server, which should be executed automatically.

I have created package, program and advertisement using distribute
software wizard, in that in assign program tab I have selected the
radio button “Yes, assign the program” I have provided the assign
after with date and time. But still once it is pushed to the clients
it is not automatically executed, one icon is been prompted at the
right bottom of the system and on clicking that “Run advertisement
program” window is opened with newly created program details. On
selecting the program and clicking on “RUN” button it is executed.

Is there any option provided to run the program automatically once it
reaches the client?
Because in our requirement only we have to push the .bat file from the
server and no one will be there to client and the required operation
has to happen automatically in the client end accordingly.

Any help is greatly appreciated...

SRISA- Hide quoted text -

- Show quoted text -

.