ceez Posted March 23, 2006 Share Posted March 23, 2006 hello fellow msfn'ers!This is for all you scripting gurus (bowing down).Is there a script that we can run on the networ at logon that will change the local user account of the person login in from administrator to poweruser or anyother? I've googled but only found info to add users to OU's or to AD.ie:ceez, membership: adminstrator CHANGE TO memebership: poweruser.Thanks for you help,ceez Link to comment Share on other sites More sharing options...
baywatch Posted March 23, 2006 Share Posted March 23, 2006 hello ceeztry thisnet localgroup administrators "username" /deletenet localgroup powerusers "username" /addbaywatch Link to comment Share on other sites More sharing options...
ceez Posted March 23, 2006 Author Share Posted March 23, 2006 thanks baywatch. I'll give that a try! Link to comment Share on other sites More sharing options...
N1K Posted March 23, 2006 Share Posted March 23, 2006 thanks baywatch. I'll give that a try!Please reply and give us a feedback if it works..You have a nice avatar Link to comment Share on other sites More sharing options...
nmX.Memnoch Posted March 23, 2006 Share Posted March 23, 2006 The second line should be:net localgroup "Power Users" "username" /addOther than that, those are the two commands you need to run. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now