Dinga84
asked on
Adding users to the local admins group with bat script
Just wonderin if this will do the above, and if you think its advisable.
net localgroup Administrators %username% /ADD >NUL
net localgroup Administrators %username% /ADD >NUL
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Was planning on running it from a bat file, however didnt realise that the connectcomputer wizard assigned them as a member of local admin, that takes care of that for me anyway.
Thanks again.