Avatar of starcontroller
starcontroller
Flag for Canada asked on

Cannot Run Program through SCCM

I'm trying to push an application through SCCM.  It downloads files to a Cache folder and runs a vbscript that performs the install and deletes some shortcuts.

However, we updated one program and we keep getting an error that the requested software cannot be located.  This happens after we update the dictribution points and wait 15 minutes.  I check C:\Windows\System32\CCM\Cache and a new folder is made containing the install.  If I run the script manually, it installs successfully.

Whenever I run it, I get this below error.

How can this be resolved?

Thanks.
2010-11-16-1306.png
Microsoft Server OSWindows Server 2008Application Servers

Avatar of undefined
Last Comment
Joseph Daly

8/22/2022 - Mon
Joseph Daly

Is the file and the vbscript both in the package folder?
starcontroller

ASKER
Yes.  It's all located in one folder.
JoeVS

Have you verified that its actually ARRIVING at the local DP?
Your help has saved me hundreds of hours of internet surfing.
fblack61
starcontroller

ASKER
Yes.  Everything is downloaded the Cache folder in CCM.  If I run the script manually through elevated command prompt, it installs without any issues.
Joseph Daly

By any chance have you tried creating a new program from scratch with these install and VBS file in it to rule out issues with the one you modified?

How about deleting the already downloaded files from the cache and then re-running the advert. Youll probably need to do the re-run a few times to have it pick up as the first time it will give you an error/failure.

I would suggest creating the new package first.
starcontroller

ASKER
Yes, I have tried deleting the folders from cache.  It does download again after a while and the when I let it run automatically, nothing is done and no events are logged into the event viewer.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Joseph Daly

Do you have the program/vbscript set to run under the admin context in the advertisement?
starcontroller

ASKER
Yes.  I have attached a screenshot. SCCM Screenshot
ASKER CERTIFIED SOLUTION
Joseph Daly

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
starcontroller

ASKER
Thanks.  After checking the above which xxdcmast recommended and changing the start in field to blank.  It installed successfully. Install Config
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
starcontroller

ASKER
Thanks
Joseph Daly

Glad to help