Posted on 11-16-2016 09:23 AM
I am struggling to use this EA to determine if there is an iLock on the computer. I can run a command similar to this in ARD but that does not help me as I want to create a Smart Group scoped to iLocks installed.
Solved! Go to Solution.
Posted on 11-16-2016 01:58 PM
We're using this, which returns 'No iLok Connected' if there isn't one, working on OS X 10.10.5 (running Pro Tools 11 which is keeping us from going up to newer OS's):
#!/bin/sh
## Script to detect and enumerate attached iLok Serial
SERIAL=`system_profiler SPUSBDataType | grep -B 5 -i ': iLok' | grep 'Serial' | cut -f 2 -d ":" | sed -e "s/ //"`
if [[ "$SERIAL" == "" ]]
then
echo '<result>'No iLok Connected'</result>'
else
echo '<result>'$SERIAL'</result>'
fi
Posted on 11-16-2016 09:24 AM
Posted on 11-16-2016 01:56 PM
@CapU not sure where I got it from but:
#!/bin/sh
## Script to detect and enumerate attached iLok Serial
SERIAL=`system_profiler SPUSBDataType | grep -B 5 -i ': iLok' | grep 'Serial' | cut -f 2 -d ":" | sed -e "s/ //"`
echo '<result>'$SERIAL'</result>'
Posted on 11-16-2016 01:58 PM
We're using this, which returns 'No iLok Connected' if there isn't one, working on OS X 10.10.5 (running Pro Tools 11 which is keeping us from going up to newer OS's):
#!/bin/sh
## Script to detect and enumerate attached iLok Serial
SERIAL=`system_profiler SPUSBDataType | grep -B 5 -i ': iLok' | grep 'Serial' | cut -f 2 -d ":" | sed -e "s/ //"`
if [[ "$SERIAL" == "" ]]
then
echo '<result>'No iLok Connected'</result>'
else
echo '<result>'$SERIAL'</result>'
fi
Posted on 05-07-2018 10:29 AM
Has anyone found a way to correlate these hardware serial numbers with the actual iLok serial numbers exported from the iLok manager?
Posted on 06-28-2019 07:18 AM
That's what I'm trying to figure out. We have about 60 of these and renewing them each year is a proper pain as it seems the only way to identify the system id is from each individual machine!
Posted on 06-08-2020 04:47 PM
For anyone interested, this is how you get the proper serial numbers that reflect in iLok License Manager. I just modified the script supplied by Neil above.
#!/bin/sh
## Script to detect and enumerate attached iLok Serial
SERIAL=`/usr/local/bin/iloktool`
if [[ "$SERIAL" == "" ]]
then
echo '<result>'No iLok Connected'</result>'
else
echo '<result>'$SERIAL'</result>'
fi
exit 0