rconn
Administrator
- May
- 14,987
- 375
Staff member
This is working in build 53.
Accevent.exe is a remarkably ill-behaved app. It will only run elevated, and it refuses to allow you to start it detached from the TCC job. (The MS docs say that an app can choose to do that, but I've never seen another one that actually did it.)
To get accevent.exe to not inherit the TCC job I had to piggyback off the tcmd-elev.exe helper app (which allows you to start elevated tabs in a non-elevated TCMD). TCC passes the accevent.exe command line to tcmd-elev.exe, which is not connected to the TCC job, and then tcmd-elev.exe starts accevent.exe.