Script logon for GPO doesn't work RRS feed

  • General discussion

  • Hey, guys

    I Am running the following command via GPO at user logon, so that when you log in your username is entered in the Administrators group of the workstations:
    net localgroup Administrators/add% username%

    Because these users are not yet administrators, the command doesn't run because it requires the privilege administrator or is part of some administrative group, but there is none and there will be no client policy.

    Note: Locally with administrative privileges runs smoothly. Any suggestions for this GPO to work?

    Claudio Ferreira

    • Changed type Bill_Stewart Wednesday, September 4, 2019 8:52 PM
    • Moved by Bill_Stewart Wednesday, September 4, 2019 8:53 PM User should not be doing this
    Friday, April 5, 2019 4:54 PM

All replies