How to remove current logged on user from local administrator group

I have these two commands that both work if run locally on the machine but when I try to create a fixlet with them using run command as “current user” it either fails or says complete but didn’t change the local admin group. i’ve tried with ps1 and bat files. I’ve looked at other posts in the forum and haven’t gotten any working info from those

First Try
$luser = “domain” + $env:username
Remove-LocalGroupMember -Group Administrators -Member $luser

Second Try
net localgroup administrators %username% /delete

Also why don’t fixlets like this already exist in BigFix? This seems like something many people would need. Computers are remote and 75% don’t use VPN so GPO wouldn’t be effective

For the first part, see