Go to start menu and type cmd and hit enter or press Windows+R button and then type cmd
After opening command prompt type following command.
slmgr/xpr
After typing above command you will get a dialog box withing 5 seconds, saying "The machine is permanently activated".