[Azure] Installing windows feature on Windows Server 2025 takes longer time

Rushikesh Gaidhani 161 Reputation points
2025-04-28T23:11:13.4733333+00:00

Hello,

I am trying to install Windows features on a Azure VM with a Windows 2025 Datacenter Azure marketplace image. The install of the feature takes longer time than compare to the previous Windows 2022 Datacenter Azure marketplace image (Please note that I've not made any modifications to the image).

Has there been a change in the new Windows 2025 Datacenter Azure image that could be causing this delay?

User's image

User's image

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,743 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wagner Silva 0 Reputation points Microsoft Employee
    2025-05-03T14:15:11.1333333+00:00

    Hi,

    1. Repair the System Image with DISM

    Open Command Prompt as administrator and run the following commands:

    dism /online /cleanup-image /scanhealth

    dism /online /cleanup-image /restorehealth

    These commands check and fix the integrity of system files. After completion, restart the server and try to install the feature again.

    2. Run the System File Checker (SFC)

    Open Command Prompt as administrator and run:

    sfc /scannow

    This command checks and repairs corrupted system files. After completion, restart the server and try to install the feature again.

    3. Check and Fix Language Packs

    If the server was installed with an incorrect language pack or if there are additional installed language packs, this may cause issues with installing features. Run the following command to check and remove unwanted language packs:

    lpksetup /u <Package_ID>

    Replace <Package_ID> with the identifier of the language pack you want to remove. After removal, restart the server and try to install the feature again.

    4. Install Pending Updates

    Check for pending updates in Windows Update and install them. Some updates may fix issues related to feature installation. After installing updates, restart the server and try installing the feature again.

    5. Perform a Repair Installation

    If the above solutions don’t resolve the issue, consider performing a repair installation of Windows Server. To do this, mount the Windows Server 2019 installation media with the correct language pack and run setup.exe as administrator. Choose the option to keep existing files and applications. This operation reinstalls the operating system without affecting existing data.

    f the problem persists after trying these solutions, it is recommended to contact Microsoft support for further assistance.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.