{"id":784,"date":"2018-07-20T16:15:53","date_gmt":"2018-07-20T16:15:53","guid":{"rendered":"https:\/\/ptfbpro.com\/automate\/?p=784"},"modified":"2018-07-20T16:15:53","modified_gmt":"2018-07-20T16:15:53","slug":"ptfb-pro-and-remote-desktop-a-new-release","status":"publish","type":"post","link":"https:\/\/ptfbpro.com\/automate\/ptfb-pro-and-remote-desktop-a-new-release\/","title":{"rendered":"PTFB Pro and Remote Desktop &#8211; a new release"},"content":{"rendered":"<p>Further to the\u00a0<a href=\"https:\/\/ptfbpro.com\/automate\/using-ptfb-in-conjunction-with-remote-desktop\/\" target=\"_blank\" rel=\"noopener\">previous post<\/a>\u00a0on using PTFB Pro on a machine that is primarily accessed through Remote Desktop, a new version of PTFB Pro is now available (v5.2.3.0). This version has an updated Help file, and ships with a ready-made batch (.bat) file designed to be used whenever you wish to close the remote desktop session window.<\/p>\n<p>The batch file contains an upgraded version of the TSCON command featured in the last blog post, like this:<\/p>\n<p>for \/f &#8220;skip=1 tokens=3&#8221; %%s in (&#8216;query user %USERNAME%&#8217;) do (<br \/>\n%windir%\\System32\\tscon.exe %%s \/dest:console\u00a0)<\/p>\n<p>Rather than assuming a fixed ID for the session, this small snippet of code gets the correct ID and uses this in the TSCON command.<\/p>\n<p>The new installer for PTFB Pro has an option to place a shortcut to the batch file on your desktop, for convenience. What&#8217;s more, the shortcut is marked as requiring Administrator privileges, so there&#8217;s no need to remember to use &#8220;Run as Administrator&#8221; when you launch it.<\/p>\n<p><a href=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2018\/07\/InstallerRDPOption.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-785\" src=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2018\/07\/InstallerRDPOption.png\" alt=\"\" width=\"499\" height=\"387\" srcset=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2018\/07\/InstallerRDPOption.png 499w, https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2018\/07\/InstallerRDPOption-300x233.png 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/a><\/p>\n<p>Serious thought was also given to including the registry hack that keeps the Remote Desktop session responsive when the window is minimized, i.e. this one:<\/p>\n<ol>\n<li>On your local computer, close all open Remote Desktop sessions.<\/li>\n<li>Launch the Registry editor (<i>regedit.exe<\/i>).<\/li>\n<li>Navigate to the following Registry key:<br \/>\n<strong>HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Terminal Server Client<\/strong><\/li>\n<li>Create a\u00a0<strong>DWORD<\/strong>\u00a0value named\u00a0<strong>RemoteDesktop_SuppressWhenMinimized<\/strong>\u00a0and set it to\u00a0<strong>2<\/strong>.<\/li>\n<li>Close the Registry Editor.<\/li>\n<\/ol>\n<p>Ultimately the decision was taken <strong>not<\/strong> to include this, as it may not be appropriate in all cases (for example, this registry modification is know to cause issues with some other 3rd party software), so don&#8217;t forget to apply this mod yourself if you need it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Further to the\u00a0previous post\u00a0on using PTFB Pro on a machine that is primarily accessed through Remote Desktop, a new version of PTFB Pro is now available (v5.2.3.0). This version has <a class=\"more-link\" href=\"https:\/\/ptfbpro.com\/automate\/ptfb-pro-and-remote-desktop-a-new-release\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[25],"tags":[],"class_list":["post-784","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/784"}],"collection":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/comments?post=784"}],"version-history":[{"count":0,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/784\/revisions"}],"wp:attachment":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/media?parent=784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/categories?post=784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/tags?post=784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}