|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Remove members from local administrators groupI need to use a group policy to remove users from the local administrators
group and only add domain admins. I am trying to use net localgroup administrators. What can I use as a variable for the domain users. Is there a script for this? Why not just use a restricted groups policy.
This will remove any members not specified and add members you specify. Show quoteHide quote "Yvonne" <Yvo***@discussions.microsoft.com> wrote in message news:6CEC135C-A913-4E24-9A61-4D885C7BA049@microsoft.com... >I need to use a group policy to remove users from the local administrators > group and only add domain admins. I am trying to use net localgroup > administrators. > What can I use as a variable for the domain users. Is there a script for > this?
How to ping multiple hosts via a script
Remove all members in local Power User Group Delete Parent registry key based on subkey data fire script in remote servers Script for mapped network drives create AD-PC-Account with given GUID per script Move files logevent command bombs scheduled task WScript error Mouse equivalent for sendkeys |
|||||||||||||||||||||||