The High Court yesterday directed deputy commissioners and superintendents of police of all districts to take effective steps within seven days to protect canals from encroachment.