Convert mail enabled security group to security group
To convert a mail-enabled security group to a regular security group in Active Directory, you can use the following steps:
Method 1: Using the Active Directory Users and Computers snap-in
- Open the Active Directory Users and Computers snap-in.
- Navigate to the container where the mail-enabled security group is located.
- Right-click on the mail-enabled security group and select "Properties".
- In the "Group" properties window, uncheck the "Mail-enabled" checkbox.
- Click "OK" to save the changes.
Method 2: Using the PowerShell cmdlet
- Open PowerShell as an administrator.
- Run the following command to get the distinguished name of the mail-enabled security group:
Get-ADGroup -Filter {GroupCategory -eq "Security" -and MailEnabled -eq $true} -Recursive | Select-Object -ExpandProperty DistinguishedName
This will return the distinguished name of the mail-enabled security group.
- Run the following command to convert the mail-enabled security group to a regular security group:
Set-ADGroup -Identity <DistinguishedName> -MailEnabled $false
Replace
<DistinguishedName>
with the distinguished name of the mail-enabled security group returned in step 2.
Method 3: Using the ADSI Edit tool
- Open the ADSI Edit tool.
- Connect to the domain controller where the mail-enabled security group is located.
- Navigate to the container where the mail-enabled security group is located.
- Right-click on the mail-enabled security group and select "Properties".
- In the "Attribute Editor" window, find the "mailEnabled" attribute and set its value to "FALSE".
- Click "OK" to save the changes.
After converting the mail-enabled security group to a regular security group, you can no longer use it as a recipient for email messages. However, you can still use it as a security group for other purposes, such as assigning permissions or configuring access to resources.