question

ThomasFaherty-0316 avatar image
0 Votes"
ThomasFaherty-0316 asked ·

SCCM Software Center - How to reset or cancel an application download

Hello,

We had some applications stuck at 0% downloading and as we make changes I would like to stop these and restart them to see if the issue is fixed but I am not totally sure if just restarting something like the ccmexe service would do that or not?

Basically I found the palo alto was not liking the way the apps were downloading but as we make changes to the palo alto I need to test if it fixed it or not but just staring at it hoping that it will just eventually go doesn't feel very satisfying.

mem-cm-application
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FionaYan-MSFT avatar image
1 Vote"
FionaYan-MSFT answered ·

@ThomasFaherty-0316

Thank you very much for the update and sharing the solution here. I believe this should be useful for someone who has similar issue in the future. Here's a short summary for the problem.

Problem/Symptom:


some applications stuck at 0% downloading in software center and want to reset the app status in software center.

Possible Cause:


The status of our app pending and so on.

Solution:


Run the WMIC command reset our sc status.

Reference Links:


https://docs.microsoft.com/en-us/answers/questions/123991/sccm-software-center-how-to-reset-or-cancel-an-app.html

Have a nice day!


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FionaYan-MSFT avatar image
0 Votes"
FionaYan-MSFT answered ·

@ThomasFaherty-0316

Thank you for posting in Microsoft Q&A forum.

To achieve our goal, maybe we could try the following step:
1. We may need to remove our failed deployment from our CM console.
2. We could distribute the changed app to our DP, and then deploy this changed application to our client.
3. To speed up getting the new status, we could refresh the application Deployment Evaluation Cycle and the Machine Policy Retrieval & Evaluation Cycle on our client.



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ThomasFaherty-0316 avatar image
0 Votes"
ThomasFaherty-0316 answered ·

The app isn't failed. It works perfectly on all machines except one environment where the Firewall is different. In this case I get a 416 error When researching I found people were saying the Palo Alto is getting an error dealing with the packet header range. They said if this is the case you will see it in wireshark. So I ran wireshark and I see the palo alto is the one responding with the 416 instead of the server like it should. So that proved it is the palo alto. So now as I make adjustments to the palo alto I would like to test without having to wait a ton of time or deleting the deployment bringing it down for everyone else when it works. The issue is not the deployment at all so I don't find that reasonable. I just want to reset the app in software center so it goes from being stuck at installing back to where I click the install button. Anything done should be local not a SCCM change.

· 2 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ThomasFaherty-0316

Could we use the following WMIC command to reset the state of our software center to have a try? And then we refresh our the application Deployment Evaluation Cycle and the Machine Policy Retrieval & Evaluation Cycle on our client again to see if it is ok.
WMIC /Namespace:\\root\ccm path SMS_Client CALL ResetPolicy 1 /NOINTERACTIVE

Look forward to your further good news!

1 Vote 1 ·

@ThomasFaherty-0316

May we know the current status of the question? If there is any other assistance we can provide, please feel free to let us know, we will do our best to help you.

0 Votes 0 ·
ThomasFaherty-0316 avatar image
1 Vote"
ThomasFaherty-0316 answered ·

FionaYan that worked

"WMIC /Namespace:\\root\ccm path SMS_Client CALL ResetPolicy 1 /NOINTERACTIVE"

I also reset the SMS Agent Host service too add to this solution.

Thank you! I don't see where I can accept that as the answer though for some reason.

· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can you post that as a separate response that might fix this so I can mark it.

0 Votes 0 ·