Change account type for local users from Administrator to Standard user

Hi Comodo,

I am looking for a script to change a specific local user (not all local users) from administrator to standard user.

Thank you

@IT-Tech ,

Will this procedure suffice your request?

Hi @Jimmy ,
Thanks for the fast response. Somehow I overlooked that. There is a small type in the procedure though.
‘net localgroup administrators’+user+’ /delete’).read()

to this and it works:
‘net localgroup administrators ’ +user+’ /delete’).read()


@IT-Tech ,

Thank you for spotting this detail. We have relayed this info to our Scripts team and will update it from the backend accordingly. :slight_smile: