For laser surface hardening (LSH) of large-sized workpieces, a wide and uniform hardened layer of a single track is pursued. In this study, two kinds of shaped laser beams were used in LSH of 42CrMo cast steel to obtain the required hardened layer. One is a stripy spot with uniform-intensity array spots and the other a stripy spot with intensity blowup in the edge of the whole array spots. As a comparison, a Gaussian laser beam was also adopted. A three-dimensional finite element model was used to simulate the thermal history of specific points by the latter shaped beam and the Gaussian laser beam. The surface morphology, microstructure, microhardness, and uniformity of hardened layers were studied. The results showed that a wider and more uniform hardened layer could be obtained using the latter shaped beam at relative higher scanning velocities and laser power. The thermal history of a material has an important effect on the microstructure and microhardness finally formed. Due to the high peak temperature and heating rate caused by the latter shaped beam, a higher value of microhardness in the transformation hardened zone was found.