### Discussed in https://github.com/chrisant996/clink/discussions/755 <div type='discussions-op-text'> <sup>Originally posted by **andry81** May 14, 2025</sup> Just have noticed the implementation: https://github.com/chrisant996/clink/blob/b59dd397bbb2d2546fea1989f41f9cd8d532000b/clink/app/src/host/host_cmd.cpp#L221 And compared to that it is not enough: https://stackoverflow.com/questions/78134533/winapi-gettokeninformation-with-tokenelevationtype-what-do-the-enumerators/78145061#78145061 You have to check both: `TOKEN_ELEVATION_TYPE` *and* `TOKEN_ELEVATION` Another issue here is that the `if (!s_initialized)` is not atomic.</div>