# Several unwanted windows are opening on startup

**URL:** <https://forum.inductiveautomation.com/t/several-unwanted-windows-are-opening-on-startup/10411>\
**Category:** Ignition\
**Created:** [August 27, 2015, 11:24pm UTC](https://forum.inductiveautomation.com/t/several-unwanted-windows-are-opening-on-startup/10411 "2015-08-27T23:24:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DougSN](https://avatars.discourse-cdn.com/v4/letter/d/a9adbd/32.png) [@DougSN](https://forum.inductiveautomation.com/u/DougSN)\
**Post date:** [August 27, 2015, 11:24pm UTC](https://forum.inductiveautomation.com/t/several-unwanted-windows-are-opening-on-startup/10411/1 "2015-08-27T23:24:13Z")

</div>

My project has 6 windows, two of which are marked to open when the client launches: ‘Header’ and ‘Main Menu’.

When I launch the project, three additional windows are also opened: ‘Orders’, ‘Donations’, and ‘Partners’.

None of these are marked to open at startup, and I don’t have any navigation on the Main Menu or Header that should be launching them unless a button is pressed. Do you have any suggestions for where I should look to see what might be causing them to open? Perhaps some debugging tools that would enable me to see which window or component made the call to open the window?

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [August 28, 2015, 2:13am UTC](https://forum.inductiveautomation.com/t/several-unwanted-windows-are-opening-on-startup/10411/2 "2015-08-28T02:13:17Z")

</div>

check your client startup scripts??

---

<div class="post-metadata">

**Author:** ![DougSN](https://avatars.discourse-cdn.com/v4/letter/d/a9adbd/32.png) [@DougSN](https://forum.inductiveautomation.com/u/DougSN)\
**Post date:** [August 29, 2015, 8:11pm UTC](https://forum.inductiveautomation.com/t/several-unwanted-windows-are-opening-on-startup/10411/3 "2015-08-29T20:11:50Z")

</div>

My startup scripts are blank, for both the client and the gateway.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 29, 2015, 10:08pm UTC](https://forum.inductiveautomation.com/t/several-unwanted-windows-are-opening-on-startup/10411/4 "2015-08-29T22:08:50Z")

</div>

Temporarily turn off the auto-start windows – that should make the app start with a blank screen. If not, then some event script is doing it.

If the extra windows cease when the others are stopped, then some script in one of those windows is responsible. In that case, turn just one back on to see which is responsible (or partly responsible).

As far as I know, there’s no debug information that’ll tell you what opened a window. You could get close to that yourself if you added console print statements everywhere you have an openWindow() or swapWindow() call.

---

<div class="post-metadata">

**Author:** ![DougSN](https://avatars.discourse-cdn.com/v4/letter/d/a9adbd/32.png) [@DougSN](https://forum.inductiveautomation.com/u/DougSN)\
**Post date:** [August 30, 2015, 11:24pm UTC](https://forum.inductiveautomation.com/t/several-unwanted-windows-are-opening-on-startup/10411/5 "2015-08-30T23:24:07Z")

</div>

That’s a great idea, thank you! I’ll give that a shot when I have a chance.
