There is a very large pool of Windows developers who, even when your documentation specifically says not to, insist on running everything in an administrator command prompt. In a tool I maintain, I would like it to either warn or refuse to run if the tool is ran from an administrator prompt but I do not want to block running this tool on single user/passwordless Windows VMs (such as most CI/CD providers) where you’re automatically admin no matter what.
Is it possible differentiate between the two?