A new delay compensation control algorithm is applied to the networked control system (NCS), in which the characters of random time-delay and packet loss involved. Firstly, the ideal model of networked control system is considered as a reference model, and then the Lyapunov stability theory is used to design an adaptive control algorithm which generates a bounded control input, it is guaranteed that generalized output error is closing to zero. Narandra stability adaptive controller is used in the networked control system, which has many advantages including simple algorithm, less time computing, fast response. The simulation results are shown that the networked control system is well controlled by this method.