Q. How do I use the command line to set the Windows Server 2008 product key for activation?

A. Use the slmgr.vbs script and the -ipk switch to set the Server 2008 product key for activation, as in the following example:

cscript slmgr.vbs -ipk "(product key)"

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.