Follow the same steps as Method 1 to open an elevated command prompt.

: Click the Start button, type cmd , right-click on the Command Prompt icon, and select Run as Administrator .

slmgr /ato