Before you start with this procedure you need to log in with the default Administrator account but before you can do this you need to enable that account from ADUC. All changes we make to the current Exchange Server 2007 installation are made from within Exchange Management Shell. If you have disabled the Exchange Server services you need to enable and start them otherwise the uninstallation will fail. Uninstalling Exchange Server from the SBS can take up to 10 minutes or up to two hours, be patient and let it run. Uncheck ‘Account is disabled’ for the Administrator account. Right-click and choose Reset Password. This sets a password because the Administrator is by default disabled and does not have a password. Uncheck ‘User must change password at next login’ and click OK. Now log off and log in with the Administrator account and make sure the Dashboard is closed when you start with removing Exchange Server 2007. From the start menu run Exchange Management Shell. We are going to delete all folders from the Public Folders in Exchange. We do that with Get-Publicfolder and we pipe the output of that command to Remove-Publicfolder . We need to remove System folders as well as folders created users. On both commands type [A] to delete ALL. If you run this when you migrated to Exchange Server 2013 it will throw an error and tell you that there is no public store. That is correct because the public store is migrated to Exchange Server 2013 Get-PublicFolder -Server contososerver.contoso.local '\Non_Ipm_Subtree' -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server contososerver.contoso.local -Recurse -ErrorAction:SilentlyContinueGet-PublicFolder -Server contososerver.contoso.local '\' -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server contososerver.contoso.local -Recurse -ErrorAction:SilentlyContinue Next on the list is the Offline Address Book. Let us have a look at what Offline Address Books we have on our SBS 2011. We do that with Get-OfflineAddressBook . The output of Get-OfflineAddressBook depends on what your migration target is. If you migrated to a new on-premise Exchange Server you will see 2 Offline Address Books, one has (2013) behind the name and that is the one you need to keep. If you migrated to Office 365 you will see only one. Get-OfflineAddressBook We see that the name of our Offline Address Book is ‘Default Offline Address Book’ is and in Remove-OfflineAddressBook ‘Default Offline Address Book’ we delete that. You will be warned twice and in both cases type [A] for ALL. Remove-OfflineAddressBook ‘Default Offline Address Book’ Next on the list is the SendConnector in Exchange. We get a list with Get-Sendconnector and we will remove them with Remove-Sendconnector. If you remove the SBS send connector after you have migrated to Exchange Server 2013/16 or 2019 you need to create a new send connector on the new Exchange Server. Get-Sendconnector | Remove-Sendconnector Finally, we will need to disable all ‘normal’ mailboxes from the database if you migrated to Office 365. We generate a list with Get-Mailbox and if we pipe that with Disable-Mailbox they get disabled. Run after this Get-Mailbox to see if all are disabled. If you migrated to an on-premise Exchange Server 2013 there is no need to disable any mailboxes. In that case run Get-Mailbox and confirm that all mailboxes are migrated to the new Exchange Server. Get-Mailbox | Disable-Mailbox Open an elevated command prompt and change the directory to c:\program files\microsoft\exchange server\bin and run setup.com /mode:uninstall . The last part where the Exchange files are removed can take up to an hour so be patient. If you get an error like ‘Unable to remove product with code 24b2c164-de66-b468-a46d9d5e6b31’ you have not used the Administrator account and you can start over. cd c:\program files\microsoft\exchange server\binsetup.com /mode:uninstall Open regedit and browse to HKLM\SYSTEM\CurrentControlSet\Services\MSExchange ADAccess Click Yes to delete this hive. Reboot your server to make things final.