Recently, there has been significant interest in lidar signal-to-noise ratio (SNR) improvements, particularly for lidar daytime operations. Previously, we devised in the remote sensing laboratory at the City College of New York a polarization discrimination technique to maximize lidar detected SNR taking advantage of the natural polarization properties of scattered skylight radiation to track and minimize detected sky background signal (BGS). This tracking technique was achieved by rotating, manually, a combination of polarizer and analyzer on both the lidar transmitter and receiver subsystems, respectively. The polarization orientation at which the minimum BGS occurs, follows the solar azimuth angle, even for high aerosol loading. This has been confirmed, in our previous work, both theoretically, assuming single scattering theory, and experimentally. In this paper, a design to automate the polarization discrimination technique by real time tracking of the azimuth angle to attain the minimum BGS is presented. We introduce a feedback control system to track the minimum BGS by rotating the detector analyzer and the transmission polarizer simultaneously to maximize the SNR and attainable lidar ranges, thus achieving the same results as would be done manually. Analytical results for New York City are summarized and an approach for applying the proposed design globally is investigated.