The linear quadratic regulator problem for the second order evolution system with boundary controls is studied. Case that the input-to-state map is non-admissible is treated assuming that the system is exponentially stabilizable by the passive feedback. It is shown that the optimal control is of feedback form in terms of solution to the operator Riccati equation.