SCCM script got expired, how to rerun the script

Question

Hi Dear friends, I have deployed a PowerShell script via SCCM run Script,

I have deployed to 40 system but the script got succeeded only 16 and the script got expired, rest of the system shows Offline,

The script is not distributing again those are all in the failed state,

Could you please help me to solve this issue?

solved 0
Siva86 5 months 2 Answers 90 views Beginner 0

Answers ( 2 )

  1. Hi,

    SCCM Script feature is only applicable when the machines are connected with corp network and machine should be online and this will hit only one time on client side.

    You can create this script using package model approach in SCCM then deploy the script on all those machines. Now your issue will be addressed.

    Thanks
    Karthikeyan

  2. You can run scripts only to ONLINE devices and script will times-out in ONE hour.

    So the solution is to make all client ONLINE – How to make that happen –

    Please refer – https://www.anoopcnair.com/overview-client-online-status-sccm-console/

    LOGs related to SCCM ConfigMgr PowerShell script deployment- Please refer for more troubleshooting

    On the client, by default in C:WindowsCCMlogs:
    1. Scripts.log
    2. CcmMessaging.log

    On the MP, by default in C:SMS_CCMLogs:
    1.MP_RelayMsgMgr.log

    On the site server, by default in C:Program FilesConfiguration ManagerLogs:
    1. SMS_Message_Processing_Engine.log

    Best answer

Leave an answer

Sorry, you do not have a permission to answer to this question .