Kaseya Community

Anyone have a script to change domain administrators to users??

  • I have downloaded the script to remove all administrators and it works great but.I can't figure out how to continue this script to shift the removed administrators into the users group.. Any ideas or updated scripts out there?

    I have not updated to K2 yet btw.

    Thanks for any help :-)

    Legacy Forum Name: Anyone have a script to change domain administrators to users??,
    Legacy Posted By Username: skellogg
  • Guess I will keep doing it as a two step process then lol. I run the remove admin script then run: net localgroup users /add DOMAIN\USERNAME to put them back as a user on the machine.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: skellogg
  • why not dump the users from local admin group to a text file and then use tha to put them back into the local users group.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: XeviouS