Unable to remove app from InputMonitoring pane

To remove my application from the Accessibility pane I do this in terminal:

sudo tccutil reset ScreenCapture appsidentifier

Which successfully removes the app from the Accessibility pane but when I try the same for InputMonitoring it does not works.

sudo tccutil reset ScreenCapture appsidentifier

I get this:

Failed to reset InputMonitoring approval status for appIdentifier

After a lot of research I’m unable to find anything on it. Thank you in advance.

I've been getting to grips with TCC and have found the links below useful.

I've yet to resort to the "nuclear" option of deleting the tcc database though!

You could also try: sudo tccutil reset All com.vendor.appname

https://eclecticlight.co/2018/11/20/what-does-the-tcc-compatibility-database-do/ https://www.rainforestqa.com/blog/macos-tcc-db-deep-dive

https://recoursive.com/2020/03/03/reset_macos_privacy_permissions/ https://eclecticlight.co/2023/02/09/should-you-reset-its-database-or-delete-it-the-woes-of-tcc/ https://www.macworld.com/article/1378183/how-to-reset-macos-privacy-preferences-when-other-options-dont-work.html

FYI to get a list of all the Services use this (works for Monterey, you may need to change the path):

strings /System/Library/PrivateFrameworks/TCC.framework/Versions/A/Resources/tccd | fgrep kTCCService | fgrep -v ' ' | sed -e s/kTCCService// | sort

when I try the same for InputMonitoring it does not works

sudo tccutil reset ScreenCapture appsidentifier

You said InputMonitoring but your example uses ScreenCapture. Which is it?

Oh, and sudo is probably not what you want here. Most TCC privileges are per-user and so it makes sense to run tccutil as that user. Also, running with sudo puts tccutil is a mixed execution context. Honestly, I’m surprised it does anything useful when you do that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Unable to remove app from InputMonitoring pane
 
 
Q