Technically you are pirating.
Edit: perhaps you misunderstood - I didn't take keys that were licensed for university owned machines, I got a key that was given to students for their personal devices as part of some agreement with microsoft.
Although I have no qualms about actually pirating windows either ever since they started pushing advertising into the start menu.