MilesLogan
asked on
Remove domain accounts from local Administrators group
Hi EE
Does anyone have a script that removes domain accounts from the local administrators group on machines ?
So for instance if I have a list of machines and a list of domain accounts that I need removed from the local administrators
group on those machines .
Machine1,MyDomain\User1
Machine2,MyDomain\User2
Machine3MyDomain\User3
Does anyone have a script that removes domain accounts from the local administrators group on machines ?
So for instance if I have a list of machines and a list of domain accounts that I need removed from the local administrators
group on those machines .
Machine1,MyDomain\User1
Machine2,MyDomain\User2
Machine3MyDomain\User3
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi oBdA .. wow ! this so helped me today !! thanks a ton !
So you cannot remove domain admins from local admins. You can remove the users from Domain Admins group which will then remove the access to local admins but you cannot remove Domain Admins completely.
So if i am reading your question correctly, what your asking for cannot be accomplished.
Will.