<?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: Monitor Profiles Not Restoring Windows to Proper Monitors</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=00d310af-43c9-4d1d-8d69-08b6bfb7375c" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=00d310af-43c9-4d1d-8d69-08b6bfb7375c</link>
<description>DisplayFusion RSS: Monitor Profiles Not Restoring Windows to Proper Monitors</description>
<lastBuildDate>Wed, 24 Jun 2026 11:57:11 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=00d310af-43c9-4d1d-8d69-08b6bfb7375c</generator>
<item>
<title>RE: Monitor Profiles Not Restoring Windows to Proper Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#6</link>
<pubDate>Thu, 01 Dec 2016 17:12:32 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Glad to be of service]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Glad to be of service <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor Profiles Not Restoring Windows to Proper Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#5</link>
<pubDate>Wed, 30 Nov 2016 03:59:50 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[This was exactly what I needed! I just tried it out and it does exactly what I need. Thanks so much!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
This was <b>exactly</b> what I needed! I just tried it out and it does exactly what I need. Thanks so much!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor Profiles Not Restoring Windows to Proper Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#4</link>
<pubDate>Wed, 30 Nov 2016 02:53:24 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Wow, this is awesome! I'm definitely going to try this out. Thank you!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Wow, this is awesome! I'm definitely going to try this out. Thank you!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor Profiles Not Restoring Windows to Proper Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#3</link>
<pubDate>Wed, 23 Nov 2016 15:54:48 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi,
I had a similar issue with 4 network monitoring screens at work that are HDMI attached so windows would move around if a screen was turned off accidentally. I created 2 monitor profiles (essentially 'all 4 on' and 'none') and with the help of the 'list open window information' script here wr...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi,<br/>
<br/>
I had a similar issue with 4 network monitoring screens at work that are HDMI attached so windows would move around if a screen was turned off accidentally. I created 2 monitor profiles (essentially 'all 4 on' and 'none') and with the help of the 'list open window information' script here wrote a browser control script that would detect the required browsers' presence and move the windows back accordingly, starting new instances if any had crashed. I haven't uploaded it to the community yet.<br/>
<br/>
However, if you need things other than browsers you could use this simple one as a start:<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="#code019ef97dcc7574c29d3d489996303fd6" 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('code019ef97dcc7574c29d3d489996303fd6Js'); 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="code019ef97dcc7574c29d3d489996303fd6Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

public static class DisplayFusionFunction
{
public static void Run()
{
        // Get all window handles
        IntPtr[] windowHandles = BFS.Window.GetAllWindowHandles();
        
        // Loop through the window handles and if their title contains *all subreddits*Waterfox* or *Inbox*Waterfox*, move them to monitor 3 and maximize
        foreach (IntPtr window in windowHandles)
        {
            string windowTitle = BFS.Window.GetText(window);
            if (windowTitle.Contains("Engineering") && windowTitle.Contains("Summary")) 
                BFS.Window.MoveToMonitorMaximized(3, window);
            if (windowTitle.Contains("Internet") && windowTitle.Contains("Explorer")) 
                BFS.Window.MoveToMonitor(2, window);
            //if (windowTitle.Contains("Current") && windowTitle.Contains("Assignment")) 
            //    BFS.Window.MoveToMonitorMaximized(2, window);
            //if (windowTitle.Contains("Current") && windowTitle.Contains("Support")) 
            //    BFS.Window.MoveToMonitorMaximized(2, window);
            }
}
}</pre><textarea id="code019ef97dcc7574c29d3d489996303fd6" name="code019ef97dcc7574c29d3d489996303fd6" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
Change the search strings to match your usual active window titles and assign to a trigger that fires on change of monitor profile, eg when the TV turns off.<br/>
<br/>
You can also assign a hotkey sequence to it to run at any time.<br/>
<br/>
Cheers<br/>
<br/>
W
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Monitor Profiles Not Restoring Windows to Proper Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#2</link>
<pubDate>Tue, 22 Nov 2016 04:40:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I should mention as well that this evening, I tried to see if there was a way I could just move the windows that end up on the wrong screen to the proper screen by using a Monitor Profile Changed trigger. Unfortunately, while you can pick a scripted action to move a window to a screen, you can't ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I should mention as well that this evening, I tried to see if there was a way I could just move the windows that end up on the wrong screen to the proper screen by using a Monitor Profile Changed trigger. Unfortunately, while you can pick a scripted action to move a window to a screen, you can't specify the process name when using Monitor Profile Changed. I tried creating a custom Manage Window action as well but while I could select an application's window to generate sizing parameters and such, it didn't seem to retain the actual process name.
</div>
]]></content:encoded>
</item>
<item>
<title>Monitor Profiles Not Restoring Windows to Proper Monitors</title>
<link>https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c</link>
<pubDate>Mon, 21 Nov 2016 05:23:05 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/monitor-profiles-not-restoring-windows-to-proper-monitors/?ID=00d310af-43c9-4d1d-8d69-08b6bfb7375c</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hey all. I'm not sure if this can be dealt with or not but I'm hoping so. I'm using DisplayFusion profiles to switch between two configurations: One is both of my monitors on my desk and the other is just my TV, which is plugged into an HDMI port. I switch between them when I'm playing games on t...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hey all. I'm not sure if this can be dealt with or not but I'm hoping so. I'm using DisplayFusion profiles to switch between two configurations: One is both of my monitors on my desk and the other is just my TV, which is plugged into an HDMI port. I switch between them when I'm playing games on the couch or just at my desk. The problem is, when I switch back from the TV, all of the windows that were on the primary display suddenly end up on my second monitor and have to be manually dragged back to my main monitor.<br/>
<br/>
I'm not sure why this is as the monitor these windows normally live on is configured as Primary Display on that profile and obviously, the TV is Primary Display on its profile as it's the only one being used. It's a real pain to have a pile of applications on the wrong monitor when I switch back from the TV.<br/>
<br/>
Anyone potentially know a solution to this? Thanks so much!
</div>
]]></content:encoded>
</item>
</channel>
</rss>