@dwaltiz Have you tried Windows “runas” yet? To be honest, it used to be more capable than it currently is, but they restricted it to make abuse harder.
Anyway, your “doas” problem will probably turn out to be something you thought you checked, like spaces or non-printable characters in the configuration file, or putting the file somewhere that is not on the $PATH, or forgetting to log out after changing the file.
nulled.red is an any-topic moderated Mastodon instance made by me, Ami. Hosted in Roubaix, France.