<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: HOW TO: Load Specific Monitor Profile if device is being accessed via Remote Desktop app</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=b3092ad3-9a08-430b-9d0e-28b80f328000" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=b3092ad3-9a08-430b-9d0e-28b80f328000</link>
<description>DisplayFusion RSS: HOW TO: Load Specific Monitor Profile if device is being accessed via Remote Desktop app</description>
<lastBuildDate>Mon, 23 Nov 2026 09:11:39 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=b3092ad3-9a08-430b-9d0e-28b80f328000</generator>
<item>
<title>RE: HOW TO: Load Specific Monitor Profile if device is being accessed via Remote Desktop app</title>
<link>https://www.displayfusion.com/Discussions/View/how-to-load-specific-monitor-profile-if-device-is-being-accessed-via-remote-desktop-app/?ID=b3092ad3-9a08-430b-9d0e-28b80f328000#4</link>
<pubDate>Tue, 23 Nov 2021 18:26:14 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/how-to-load-specific-monitor-profile-if-device-is-being-accessed-via-remote-desktop-app/?ID=b3092ad3-9a08-430b-9d0e-28b80f328000#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
Strange, is the script on the machine that you are remoting into?
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
<br/>
Strange, is the script on the machine that you are remoting into?<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: HOW TO: Load Specific Monitor Profile if device is being accessed via Remote Desktop app</title>
<link>https://www.displayfusion.com/Discussions/View/how-to-load-specific-monitor-profile-if-device-is-being-accessed-via-remote-desktop-app/?ID=b3092ad3-9a08-430b-9d0e-28b80f328000#3</link>
<pubDate>Sat, 20 Nov 2021 04:47:29 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/how-to-load-specific-monitor-profile-if-device-is-being-accessed-via-remote-desktop-app/?ID=b3092ad3-9a08-430b-9d0e-28b80f328000#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello Owen -
Thanks for your reply! I entered & verified this function, but when I click "Run Function" nothing happens. Any ideas?
Code
Copy
Select All
using System;&#xA;using System.Drawing;&#xA;public static class DisplayFusionFunction&#xA;{&#xA;    public static void Run(IntPtr windowHan...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello Owen -<br/>
<br/>
Thanks for your reply! I entered & verified this function, but when I click "Run Function" nothing happens. Any ideas?<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code01a207ace0977690879ee7db23cd3602" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code01a207ace0977690879ee7db23cd3602Js'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code01a207ace0977690879ee7db23cd3602Js" name="code01a207ace0977690879ee7db23cd3602Js" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">using System;&#xA;using System.Drawing;&#xA;public static class DisplayFusionFunction&#xA;{&#xA;    public static void Run(IntPtr windowHandle)&#xA;    {&#xA;        // Set your monitor profile name here&#xA;        string profileName = &quot;Remote Single ACER&quot;;&#xA;        &#xA;        // Gets the number of monitors and if it equals 2, loads the monitor profile    &#xA;        if (System.Windows.Forms.SystemInformation.TerminalServerSession)&#xA;        {&#xA;            BFS.DisplayFusion.LoadMonitorProfile(profileName);&#xA;        }&#xA;    }&#xA;}</pre><textarea id="code01a207ace0977690879ee7db23cd3602" name="code01a207ace0977690879ee7db23cd3602" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: HOW TO: Load Specific Monitor Profile if device is being accessed via Remote Desktop app</title>
<link>https://www.displayfusion.com/Discussions/View/how-to-load-specific-monitor-profile-if-device-is-being-accessed-via-remote-desktop-app/?ID=b3092ad3-9a08-430b-9d0e-28b80f328000#2</link>
<pubDate>Wed, 03 Nov 2021 15:54:50 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/how-to-load-specific-monitor-profile-if-device-is-being-accessed-via-remote-desktop-app/?ID=b3092ad3-9a08-430b-9d0e-28b80f328000#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
You should be able to use this line to detect if the current session is an RDP session:
Code
Copy
Select All
// check if the script is running in an RDP session&#xA;if (System.Windows.Forms.SystemInformation.TerminalServerSession)&#xA;{&#xA;// Load monitor profile here&#xA;}
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
<br/>
You should be able to use this line to detect if the current session is an RDP session:<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code01a207ace0ae71619b728308956907e7" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code01a207ace0ae71619b728308956907e7Js'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code01a207ace0ae71619b728308956907e7Js" name="code01a207ace0ae71619b728308956907e7Js" spellcheck="true" class="skiptranslate" style="width:100%;min-height:75px">// check if the script is running in an RDP session&#xA;if (System.Windows.Forms.SystemInformation.TerminalServerSession)&#xA;{&#xA;// Load monitor profile here&#xA;}</pre><textarea id="code01a207ace0ae71619b728308956907e7" name="code01a207ace0ae71619b728308956907e7" style="position:absolute;top:0;left:-999999px;width:1px;height:1px"></textarea></div>
</div></div></div><br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>HOW TO: Load Specific Monitor Profile if device is being accessed via Remote Desktop app</title>
<link>https://www.displayfusion.com/Discussions/View/how-to-load-specific-monitor-profile-if-device-is-being-accessed-via-remote-desktop-app/?ID=b3092ad3-9a08-430b-9d0e-28b80f328000</link>
<pubDate>Tue, 02 Nov 2021 06:02:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/how-to-load-specific-monitor-profile-if-device-is-being-accessed-via-remote-desktop-app/?ID=b3092ad3-9a08-430b-9d0e-28b80f328000</guid>
<category>DisplayFusion</category>
<description><![CDATA[Is there a script that can automatically load a monitor profile when the computer is being accessed via RDP?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Is there a script that can automatically load a monitor profile when the computer is being accessed via RDP?
</div>
]]></content:encoded>
</item>
</channel>
</rss>