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,443 questions
0 comments No comments
{count} votes

Accepted answer
  1. MotoX80 31,561 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: Most helpful
  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. Jerry 26 Reputation points
    2022-05-17T11:04:14.267+00:00

    202356-dism-online.jpg


  3. Jerry 26 Reputation points
    2022-05-17T11:11:11.97+00:00

    I'm sorry. Obvious mistake. When i write commands:
    DISM / online / Get-CurrentEdition
    DISM / online / Get-TargetEditions

    Commands do not return a result. They hang.

    0 comments No comments

  4. Docs 15,141 Reputation points
    2022-05-17T12:02:52.62+00:00

    From what you've posted it appears that they would display error 87 due to spacing.

    For the command there should be a space before / and no space after /

    Try the spacing as in these commands:

    Microsoft Windows [Version 10.0.19043.1706]
    (c) Microsoft Corporation. All rights reserved.

    C:\WINDOWS\system32> DISM /online /Get-CurrentEdition

    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844

    Image Version: 10.0.19043.1706

    Current edition is:

    Current Edition : Professional

    The operation completed successfully.

    C:\WINDOWS\system32> DISM /online /Get-TargetEditions

    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844

    Image Version: 10.0.19043.1706

    Editions that can be upgraded to:

    Target Edition : ProfessionalEducation
    Target Edition : ProfessionalWorkstation
    Target Edition : Education
    Target Edition : ProfessionalCountrySpecific
    Target Edition : ProfessionalSingleLanguage
    Target Edition : ServerRdsh
    Target Edition : IoTEnterprise
    Target Edition : Enterprise

    The operation completed successfully.

    C:\WINDOWS\system32>

    .
    .
    .
    .
    .

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

    0 comments No comments