Do not use this in production; it is for testing purposes only.

Schools usually run a KMS Server as an activation method for volume licensing of Windows and Office. Here are a few open-source projects you can use for testing:

Py-KMS-Organization/py-kms is a fork of SystemRage/py-kms that is still being actively maintained.

You can also spin it up easily with docker:

docker run -d --name py-kms --restart always -p 1688:1688 ghcr.io/py-kms-organization/py-kms

Use the GVLK Keys list together with the KMS server to activate Windows and Office. For a detailed walkthrough see py-kms: Activation Procedure.