Forum Discussion

AsimKhan2023's avatar
AsimKhan2023
Brass Contributor
Jun 12, 2025

Create a Release Pipeline Agent in Azure DevOps

Hi, 

I am trying to install a new agent for my Azure DevOps. I have followed the instructions that Azure DevOps provides when trying to install/create a new agent, but I am constantly running into an issue when installing the agent mentioned in the following URL: 

https://learn.microsoft.com/en-us/dotnet/framework/install/application-not-started?version=(null)&processName=AgentService.exe&platform=0009&osver=6&isServer=0&shimver=4.0.30319.0

I am running .NET Framework 4.6.2 on my system, and I do not know how to create the agent on my local system, I keep running into this error. I have also updated my PAT for both GitHub and Azure DevOps.

Regards,
Asim Khan

 

 

2 Replies

  • AsimKhan2023's avatar
    AsimKhan2023
    Brass Contributor

    I made a mistake. I was installing the agent into the following directory C:\Windows\System32, whereas I should have been installing the agent into the correct directory that is C:\agent. 

    My small mistake. 

    Regards,
    Asim Khan

  • Try to fix by the following:

     

    1. Verify .NET Framework Installation
      • Ensure that .NET Framework 4.6.2 Developer Pack is installed, not just the runtime.
    2. Check Agent Compatibility
      • Azure DevOps Hosted Agents may not fully support .NET 4.6.2.
      • Consider using a self-hosted agent with the correct framework installed.
    3. Update Build Server Image
      • If using a hosted agent, check if your build server image supports .NET 4.6.2.
      • You may need to update your MSBuild arguments to explicitly target .NET 4.6.2.
    4. Check for Defender or Security Restrictions
      • Some security settings may block the AgentService.exe process.
      • Try running the installation as Administrator or temporarily disabling security software.

     

    azure devops - VSTS Hosted Build .Net Framework 4.6.2 - Stack Overflow

Resources