How to properly clean Merge Replication Setup What is the proper way to completely clean Merge Replication setup ?

I have tried to delete the subscriptions, then delete the publication then "Disable Publishing &amp; Distribution" &amp; delete the distribution database then started setting up the replication again.

unfortunately, after that I discovered that dbo.msmergesubscriptions table still have old records about old subscriptions I used to have before 2 years !!

Is there any official documentation about how to properly &amp; totally clean Merge Replication setup?
Somehow you are ending up with orphaned replication metadata after deleting the subscriptions and/or the publication.  This can happen when using the GUI to drop subscriptions and publication.  Instead, try using T-SQL replication stored procedures to delete the subscriptions and publication.

How to: Delete a Push Subscription (Replication Transact-SQL Programming)

How to: Delete a Pull Subscription (Replication Transact-SQL Programming)

How to: Delete a Publication (Replication Transact-SQL Programming)

After deleting the subscriptions and publication, verify the replication metadata was removed.  If not, use sp_removedbreplication to remove all replication objects from the databases.