Check if, for example, the "Domain Users" group for the abc.corp domain is present in the local Administrators group. If it is, remove the group.
Just copy or download the RemoveGroupFromLocalAdmins.ps1 and run on any computer or server that meets the requirements below.
The script must be run with the following requirements:
- Must be run with administrator rights to remove groups
- PowerShell 5.1 or later