You don't have to buy a windows license... If you insist on doing it the official way you can simply download this official windows vm completely legally without having to pay anything.