DISM hangs on... didn't finish command

Jerry 26 Reputation points
2022-05-16T11:43:59.227+00:00

Hello,
I have Windows 2019 Server Standard Evaluation. I would like to convert system to Windows Server DataCenter.
When I use: Slmgr /dli see "...Timebased activation expiration: 87798 minute(s) (61 day(s))
but... DISM /online... with all parameters :( ... not finished-hung
This is not Domain Controler. Server have Hyper-V and working vm.
Server is configured with NIC-Team.

Command:
DISM / online / Get-CurrentEdition
DISM / online / Get-TargetEditions
hangs on
Current version is
_

Editions that can be upgraded to:
_

and... nothing next

Any idea?
Thank and best regards
Jerry

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,467 questions
0 comments No comments
{count} votes

Accepted answer
  1. MotoX80 31,581 Reputation points
    2022-05-16T16:57:00.553+00:00

    DISM / online / Get-CurrentVersion
    DISM / online / Get-TargetVersions

    I believe that the commands that you want are:

    DISM /online /Get-CurrentEdition  
    DISM /online /Get-TargetEditions  
    

    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-windows-edition-servicing-command-line-options?view=windows-11


7 additional answers

Sort by: Newest
  1. Jerry 26 Reputation points
    2022-05-18T20:16:34.997+00:00

    Very Thanks for all answers.
    The solutions was... reboot server :O
    Now, when I run:
    DISM /online /Get-TargetEditions

    My result:
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1697

    Image Version: 10.0.17763.2628

    Editions that can be upgraded to:

    Target Edition : ServerStandard
    Target Edition : ServerDatacenter

    The operation completed successfully.

    :)
    Best regards

    1 person found this answer helpful.
    0 comments No comments

  2. Limitless Technology 39,361 Reputation points
    2022-05-18T14:37:38.04+00:00

    Hi Jerry-2528,

    You should be able to convert the evaluation version to the datacenter version. You hopefully don't need to run the command you mention.

    Run this command:

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

    From Eval to Datacenter, use this command:

    DISM /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.


    --If the reply is helpful, please Upvote and Accept as answer--


  3. Docs 15,141 Reputation points
    2022-05-17T20:21:08.983+00:00

    Please run administrative command prompt:

    msdt.exe -id WindowsUpdateDiagnostic
    sfc /scannow
    dism /online /cleanup-image /scanhealth
    dism /online /cleanup-image /restorehealth

    For the WIndows troubleshooter click view detailed information > for any fix or fail to fix post images or share links into this thread

    .
    .
    .
    .
    .

    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post there is /\ with a number: click = a helpful post
    .
    .
    .
    .
    .


  4. Jerry 26 Reputation points
    2022-05-17T15:06:41.03+00:00

    I am typing the command correctly.
    DISM /online /Get-CurrentEdition

    and no result after (nothing! No number of error, information about log, only text as below):

    Image Version: 10.0.17763.2628
    Current edition is:

    -
    ! photo above - part of blue window PowerShell

    0 comments No comments