<p>You might have noticed that procedure is not the same when trying to publish .rdp file on Citrix XenApp v7.x farm as it was with previous versions.</p>
<p><img class="alignnone size-full wp-image-554" src="https://www.wincert.net/wp-content/uploads/2015/01/citrix.jpg" alt="Citrix Box,xenapp,citrix,server,ica,symantec,libraries,license,installer,publish,console,client,publisher,wfshell" width="720" height="340" /></p>
<p>While migrating apps from the old Citrix Xenapp v6.5 farm to v7.19 I have tried to publish .rdp file in the following way:</p>
<p><img class="alignnone size-full wp-image-3811" src="https://www.wincert.net/wp-content/uploads/2020/07/publish-rdp-file-3.png" alt="" width="727" height="116" /></p>
<p>Unfortunately, this is not working anymore, even though there is a tutorial on how to do this on <a href="https://support.citrix.com/article/CTX127051" target="_blank" rel="noopener noreferrer">Citrix knowledge base</a>.</p>
<p><img class="alignnone size-full wp-image-3812" src="https://www.wincert.net/wp-content/uploads/2020/07/publish-rdp-file.png" alt="" width="511" height="176" /></p>
<p>Once you start the app you&#8217;ll probably receive an error with the name of the .rdp file that you have published.</p>
<p>So, to finally get this to work I have published this application on <strong>XenApp v7.19</strong> in the following way.</p>
<p><strong>Path to the executable file:</strong><br />
C:\Windows\System32\mstsc.exe</p>
<p><strong>Command-line argument (optional)</strong><br />
Location to .rdp file (I have used the same location as mstsc.exe)</p>
<p><img class="alignnone size-full wp-image-3813" src="https://www.wincert.net/wp-content/uploads/2020/07/publish-rdp4.png" alt="" width="623" height="263" /></p>
<p>After the change the published RDP connection with defined parameters saved in the .RDP file started working perfectly.</p>
<p>Hope this helps.</p>