Winver Windows+R to open the Run dialog, type “winver” into it, and press Enter. Slmgr Open the Run box, type slmgr.vbs -xpr and click OK.