Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.
SET /P new=Is this computer using an OEM license (Y or N)? IF new=Y ( GOTO Key_Request ) ELSE GOTO NONOEM :Key_Request ECHO[ SET /P key=Please enter the key for Windows 7 with the dashes: ECHO[ ECHO %key% SET /P answer=Is this key correct (Y or N)? ECHO[ If %answer%=Y ( %SystemDirectory%\slmgr.vbs /ipk %key% %SystemDirectory%\slmgr.vbs /ato END ) ELSE ( ECHO The wrong key was entered. Please enter the correct key. GOTO Key_Request ) :NONOEM c:\windows\system32\slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX c:\windows\system32\slmgr.vbs /ato
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.