macossettingsprivacy

Reseting Privacy and Security -> Input Monitoring setting


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

sudo tccutil reset InputM 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.


Solution

  • I guess you mean: sudo tccutil reset InputMonitoring appsidentifier

    I happened to find this article which lists all the entries that tccutil accepts. InputMonitoring isn't among the list, but ListenEvent should do the trick.