Uttar Pradesh Deputy Chief Minister Keshav Prasad Maurya on Sunday said that action will be taken against those who attempted to hinder the survey of the mosque which was being conducted by government and police personnel, who were following orders of the court.