REM This sscript was created by Daniel Brown (http://www.danielbrown.id.au) @echo off REM Ask for the Product Key SET /p PRODUCTKEY="Please enter your product key: " REM Install the product key into Windows echo Entering the Product Key cscript C:\windows\system32\slmgr.vbs -ipk %PRODUCTKEY% REM Attempt to Activate Windows echo Activating Windows cscript C:\windows\system32\slmgr.vbs -ato echo Activation Complete.