Hi Guys,
I've been trying to add remote desktop bookmarks from https://soundmacguy.wordpress.com/2020/06/14/managing-microsoft-remote-desktop-10-bookmarks-with-handy-jamf-scripts/comment-page-1/?unapproved=15565&moderation-hash=52675532c055e57029dc4ae44a7da447#comment-15565 and when i run the script i get this error below
Executing Policy Add Remote Desktop H&L |
Running script msrd10-add-remotedesktop... |
Script exit code: 132 |
Script result: User: staff is logged in... Username specified, Creating bookmark for: sysnet Domain not specified, username will not be prefixed... Creating bookmark: H&L /Library/Application Support/JAMF/tmp/msrd10-add-remotedesktop: line 98: 7252 Illegal instruction: 4 sudo -u "${loggedInUser}" "${msrd}" --script bookmark write $(uuidgen) --hostname "${hostname}" --friendlyname "${friendlyname}" --resolution "${resolution}" --group "${group}" --username "${username}" ${extraArgs} 2> /dev/null |
Error running script: return code was 132. |
But if i run sudo jamf policy when i'm in Terminal on the computer the policy executes fine. Anyone able to chime in and help me out? Thanks!