Solved

Cannot Run Program through SCCM

Posted on 2010-11-16
12
2,341 Views
Last Modified: 2013-11-21
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
0
Comment
Question by:starcontroller
  • 6
  • 5
12 Comments
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34148178
Is the file and the vbscript both in the package folder?
0
 

Author Comment

by:starcontroller
ID: 34148330
Yes.  It's all located in one folder.
0
 
LVL 3

Expert Comment

by:JoeVS
ID: 34148765
Have you verified that its actually ARRIVING at the local DP?
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:starcontroller
ID: 34148909
Yes.  Everything is downloaded the Cache folder in CCM.  If I run the script manually through elevated command prompt, it installs without any issues.
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34148932
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.
0
 

Author Comment

by:starcontroller
ID: 34149100
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.
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34149140
Do you have the program/vbscript set to run under the admin context in the advertisement?
0
 

Author Comment

by:starcontroller
ID: 34149290
Yes.  I have attached a screenshot. SCCM Screenshot
0
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 500 total points
ID: 34149332
Thats not what I was talking about but that did bring up a few points.

1. Do you have the program set to run locally?
 1
2. Run with admin rights selected?
 2
3. As a last resort try removing the section in start in.
0
 

Author Comment

by:starcontroller
ID: 34149764
Thanks.  After checking the above which xxdcmast recommended and changing the start in field to blank.  It installed successfully. Install Config
0
 

Author Closing Comment

by:starcontroller
ID: 34149769
Thanks
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34149784
Glad to help
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

785 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