Yes, it works exactly the same. The KMS method is OS-agnostic. However, Parallels or VMWare virtual machines may have issues due to network adapter emulation.