Forum Discussion
JonnyShaw1
Apr 27, 2026Copper Contributor
Exchange 2016 Decommission
Hi all, I am trying to decom my 2016 environment and cannot disable (Disable-Mailbox) the final 16 mailboxes (out of thousands). Am getting the error Active directory response: 00002098: SecErr: D...
AnnTaeYoun
Apr 28, 2026MVP
If it is a protected account, use the command below!
Get-ADUser <User> -Properties adminCount
Set-ADUser <User> -Replace @{adminCount=0}
Disable-Mailbox <User>
ADUC -> <User Account> -> Security -> Advanced
Enable inheritance <Check>
Thanks
TaeYoun
JonnyShaw1
Apr 29, 2026Copper Contributor
Hi,
Thanks for the reply. It was not a protected account. I had tried all that.
It is now resolved though through editing the MSexch attributes. Dirty but as doing a decom it doesn't matter :)
Thanks
Jon