BEIJING (AP) -- China's government says it will avoid buying computer equipment that runs on Windows 8 in a setback for Microsoft's efforts to promote the operating system.

Tuesday's announcement said desktop, laptop and tablet personal computers bought for government use must use a different operating system. The brief statement gave no explanation.

Microsoft wants customers to switch to Windows 8 after support for its 13-year-old Windows XP operating system ended in April. Some customers have avoided that, citing expense and inconvenience.

The government is the biggest buyer of computer software in China, so its purchasing decisions can have a significant impact on sales.

The Motley Fool owns shares of Microsoft. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.