Forum Discussion

Karl-WE's avatar
Jun 05, 2026
Solved

Windows Server vNext cannot be activated

Error Code 0xC004F012 when trying to activate WS vNext Datacenter with Key 2KNJJ-33Y9H-2GXGX-KMQWH-G6H67. vbscript is removed, implying the future removal of this component from the OS.  It appea...
  • Artem Pronichkin's avatar
    Jun 22, 2026

    Hi Karl, thanks for reporting this.

    Can you please try running the following in elevated PowerShell? Let me know if you encounter the same (or a different) error.

     

    $key = '2KNJJ-33Y9H-2GXGX-KMQWH-G6H67'
    
    $sls = Get-CimInstance -ClassName 'SoftwareLicensingService'
    $arg = @{ 'ProductKey' = $key }
    Invoke-CimMethod -InputObject $sls -MethodName 'InstallProductKey' -Arguments $arg
    
    $slp = Get-CimInstance -ClassName 'SoftwareLicensingProduct' -Filter 'PartialProductKey <> null and ApplicationId = ''55c92734-d682-4d71-983e-d6ec3f16059f'''
    Invoke-CimMethod -InputObject $slp -MethodName 'Activate'
    
    $sls = Get-CimInstance -ClassName 'SoftwareLicensingService'
    Invoke-CimMethod -InputObject $sls -MethodName 'RefreshLicenseStatus'