No the software is not freeway. The Microsoft license is still in place. There are probably a couple of places you can purchase a new license, but I don’t have any idea where they are. I would simply plan on transferring the license from the old machine to the new machine.
You could consider FreeDOS also.