


The benefits of using an XML file as an input template is that we can customize later on or having multiple versions without changing (with reasonable and valid settings for RDMan) our code/script, but just re-run it will give us a different output. The following step is creating an XML Template. We can filter AD Computer by OU(Organisational Unit), by OperatingSystem, Name, TAG, etc. Feel free to adapt the script to your needs. Most probably AD is your primary Source of Truth in our company for the windows environment. The content can be stored or imported from a file txt/csv or even AD.

NET Framework.įirst of all, we need to gather a list of servers in our environment/infrastructure. In this article, I’ll show how to generate an RDG file with a little bit of help offered by PowerShell and the. One thing is being tempted, another thing is starting to code without even thinking of the end goal. One of them, for example, is re-invent the wheel, building your own template generator instead of using a parser or a built-in library that manipulates XML. I would recommend being extra cautious when opening an RDG file from an unknown, or unfamiliar source, as to not fall foul of the security issue.There are ways that are quick and dirty and in general, you need to avoid. So that being said, I plan on continuing to use it for now. That being said I always found myself coming back to Remote Desktop Connection Manager due to it's ease of use, and the fact it's not reliant on the App Store, which is especially useful on Server Environments which by default do not have the App Store installed. Microsoft's official stance on this, is to use a more modern tool such as the Windows App, or built in Remote Desktop Connection Client (MSTSC), stating that these newer tools receive security updates on a regular basis. I have uploaded the installer for Remote Desktop Connection Manager v2.7 to my Google Drive for safe keeping, the link can be found below:ĭownload Remote Desktop Connection Manager v2.7 "To exploit the vulnerability, an attacker could create an RDG file containing specially crafted XML content and convince an authenticated user to open the file," Microsoft said in a security advisory for CVE-2020-0765. Recently Microsoft has discontinued this tool, due to a security bug: Back in the late 2000s Microsoft released Remote Desktop Connection Manager, which gained popularity due to not many alternatives being around at the time, this is a tool which I use regularly, as do many others.
