If you later purchase a legitimate license, running a simple uninstall command removes the KMS emulation. Your Office suite returns to its original state.

Below is a draft guide on how to create a simple BAT file for activating Microsoft Office 2019. This example assumes you're using a KMS host. If you're using a MAK key, the command will differ.

For the script to access the Office installation directory and system registry, you must Common Troubleshooting Tips