SCCM Run Script not working

Trinadhchandra kola 46 Reputation points
2022-11-10T00:10:07.78+00:00

Hello All,

We use the SCCM Run Script feature to run a PowerShell script against computers and collections in real time for a long time. The last I knew it was working correctly but from a couple of days I found out it did not work.

The Script execution dialog runs forever with nothing happening. It is stuck at the "Creating Client Jobs" stage. On the target machine, nothing is logged in the scripts.log. it looks as though the server is not creating the job. I have Full Admin rights on the SCCM box.
258895-script-run.png
What am I missing? Is there any log on the server side that I can monitor?

Thank You.

Regards,
Trinadh Kola.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,382 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. CherryZhang-MSFT 6,481 Reputation points
    2022-12-05T01:58:16.13+00:00

    Hi @Rakesh Kumar ,
    Thanks very much for your feedback. I am glad that the question is fixed now. Here's a short summary for the problem, we believe this will help other users to search for useful information more quickly. It's appreciated that you could click "Accept Answer" to the reply. If there's anything else we can help in the future, feel free to post in our Q&A to discuss together.

    Problem/Symptom:
    SCCM Run Script not working.

    Solution/Workaround:
    Recreate SMS SSL certificate, the Script run is working fine in SCCM.

    Thanks again for your time! Have a nice day!

    Best regards,
    Cherry

    0 comments No comments

16 additional answers

Sort by: Newest
  1. Trinadhchandra kola 46 Reputation points
    2022-12-04T23:39:44.78+00:00

    Thanks a Ton @CherryZhang-MSFT for your long and Extend Support, After recreating new SMS SSL certificates Script run is working fine in SCCM.

    0 comments No comments

  2. CherryZhang-MSFT 6,481 Reputation points
    2022-11-29T08:25:52.693+00:00

    Hi @Trinadhchandra kola ,

    > (MP SSL is Enabled, signing certificate (store: My, hash EA4E0DAD73B610BC4A617E0B280B31A25CD2A447), encryption certificate (store: My, hash EA4E0DAD73B610BC4A617E0B280B31A25CD2A447)).

    1, In the places mentioned in the above two responses, you are using HTTPS, right? If so. In my experience, your environment may already have HTTPS enabled. Please help check the IIS Manager, if you don't have HTTPS configured, your configuration should look like this.
    265098-a.png

    265009-b.png

    2, Furthermore, can you find the hash EA4E0DAD73B610BC4A617E0B280B31A25CD2A447 certificate in following location?
    265151-c.png

    3, If your environment is already configured with HTTPS. You can troubleshoot based on this video:
    https://www.youtube.com/watch?v=nChKKM9APAQ
    Note: Microsoft provides third-party contact information to help you understand the problem. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

    Thank you for your time and patience!

    Best regards,
    Cherry

    0 comments No comments

  3. Trinadhchandra kola 46 Reputation points
    2022-11-28T23:25:34.12+00:00

    Hi @CherryZhang-MSFT

    I have tried the above option also, But Still no luck with the Jobs.

    Thank You.

    Regards,

    Trinadh Kola.

    0 comments No comments

  4. Trinadhchandra kola 46 Reputation points
    2022-11-24T01:45:31.783+00:00

    Hi Cherry,

    I have tried the above solution But still the same.

    Thank You,