Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING SCCM Run script - Client Job stalls and is slow

  • Thread starter Thread starter simon_berg
  • Start date Start date
  • Replies Replies 6
  • Views Views 5K

simon_berg

Member
Messages
8
Reaction score
0
Points
1
Hi

We are running scripts directly on devices via SCCM with the run script functionality.
But the SCCM is very slow pushing out to the clients and sometimes it cant.

It seams to me that there is some kind of bottleneck

We are running a simple script on 600 devices. We are doing it for each device with the "Invoke-CMScript" cmdlet which means the SCCM creates a job per device we are pushing a script to.
In the BgbServer.log i can see its starting the client jobs with 2-3 seconds between the devices until its started on the first 25 devices. then the time starts to extend to almost 2-3 minutes between the client jobs on the devices.
Some times it even don start any client jobs at all and i cant find any logging telling why it wont start any client jobs.
When we started doing this there was no bottleneck the first 3-5 days, then it started.

Does anyone have some troubleshooting inputs for this?
We would really like to use the SCCM for pushing and executing scripts via the run script functionality.

Best Regards
Simon
 
Hi, sorry for the delay in response. Are any of those machines offline when you push the script ?. Please upload BgbServer.log
 
Hi Prajwal
Thank you for your reply.
I will just see if I can set the BgbServer.Log to be bigger, because the timespan is several hours.

Then I will upload the BgbServer.log okay?
 
Btw. No machines are offline when pushing the script, but i suspect the SCCM Management Point role or the Notification Server role are busy doing other tasks, so my expectations in terms of SCCM response and service might be to high?
 
Hi Prajwal

Here is the attached logfile.
I traced that we startet the script on the first client at 01-09-2021 05:25:39

The logfile is to big to attach in this thread.

Do you have an e-mail i can send you a share link to regarding the log file?
 

Forum statistics

Threads
7,171
Messages
27,990
Members
18,297
Latest member
Kahnrym

Trending content

Back
Top