Go to: C:\Program Files (x86)\ESRI\License10.2\sysgen
What I do is rename the existing keycodes file, then go to Start, Programs, ArcGIS, Arcgis 10.2 for Server, Software Authorization and authorize the new license. I rename the keycodes, because I've had problems where it doesn't update the keycodes file