Posted on 09-24-2024 08:00 AM
I saw this on a blog this morning, posting here to raise visability.
Much has already been written about the new monthly screen recording prompt in macOS 15 Sequoia. After a bit of research, there is a way to get rid of the prompts; kinda tacky, but does work.
The good news is that there's a way to stop the prompts forever
defaults read ~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals.plist
This file is protected by TCC, so to access it you'll need to grant Full Disk Access to Terminal app.
{ "/Applications/Shottr.app/Contents/MacOS/Shottr" = "2024-09-21 12:40:36 +0000"; }
In the plist file, the keys are the paths of the executable files with screen recording permission, and the values are dates. I'm using the Shottr screenshot tool as an example.
To stop the prompts forever—for the rest of your life, anyway—set the date to far in the future, for example, the year 3024 instead of 2024.
defaults write ~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals.plist "/Applications/Shottr.app/Contents/MacOS/Shottr" -date "3024-09-21 12:40:36 +0000"
You'll need to do this for each app, and afterward logout and login again so that the replayd process recognizes the new defaults.
Not gonna do this, but good to have the knowledge; we will see if Apple provides something better.
Posted on 09-24-2024 08:09 AM
This might work, but I'm not sure it is worth the effort to roll out. The latest beta of macOS 15.1 included a new key forceBypassScreenCaptureAlert that should address Enterprise management needs around this without resorting to hacky solutions.
Posted on 09-24-2024 12:41 PM
Thanks for pointing that out, I totally missed that in the beta 4 notes. By chance did you make note of what domain this was? Apple does not mention the domain on the beta 5 notes, and it's not in the restriction's developer page yet.
Posted on 09-24-2024 02:07 PM
I have been testing this for the past 24hrs and it seems to be working :)
and here is the plist:
Posted on 09-26-2024 05:47 AM
Didn't seem to work for me on Sequoia 15.1 beta 5.
Could you attach a .mobileconfig file where this works for you?
Thanks
Posted on 10-09-2024 04:11 PM
Try this. I believe it requires a restart once it's deployed.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>forceBypassScreenCaptureAlert</key>
<true/>
</dict>
</plist>
Posted on 09-26-2024 10:12 AM
What @MoAlJuboori found is good. However it really does mean an extra item for Jamf to add into PPPC profile section.
Posted on 09-27-2024 08:54 AM
In case it helps anyone, I created a helper for this. It also contains an MDM profile to disable these on 15.1
https://github.com/luckman212/screencapture-nag-remover
Posted on 10-19-2024 04:06 PM
@mschlosseratfbooru wrote:
I saw this on a blog this morning, posting here to raise visability.
Much has already been written about the new monthly screen recording prompt in macOS 15 Sequoia. After a bit of research, there is a way to get rid of the prompts; kinda tacky, but does work.
The good news is that there's a way to stop the prompts forever
defaults read ~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals.plist
This file is protected by TCC, so to access it you'll need to grant Full Disk Access to Terminal app.{ "/Applications/Shottr.app/Contents/MacOS/Shottr" = "2024-09-21 12:40:36 +0000"; }
In the plist file, the keys are the paths of the executable files with screen recording permission, and the values are dates. I'm using the Shottr screenshot tool as an example.
To stop the prompts forever—for the rest of your life, anyway—set the date to far in the future, for example, the year 3024 instead of 2024.
defaults write ~/Library/Group\ Containers/group.com.apple.replayd/ScreenCaptureApprovals.plist "/Applications/Shottr.app/Contents/MacOS/Shottr" -date "3024-09-21 12:40:36 +0000"
You'll need to do this for each app, and afterward logout and login again so that the replayd process recognizes the new defaults.
Not gonna do this, but good to have the knowledge; we will see if Apple provides something better.
It’s helpful to know how to manage the screen recording prompts in macOS 15. Let’s hope Apple introduces a more user-friendly solution soon, but until then, this is a solid option.
Posted on 10-22-2024 03:37 PM
I've made the json if you prefer to get the drop-down options:
{
"title": "Apple TCC (com.apple.TCC)",
"description": "Disable the Screen Capture Alert",
"options": {
"remove_empty_properties": "true"
},
"properties": {
"forceBypassScreenCaptureAlert": {
"title": "forceBypassScreenCaptureAlert",
"description": "Bypass the Alert",
"type": "boolean"
}
}
}
4 weeks ago
I'm really not sure how to use this. Is this something I can do one time and apply to all the managed devices? I thought I would have to do this per app. Please let me know if I follow the information in the above posts, I can be one and done, or do I need to apply it individually?
4 weeks ago
I deployed my original Plist via jamf as a config profile to all sequiaOS devices, It has been working so far on 200 devices, and it covers all apps in one go :)
4 weeks ago
Did you have to sign the profile before uploading to Jamf? I have seen Slack posts that suggest you need to.
4 weeks ago
No I didn't, it might be required for 15.2 though (just guessing).
3 weeks ago
Thanks for sharing this info.
Does this profile remove 30-day reoccurring alert spam? Specifically, does it require ANY user approval once installed, or does it require a one-time user approval? Trying to understand what my expectations in testing should be.
Im seeing references to (2) domains associated with this domain on Slack and the web: com.apple.applicationaccess and com.apple.TCC. Any reasons why there appears to be some disagreement on the correct preference domain?
3 weeks ago
apple.tcc has been working for our fleet since my first reply to this post :)
it doesn't require any user input as well.
3 weeks ago - last edited 2 weeks ago
@MoAlJuboori can you explain how you are able to not have the user allow at least once?
3 weeks ago - last edited 3 weeks ago
The idea is once the device is on 15.1, the key should set that alert to false. It shouldn't prompt at all. Not once, not ever. I confirmed with an Apple engineer who works with my account rep and I showed him the scripts on this page. That engineer said they looked good. Right now, it's the best we've got.
3 weeks ago
I dug around more on Slack and a few members including Tony Young from Apple, Rich Trouton, and Lab5 (Lewis) state that the preference domain should be com.apple.applicationacces.
Im guessing this will be a native Restrictions or TCC/PPPC payload in Jamf Pro 11.11ish?
https://derflounder.wordpress.com/2024/10/31/managing-user-notifications-for-apps-which-request-scre...
3 weeks ago - last edited 3 weeks ago
I spoke with an Apple Engineer who works with our account manager. He referred me to this, Line 3620 - key: forceBypassScreenCaptureAlert an explanation on 3636. payloadtype: com.apple.applicationaccess
Thanks for bringing this question up.
3 weeks ago
According to Tony Young on the MacAdmins slack, it's best to use an externally created configuration profile for this due to how Jamf Pro implemented the "Application & Custom Settings" payload. Your custom settings are basically delivered under "mcx_preferenc_settings" which will cause inconsistent results for the "forceBypassScreenCaptureAlert" preference key. More context below.
2 weeks ago
@bwoods Thanks Brandon. Saw your post on Slack too. Good info - much appreciated.
I have uploaded a .mobileconfig to my JSS which appears to be working (replacing my initial raw XML plist version in a Application & Custom Settings" payload).
Key takeaways here are the domain (com.apple.applicationaccess) the pref key (forceBypassScreenCaptureAlert) and the required boolean value (True)
2 weeks ago - last edited 2 weeks ago
Adding more context. It looks like using a plist is possible as long as the PayloadContent key is featured. The PayloadContent key seems to ensure that the settings aren't disrupted by "mcx_preference_settings" utilized by the "Application & Custom Settings" payload. So, a profile like the one below should work the same as the externally created profile.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>forceBypassScreenCaptureAlert</key>
<true/>
</dict>
</array>
</dict>
</plist>
preference domain: com.apple.applicationaccess
2 weeks ago
I found this blog post but couldn't give it a try for now:
https://derflounder.wordpress.com/2024/10/31/managing-user-notifications-for-apps-which-request-scre...
It seems that Apple has provided a payload for managing screen access in macOS 15.1