ibit
Posts: 13
Score: 0 Joined: 2/6/2008 Status: offline
|
Hi, I am trying to achieve a scenario in SMS 2003 that I have already implemented in SCCM 2007, which is to rerun a particular Advertisement on a schedule. This advertisement is targeted to a collection with a substantial amount of resources. What I have done so far is that I used the excellent “SMS Tools” addon for the SMS 2003 console and edited the “smssend.vbs” slightly with the hardcoded Advertisement ID (I don’t want a prompt) ... This works when I right click the Collection and use the ReRun Advertisement function from within the SMS console. However when I create a package/program to allow me to schedule the Rerun of the advertisement, using this command line taken from the registry : “C:\WINDOWS\system32\cscript.exe C:\WINDOWS\smssend.vbs RERUNADVERT ##SUB:collectionID## 2 ##SUB:__Server## ##SUB:__Namespace## //NoLogo” I get the following error: “Querying collection for membership... While trying to connect to WMI on \\ an error occurred. Error: -2147217375. Desc ription:” I have tried several variations of the above command, specifying the actual Collection ID rather than the variable etc, but to no avail. I am afraid I don’t have enough understanding in this area. I was wondering if someone else had already tried to do this and was more successful than me or if there is another way altogether to achieve the scheduled rerunning of Advertisements in SMS 2003 Any help or advice would be greatly appreciated. Thanks, iBiT.
|