Link to home
Start Free TrialLog in
Avatar of Dinga84
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
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Kane - TechSoEasy
Jeffrey Kane - TechSoEasy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dinga84
Dinga84

ASKER

Jeff,

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.