Windows Server activeren

Ik had grote moeite om windows server te activeren na de evaluatie periode. het lijkt er op dat je hem wel nog kan activeren nadat je trial is verlopen maar dan moet je eerst de server editie weer veranderen.

https://www.checkyourlogs.net/how-to-activate-windows-server-2019-evaluation-edition-with-vlsc-mak-key-or-retail-key-windowsserver-mvphour/

You can activate windows evaluation version using Volume license key in a tricky way.

If you have OEM or retails key you can use slmgr /ipk to install new product key and slmgr /ato to activate windows.

But to activate volume license key use follow the below procdure .

Run this command as administrator
Check your current edition of windows using the below command

DISM /online /Get-CurrentEdition

Refer the below URL and find the product for your current edition (I was installed windows 2019 standard and product i taken from below URL
is N69G4-B89J2-4G8F4-WWYCC-J464C is windows server LTSC/LTSB edition)

https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys

Then remove the existing key using below command

slmgr /cpky —- remove key from registry
slmgr /upk —uninstall the product key

run the following command in command prompt as admin

DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula

if command run successfully, it will prompt to restart server.

After restart run the below command as administrator

slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-904CC-J462D (My volume license key, use your key instead)

slmgr /ato ( to activate windows )

This is works for me.

of deze:

Convert Windows Server 2019 Evaluation to the retail edition

Vladan Segetdeploymentwindows server32 You might be looking into the possibility to convert the Windows Server Evaluation edition to the retail edition. We’ll look at how to install a license key to transform Windows Server 2019 from the Evaluation version to the retail one.

Active Directory Management, Automated Provisioning, Delegation, Self-Password Reset

Download Adaxes now!Ad

Vladan SegetVladan Seget is an independent consultant, professional blogger, vExpert 2009-2020, VCAP-DCA/DCD and MCSA. He has been working for over 20 years as a system engineer.Contents of this article

Microsoft calls this license conversion. In some releases of Windows Server, you can also freely convert among OEM, volume-licensed, and retail versions with the same command and the appropriate key.

Improve Active Directory password security with Group Policy

Download Specops Password Policy!Ad

Cases in which you run an evaluation and then need to convert it to retail are numerous. Yes, this is really useful for environments created for a proof-of-concept (POC) purpose that then decide to go to production. In such cases, it’s a great time-saver because you don’t have to start from scratch.

Some features of Windows Server 2019 need the Datacenter edition instead of the Standard edition installed. You should know you can also convert the Standard to the Datacenter edition without reinstalling, and this post will show you how.

Active Directory Management, Automated Provisioning, Delegation, Self-Password Reset

Download Adaxes now!Ad

The possibility of converting a Microsoft OS isn’t new, but previously, back in the day, this was not really possible.

Although in this post we’ll focus only on converting licenses or editions, you might be looking also for upgrade options. There’s support for some use cases but not others.

Supported and unsupported cases ^

There are situations when an upgrade won’t work. Let’s have a look.

If you think that upgrading between server versions is easy, it might be in some situations. You should not underestimate it. But you need to be aware of some considerations first.

Here are a couple of known facts about upgrading from a previous release of Windows Server (WS 2012 or WS 2016):

  • There’s no support for upgrading from one language to another. You’ll have to upgrade to the same language. You can then change the language UI only.
  • If you have a domain controller (DC), you’ll need to run a Forestprep and Domainprep prior to the upgrade. You should follow the usual Microsoft checklist concerning DCs before the upgrade.
  • There’s no support for converting the Core edition to Server with the UI, even though some sources have been saying Microsoft will finally implement this in WS 2019. They have not.
  • You can’t downgrade from Standard back to Eval. There’s no support for upgrading from a previous Windows Server installation to an evaluation copy. You can and should install evaluation versions as clean installs.
  • You can convert the evaluation version of Windows Server 2019 Standard to either Windows Server 2019 Standard (retail) or Datacenter (retail).

Upgrade Windows Server 2019 Evaluation to Full ^

