The wavefront measurement accuracy of a grating array based zonal wavefront sensor (GAWS) can be affected by the non-uniform focal spot array and unwanted orders in the detector plane. The non-uniform focal spot array is the outcome of the non-uniform nature of the incident illumination beam’s intensity profile. This paper describes a method that dynamically modulates the laser beam’s intensity using computer generated holography, making the focal spot array uniform and eliminating unwanted spots in a detector plane, thereby enhancing the accuracy of the wavefront measurement. Here, we present proof-of-principle simulation results that demonstrate the working of the proposed improvements in GAWS.