If you don't want to use the SecureAuth script, see Converting a current evaluation version to a current retail versionfrom Technet's articleUpgrade Options for Windows Server 2012 R2 to perform the upgrade manually.
This script automates the processes related to converting your Evaluation Key of Windows Server 2012 r2 to Full Retail Version.
Before you can perform this procedure, obtain a Product Key Code.
Upgrading is Performed Online Only
For customers who want to use the SecureAuth Appliance offline, you must connect to the internet to upgrade your evaluation license to a production license. Once the upgrade is complete, close the ports to use the appliance offline.
Converting the Eval Script
ACCEPTANCE OF TERMS: This batch file is provided "as is" with no express or implied warranty. SecureAuth Corporation accepts no responsibility or liability under any circumstances for any loss or damage of any kind incurred as a result of its use. You hereby agree that SecureAuth Corporation cannot be held liable in any way for any loss related to its use. You agree that you must evaluate, and bear all risks associated with the use of this batch file including any reliance, completeness, or usefulness. If you do not agree to these terms, do not proceed.
To run the Convert_Eval_Product_2012StandardServer.bat script
On your SecureAuth Appliance, navigate to D:\MFCApp_Bin\Extras\2012 Server to locate the script.
ECHO Running Admin shell
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )
ECHO Invoking UAC for Privilege Escalation
ECHO Set UAC = CreateObject^("Shell.Application"^) > "%temp%\OEgetPrivileges.vbs"
ECHO UAC.ShellExecute %0, "", "", "runas", 1 >> "%temp%\OEgetPrivileges.vbs"
setlocal & pushd .
echo Please enter the product key provided to you at the time of purchase.
echo Be sure there are no additional spaces before or after.
echo This key is used in the conversion process. The product key will have
echo to be entered again at the time of activation.
set /p prodkey= (xxxxx-xxxxx-xxxxx-xxxxx-xxxxx):
if (%prodkey%)==() goto tof
if not (%prodkey%)==() goto prdkeyfnd
echo The following product key was entered. please verify this is correct.
set /p isthiscorrect=Is this product key correct? (yes, no, exit)
if (%isthiscorrect%)==() goto prdkeyfnd
if /i (%isthiscorrect%)==(y) goto convert
if /i (%isthiscorrect%)==(yes) goto convert
if /i (%isthiscorrect%)==(n) goto tof
if /i (%isthiscorrect%)==(no) goto tof
if /i (%isthiscorrect%)==(exit) goto eof
if not (%isthiscorrect%)==() goto prdkeyfnd
echo When conversion is complete the system will have to be restarted two (2) times.
echo Please enter "Y" to restart the system when prompted.
echo There are a series of cleanup steps which will occur.
echo When you are presented with the log on prompt, log on
echo and restart the system again.
echo The Restarts are required for all changes to take effect.
echo The process of conversion and cleanup can take between 10 and 45 minutes.
echo Allow the RESTART process to complete each time.
echo After both restarts have completed, please activate via the standard activation methods.
echo You will need to enter your product key for activation.
dism /online /set-edition:serverstandard /productkey:%prodkey% /accepteula
Copy and paste your Product Key Code into the command prompt and press ENTER.
Enter Yes and press ENTER when asked to verify that this is your product key. A 20-second countdown begins.
(Optional) Press any key to interrupt the countdown and continue. Your server automatically restarts.
Once the computer restarts, completely shut down the computer for a cold boot. The cold boot initiates a clean-up of the server. This takes between 15-45 minutes.
Access the Server Manager once the computer has restarted.
Select Product ID and enter in your Product KEY once more if required. Your Server should now be Activated
If you are not sure which product key is being used on a server, you can use third-party tools to verify which product key is currently installed. We use NirSoft's ProduKey. Instructions are included for your convenience.
To use the ProduKey Tool
Download the ProduKey Tool from the NirSoft website.
Click the produckey_setup to install the tool. Once the ProduKey is installed, it automatically opens to display the product keys you are using.