If you have installed Windows Server 2019 StandardEvaluation or DatacenterEvaluation, you have essentially only 180 days to test any features of the new server platform version. This might be enough for some but not for others.

During this period, all features of Windows Server 2019 are fully working and available. However, after the trial period is over, the system starts to ask for activation and powers down every hour. This is quite annoying.

The Windows License expiration notice displays on regular basis.

This edition cannot be upgraded

First, check the version that’s running with this command:

1DISM /online /Get-CurrentEdition

You’ll see a message about the edition you currently have.

Get the current edition

Now we can get the list of editions you can convert your current Eval edition to:

1DISM /online /Get-TargetEditions

And you should get this output:

Get target editions

To upgrade to the edition you want, you can run a PowerShell command to perform the actual edition upgrade. You’ll need, however, a valid serial number to do this.

Run this command:

1DISM /online /Set-Edition: /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

So to upgrade from Eval to Standard, use this command:

1DISM /Online /Set-Edition:ServerStandard /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula

From Eval to Datacenter, use this command:

1DISM /Online /Set-Edition:ServerDatacenter /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula

You’ll get a prompt to reboot the server during which the server will change its edition.

The server will run through the image-conversion process and then restart twice. After the server reboots, you’ll need to reactivate it and enter the key again.

How to convert the Standard edition to Datacenter ^

This is basically the same process as above. The main difference is the system we’re on is on Standard already, not Eval.

We’ll be using PowerShell, even if apparently other ways exist. From an elevated command prompt, use this command:

1DISM /online /Get-CurrentEdition

You’ll see a message about the edition you currently have.

Get the current edition Standard

Then simply run this command, which is the same as the one to go from Eval Standard to Datacenter:

1DISM /Online /Set-Edition:ServerDatacenter /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula

You must enter a valid product key to continue with the upgrade process. It’ll ask you to reboot.

It’s worth noting that if you’ve used an evaluation edition to build a DC for your POC, you can’t change the edition. You’ll either need to build a new DC, demote the evaluation edition DC, or convert Eval to Standard (or Datacenter) and then promote it again for a DC.

You can also use this command to change your edition between other types, such as Datacenter or Essentials.

By simply running a few PowerShell commands, you can check the currently installed edition, see which version you can upgrade to, and also run the actual upgrade PowerShell command.

How to Upgrade Windows Server 2019/2016 Evaluation to Full Version?

If you have installed Windows Server 2019 / Windows Server 2016 StandardEvaluation or DatacenterEvaluation edition to try the new features of the Microsoft server platform (you can download Windows Server 2019 Free Trial or Windows Server 2016 Evaluation here after registering), you have 180 days to test it. During this period, all features of Windows Server 2019/2016 are available to you.

At any time, you can display the grace period expiration date for your Windows Server Evaluation edition:
Slmgr /dli

You can see the product name, description (TIMEBASED_EVAL channel) and activation expiration time.There is a way to extend your Windows Server Evaluation period by 180 days using the command: slmgr /rearm

You can extend your Windows Server trial period for up to 5 times. Thus, the maximum lifespan of Windows Server Free Trial can be extended to 3 years = 180 days * 6 (however, under the terms of using Evaluation versions of Microsoft, you shouldn’t use the trial version for commercial purposes).

After the expiration of the trial period, the system starts asking for activation and shutting down every hour with the following events in the Event Viewer:
Log Name: System
Source: USER32
Event ID: 1074
Description:
The process C:\Windows\system32\wlms\wlms.exe Server1 has initiated the shutdown of computer Server1 on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)
Reason Code: 0x80000000
Shutdown Type: shutdown
Comment: The license period for this installation of Windows has expired. The operating system is shutting down.

Or:
Log Name:   Application
Source:       WLMS
Event ID:     100
Description: The license period for this installation of Windows has expired. The operating system will shut down every hour.

Also, you see the notification Windows License is expired on your desktop.

This article should help you if you performing productive tasks in the evaluation version of Windows Server and want to upgrade it to full Windows Server edition, while keeping your data and without need to completely reinstall the operating system.Contents:

