Server Core

Activation in Server Core

I missed Friday last week due to the short week, so I’ll see if I can post twice this week.

 

I’ve received several questions in the last week dealing with activation, so I thought I would post some information on activation. There is a VBScript in Vista/Longhorn that can be used to activate from the command line: slmgr.vbs.

 

To activate Server Core you can run:

Cscript slmgr.vbs –ato

 

There is a known issue with the script in Beta 2 and covered in the release notes, where the script attempts to activate the product key for every possible type, retail, OEM, etc. Therefore you will receive a series of activation messages, all but one of which will be a failure. If you did not receive at least one success message, you should verify your connection to the Internet and proxy settings (Netsh winhttp proxy)

 

To verify if activation was successful you can run:

Cscript slmgr.vbs –did

 

From the output, get the GUID for the appropriate product key, e.g. retail channel, and then run:

Cscript slmgr.vbs –dli GUID

 

For “License Status:” it will be either Licensed or Unlicensed, which indicates activated or not. If you have more then one GUID listed for the channel, you should try each of them, as at least one should show Licensed.

 

If you didn’t activate before the grace period expired, you can also use slmgr.vbs to remotely activate. This can be done remotely by including the servername, username and password along with the –ato switch.

 

Andrew

Published Monday, July 10, 2006 5:27 PM by amason

Comments

 

M@W said:

How do I activate a core server installation remotely which doesnt have an internet connection. I have instaleld a product key but I have no way of getting a confirmation key. Any tips would be appreciated.

Cheers
September 24, 2006 2:04 PM
 

amason said:

To remotely activate a Server Core box you need to specify the server name on the command line, for example:
     Cscript slmgr.vbs \\server1 –ato

In the case of no Internet connection, you need to first call the activation phone number and get a confirmation ID. Then you can use the following command line:
    Cscript slmgr.vbs \\server1 –atp <confirmation ID>

September 26, 2006 1:31 PM
 

pjdg said:

How does one activate Vista and, in the future, Longhorn inside a virtual environment.  The way I understand it, the activation key is a combination of the hardware config and the licence key - how is this handled in the virtual world, either Microsoft or VMware's ESX ?

February 14, 2007 12:10 PM
 

ScriptEngine said:

Correction (I believe)

To verify if activation was successful you can run:

  Cscript slmgr.vbs –did

should read

  Cscript slmgr.vbs –DLI

(uppercase DLI used only for emphais can be lower case)

March 17, 2007 6:11 AM
 

Windows Server 2008 Core - Installation and Initial Configuration « Stief’s Technology Blog said:

July 2, 2007 8:21 PM
Anonymous comments are disabled

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker