Monday, May 8, 2023

The Active Directory Replication Status Tool was Broken

 

I have Downloaded the latest AD Replication status tool from Microsoft but unfortunately i am unable to open the tool. Below is the URL where i downloaded the software.

https://www.microsoft.com/en-us/download/details.aspx?id=30005

After going through lot of blogs and other sites...finally i have got the solution.

 

Resolution:


You can download directly from the below link or you can follow the steps


Direct Download Link:  https://upfiles.com/oavgaVr2



1)    Download dnspy,
2)    Open Microsoft.Sirona.dll from the "Microsoft Active Directory Replication Status Tool" folder with dnspy.
3)    Go to Microsoft.Sirona.Packaging -> PackageHelper -> IsSigned(Stream, string)
4)    Right click on the IsSigned function and select edit method and replace the content of the function with return true; it should look like this

 

public static bool IsSigned(Stream packageStream, string packageName)

{

    return true;

}


5)    Then click on compile and then do file->save module and save the dll, if you didn't overwrite the original one you should copy the modified dll back in the "Microsoft Active Directory Replication Status Tool" folder 

 

C:\Program Files (x86)\Microsoft Active Directory Replication Status Tool

Copy the modified “Microsoft.Sirona.dll”  to the above location and run the application


Reference:

https://www.reddit.com/r/sysadmin/comments/xpfune/ad_replication_status_tool_broken_again_in_early/