what i am trying to do is this...
i have a script that edits a file in a protected folder on a local machine. I am trying to write this script (that i am trying to do now) to add users to the domain admins group, then the file modifying script will run on their login script. I first tried to get the script to do a runas admin, but it prompts for password, and i would have to go to the machines and type it in, i obviously do not want to give the users the admin password, and if i add them for a day or two without telling them, they will never know they have admin rights for a while.
Mostly, if i can just remove them from the admin group in a script, that'd be great. i can add all the users to the admin group by highlighting them and then adding them to the group, but removing them has to be done one by one, and there are way too many users for me to really want to do that.