Jamf recon stalls / stuck at Locate Hardware Information

guy2c9
New Contributor

Hi Everyone

I'm getting "Locate Hardware Information" stuck on one macbook air M4 laptop whilst tring to execute sudo jamf recon, i followed the steps and instructions found on https://community.jamf.com/t5/jamf-pro/jamf-recon-stalls-at-locate-hardware-information/td-p/315285 and https://community.jamf.com/t5/jamf-pro/recon-hangs-on-locating-hardware-information/m-p/284704 but when we execute the "sudo launchctl kickstart -k system/com.apple.softwareupdated" it fails with the error "Could not kickstart service "com.apple.softwareupdated": 150: Operation not permitted while System Integrity Protection is engaged". We then tried deleting the /Library/Preferences/com.apple.SoftwareUpdate.plist configuration file and restarting but that didnt work either. Anyone else have the same problem and or know how to resolve this?

OS: 15.4 but this also happening on 15.3.2 as well
Jamf Pro: 11.15.2

2 REPLIES 2

Shyamsundar
Valued Contributor

On Settings -> Computer Management -> Inventory collection. uncheck the Collect all available software updates, instead use the below EA to get the software update details.Screenshot 2025-04-04 at 11.13.16.png

 

#!/bin/zsh


recommendedUpdates=$(defaults read /Library/Preferences/com.apple.SoftwareUpdate.plist RecommendedUpdates | wc -l | awk '{print $1}')

if [[ recommendedUpdates -gt 2 ]]; then
echo "<result>True</result>"
else
echo "<result>False</result>"
fi

AJPinto
Esteemed Contributor

If you run jamf recon verbose where is it hanging? Im figuring on an Extension Attribute and verbose recon should tell you which one.