News We Recently Launched AD Migrator and AD Reporter.

“Server Is Not Found In Active Directory. Server Must Be Present In Active Directory To Recover” | Find the Solution

  author
Written By Kumar Raj
Anuraag Singh
Approved By Anuraag Singh
Published On August 25th, 2022
Reading Time 5 Minutes Reading

Summary: This write-up will help users to solve the error “server is not found in active directory. server must be present in active directory to recover” by using the steps provided here.

Cause Of This Error?

When Exchange user or IT Administrator tries to execute the Setup m:RecoverServer command to rebuild and restore the failed or corrupt Exchange Server then this error appears.

To create the new MS Exchange Server user run this command (Setup m:RecoverServer) to read all settings and information saved in Active Directory of failed Microsoft Exchange Server.

Note: Users have to provide the correct Exchange Server name / parameter while executing the command in the Exchange PowerShell. If the information is incorrect the command will fail.

If the command is unable to read the settings and information saved in Active Directory, then in Exchange PowerShell user will see the following error “server is not found in active directory. server must be present in active directory to recover”. It occurred because the Active Directory is damaged/corrupted or the command is not able to access AD.

How to Solve “Server Is Not Found In Active Directory. Server Must Be Present In Active Directory To Recover” this Error?

While creating the new Exchange Server user have to make sure that the name of the new server is the same as the old one, configure the hardware and software & the server should be run on the same version of Windows Server.

The size, drive letter and SSL/TLS in the new Exchange Server must be the same as the failed server. If the lost sever is having these certificate then the only user need to add it in the new server, other there is no need to set up these certificate.

Then Install the Exchange Server Pre-requisites on the New Server:

1. Execute the given command to install the Remote Tools Administration Pack

Install-WindowsFeature RSAT-ADDS

2. Import-Module ServerManager

3. Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server -Restart

Note: Users have to set up and execute all these commands before running the Setup /m:RecoverServer command.

When the prerequisites were installed the server will restart, then the user have to insert and run this Setup m:RecoverServer command. If users getting the error again, they have to use the next method to solve the error.

Using ADSI Editor to Fix the Error “Server Is Not Found In Active Directory. Server Must Be Present In Active Directory To Recover”

Note: It is recommended to take the database backup of the Old Server. This editor helps the user to solve the error but they have to be careful and keep focus while using it. If any mistake is made by the user then it will create more issues or problems.

Follow the steps to fix the problem

Step 1: Login to the DC (Domain Controller) as Administrator

For this user have to be a member of Domain Admin or Enterprise

Step 2: Open Run by pressing Windows + R > Write adsiedit.msc > Click OK

Step 3: Select “Action” > Connect to > Click the radio button “Select a well know naming context”

Step 4: Select configuration from the drop-down list

select configuration

Step 5: Expand the CN=Configuration, DC=[YourDomain], DC=COM> CN=Services>CN=Microsoft Exchange

Step 6: Go to CN=OrganisationName> CN=Administrative Groups>CN=Exchange Administrative Groups(FY1234567890)>CN=Servers

Step 7: From the right-hand side, select the Exchange Server and Delete the server

Step 8: Go to CN=Configuration [domain], DC=COM> CN=Services> CN=Microsoft Exchange> CN=OrganisationName> CN=Administrative Groups>CN=Databases

Step 9: From the right pane delete all database of old Exchange Server

Best Alternative Solution

If users are still getting the error “server is not found in active directory. server must be present in active directory to recover”. Then it is recommended to use the professional solution provided by SysTools  i.e. Exchange Server Recovery Software, which helps users to resolve database corruption Exchange 2010, 2013, 2016 as well as repair and recover highly corrupted/damaged Exchange Database files with any data loss. Users can use the dual scanning option (Quick and Advance scan) to repair EDB file and mailboxes from corruption with any loss of data.

Download purchase

This recovery manager for Exchange database utility also helps the users to retrieve permanently deleted/purged mailboxes or data items and repair Exchange mailbox from loaded EDB files by using advance scan mode. User can use this option to recover deleted mailbox after retention period. The software supports private and public.edb file and the user can load dismounted/offline Exchange database files.

The application allows users to extract mailbox from EDB file Exchange 2016/2013 and export multiple EDB files in different file formats such as PST, MSG, MBOX, EML, HTML & PDF. Also, users can directly export the Exchange mailboxes to Live Exchange Server or Office 365, then user does not have to face any error.

The tool is used by IT experts and Exchange users. It helps them to remove corruption from the Exchange Database file without any loss of data in a less amount of time.

Bringing It All Together

The write-up provides the complete solution to fix the error “server is not found in active directory. server must be present in active directory to recover”. The command Setup m:RecoverServer described helps users to recover the failed Microsoft Exchange Server but if it fails then users have to face huge data loss. Also before executing this command users have to install pre-requisites and other things described in this write-up. Users must have technical skills and knowledge about Exchange Server to use the manual solution. Exchange users and IT admin use the automated solution described in the above section to save their precious time and effort. The utility helps them to recover corrupted Exchange Database files and allow them to export Exchange Mailboxes in batch to Live Exchange Server / Office 365 & various file formats in a single attempt.

  author

By Kumar Raj

A versatile writer with the vast knowledge of technology helps to reduce the gap between a user and technology. Provides easy and reliable ways to resolve multiple technical issues, which users encounter in their day-to-day life.