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

Rushikesh Gaidhani 166 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.


1 answer

Sort by: Oldest
  1. Alex Burlachenko 25,120 Reputation points MVP Volunteer Moderator
    2025-05-05T16:02:05.18+00:00

    Dear Rushikesh Gaidhani,

    thank you for your question regarding the installation time differences between Windows Server 2022 and 2025 on Azure VMs. While Microsoft has not officially documented specific changes in Windows Server 2025 that would directly cause slower feature installations, the increased duration (1 minute 43 seconds vs. 15 seconds) could be attributed to Enhanced Security Scans Windows Server 2025 may perform more thorough validation of feature components before installation.

    Updated Dependencies Features like File-Services might have expanded dependencies in newer OS versions.

    Azure Image Optimizations The 2025 Azure Edition could include additional telemetry or background processes during setup.

    For deeper investigation, you can par example

    Compare installation logs (Get-WindowsFeature -LogPath <path>) between versions.

    Check for known issues in the Windows Server 2025 Release Notes.

    Monitor real-time resource usage during installation using PerfMon or Azure VM Metrics.

    If this is impacting workflows, consider scripting the installation with -Restart (if acceptable) to automate the post-install reboot.

    Best regards,
    Alex
    P.S. If my answer help to you, please Accept my answer
    PPS That is my Answer and not a Comment
    

    Was this answer helpful?


Your answer

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