If you try to specify the KMS or the Retail/MAK product key for the Windows Server Evaluation edition, the following warning appears: “This edition cannot be upgraded”.

Windows Server 2016: This edition cannot be upgraded

When you try to install the retail key using the slmgr tool (slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx) you will receive the error:

Error: 0xC004F069. On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0xC004F069’ to display the error text.

slmgr /ipk Error: 0xC004F069. On a computer running Microsoft Windows non-core edition

But not everything is so sad :).

You can use DIM to verify if you are using Windows Server Evaluation edition. Run an elevated command prompt and execute the command:

DISM /online /Get-CurrentEdition

DISM /online /Get-CurrentEdition - ServerStandardEval

As you can see, the Current Edition line indicates that the current Windows version is — ServerStandartEval.

Get the list of Windows Server editions to which you can upgrade your current Eval edition:

DISM /online /Get-TargetEditions

DISM /online /Get-TargetEditions

As you can see, the current ServerStandardEval edition has been upgraded to the following Windows Server 2016 / Windows Server 2019 editions: ServerDatacenter or ServerStandard.

Upgrade Restrictions for Windows Server Evaluation

Here are some upgrade restrictions that you need to know before converting Windows Server Evaluation to the full edition:

  • You can convert only the full GUI version of Windows Server. Server Core or Nano Server can’t be converted this way;
  • You cannot upgrade a server with a domain controller role (Active Directory Domain Services role). You must demote the DC and uninstall this role first;
  • It is unable to upgrade from the Windows Server Eval Datacenter to Windows Server Standard Full.

Windows Server 2016: Converting Evaluation to Licensed Version

To upgrade Windows Server Evaluation to a full version, you need to use a public KMS (GVLK) key for Windows Server 2016. The conversion is performed via the command prompt using DISM. For example, to upgrade your Eval edition to the Retail version of Windows Server 2016 Standard, use the command:

dism /online /set-edition:ServerStandard /productkey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /accepteula

dism /online /set-edition:ServerStandard /productkey

If you specify your retail or MAK key instead of a public GVLK key in the DISM command, an error will appear:

Error 1168
The specified product key could not be validated.
Check that the specified product key is valid and that it matches the target edition.

Error 1168 The specified product key could not be validated

Some users complain that sometimes when you run a DISM /set-edition command, it hangs by 10%. In this case, we recommend you find and stop the Software Protection Service and disable Internet access (you can even disconnect the Ethernet cable from the LAN).Note. To upgrade Windows Server 2016 Eval to Datacenter edition, you need to use another GVLK key. The command will look like this:

DISM /online /Set-Edition:ServerDatacenter /ProductKey:CB7KF-BWN84-R7R2Y-793K2-8XDDG /AcceptEula

After you run this command, wait for the message Command completed successfully (in some cases it may take several hours!!!). After that restart your server and make sure you have a full Standard edition installed.

winver.exe

winver

If a KMS server is deployed in your local network, you can use it to activate your Windows Server OS with the following commands:

slmgr /ipk WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY (it is a GVLK key for Windows Server 2016 Standart, another product key is used for Datacenter, it is listed above)
slmgr /ato

If there is no KMS server, you can specify your MAK or Retail product key for Windows Server and activate the OS as usual: via the Internet or by phone.

Windows Server 2019: Upgrading Evaluation to Full Version

To convert Windows Server 2019 EVAL to a full edition, you need to use the GVLK (KMS) keys for Windows Server 2019. You can upgrade Windows Server 2019 edition the same way.

Convert Windows Server 2019 Evaluation to Windows Server 2019 Standard:

dism /online /set-edition:ServerStandard /productkey:N69G4-B89J2-4G8F4-WWYCC-J464C /accepteula

Convert Windows Server 2019 Evaluation to Windows Server 2019 Datacenter edition:

dism /online /set-edition:ServerDatacenter /productkey:WMDGN-G9PQG-XVVXX-R3X43-63DFG /accepteula