The government has been ordered by the High Court (HC) to remove all illegal structures built on encroached land of Mayur river in Khulna within the next two months.