Forum Discussion
BenAnderson78
Mar 24, 2023Copper Contributor
Active directory
Is there a way to use commands on Windows Server 2012 to make all users standard on their devices? Or even to delete all admins from computers?
Thanks
- Alban1998Iron ContributorHello,
You may also use Restricted Groups and/or Group Policy Preferences for this. You could use PowerShell.
Remove-LocalGroupMember (Microsoft.PowerShell.LocalAccounts) - PowerShell | Microsoft Learn
BenAnderson78 just checking if there's any progress or updates? please don't forget to mark helpful replies.