![]() I'm guessing at some point years ago this script was copied from someone else. A value is always specified for 'adminUser', so it never continues into the if statement anyways. I'm not quite sure why the script has the if statement right under the "Do Not Modify", this was how the script was written long before me and it's always worked so I haven't modified it. System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -access -on -privs $privs -users $adminUser ![]() System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -allowAccessFor -specifiedUsers Privs="-DeleteFiles -ControlObserve -TextMessages -OpenQuitApps -GenerateReports -RestartShutDown -SendFiles -ChangeSettings" # adminUser = Admin User Name for Remote Access Here is the script we are running at setup to enable: #!/bin/sh I have noticed doing the Disable then Enable commands in Jamf usually causes Remote Management's "Allow access for:" setting to change back to All users, so in the past after doing the Disable/Enable I've flushed the policy with the script that enables Remote Management so it switches back to specified users when that policy is triggered next (at next check-in). ![]() I did just try doing this to the computer I was connecting to so I could get a screenshot for above and it did let ARD connect after doing that, however Screen Sharing is still unchecked. We do get the occasional 'black screen with mouse only' issue, which we resolve by sending the Disabled Remote Desktop command from the Mac's management page in Jamf as many times as it takes to make the button switch to Enable, then sending the Enable Remote Desktop command. We're not really sure what caused this sudden change. Screen Sharing is grayed out in System Preferences as usual, but unchecked. When connecting to a machine, ARD will give the following error: Some of our machines run a second script that allows another local account on them for teachers to access but with fewer privileges (basically observe and message only). This allows us (IT) to remote into machines while they are in one of our buildings/on our network to work on them or help users. We enable Remote Management during setup with a script (down below) that uses the kickstart command to activate, set access to specified users, specify the local Administrator account that is on all machines, and finally allow that account all privileges. We are having issues connecting to Monterey Macs with ARD suddenly.
0 Comments
Leave a Reply. |