Copy link
@vaintroub

vaintroub Nov 3, 2022

Contributor

Maybe it makes sense not to do the GROUP:Administrators check. It will only pass if someone runs the tests as administrator including "elevated".

I think in most cases you can just replace GROUP:Administrators with the value of System.getenv().get("USERNAME");
or omit "as" clause entirely