remote desktop services infrastructure agent won't uninstall

Navnath Manere 0 Reputation points
2024-11-23T15:45:53.26+00:00

Unable to Connect to VDI, also unable to uninstall remote desktop services infrastructure agent won't uninstall. Need assistance to resolve the issue.

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,774 questions
{count} votes

1 answer

Sort by: Most helpful
  1. hossein jalilian 10,580 Reputation points Moderator
    2024-11-23T18:40:51.29+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    Force uninstall the agent: open Command Prompt as administrator and run the following command:

    msiexec /x {3E8E1E9F-B9A9-4971-A38B-8B1F58083F88} /qn
    

    If force uninstall fails, try manual removal: Stop the RDAgent and RDAgentBootLoader services and delete the following folders:

    C:\Program Files\Microsoft RDInfra
    C:\ProgramData\Microsoft\RDInfra
    

    Remove related registry keys under:

    HKLM\SOFTWARE\Microsoft\RDInfra
    

    Restart the VM and reinstall the AVD agent: Download the latest agent from the Azure portal and install with elevated privileges


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    1 person found this answer helpful.

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.