Updated

Microsoft Corp. (search ) said on Tuesday it would provide up to $34 million in vouchers to settle claims it broke Massachusetts laws on unfair competition and consumer protection.

In a joint release with the plaintiffs' attorneys, Microsoft said the deal received preliminary approval on Monday. Microsoft also won on Monday preliminary approval of a settlement in Arizona worth nearly $105 million.

As with the Arizona settlement and other such deals it has struck across the country, Microsoft said it will provide half of the value of any unclaimed vouchers to certain Massachusetts (search ) school districts.

The class covers anyone in the state who bought certain Microsoft operating system or application products between early 1996 and late 2002. The vouchers cover both hardware and software purchases.