- Connect to your Active Directory server.
- Open the CMD window with Run AS Administrator.
- Paste the following command, and then press ENTER .
net group "domain admins">c:file.txt
- The information of all accounts included in the Domain Admin group will be written into the "file.txt" file under the C: drive.
NOTE: In order to ensure the sustainability of system security against cyber attacks, it will be healthy to periodically check the members included in the "domain admin" group.