# Win 10 and 11 updates breaks --no-console

**URL:** https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/19142
**Category:** Support
**Created:** [October 22, 2022, 7:51am UTC](https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/19142 "2022-10-22T07:51:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![abjork](https://forum.syncthing.net/user_avatar/forum.syncthing.net/abjork/32/12921_2.png) [@abjork](https://forum.syncthing.net/u/abjork)
#### Post date: [October 22, 2022, 7:51am UTC](https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/19142/1 "2022-10-22T07:51:13Z")

</div>

Innstalled the latest updates for Windows 10 (KB5018410) and 11 (KB5019509) on two separate computers.

I’ve been starting syncthing.exe with --no-console. This switch does no longer work correctly. A console window is launch and minimized, not hidden.

Has anyone experienced the same?

---

<div class="post-metadata">

### Author: ![tomasz86](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tomasz86](https://forum.syncthing.net/u/tomasz86)
#### Post date: [October 22, 2022, 7:57am UTC](https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/19142/2 "2022-10-22T07:57:54Z")

</div>

Do you use Windows Terminal by any chance? If yes, have you set is as the default console? In the case of Windows 11, it may already be like that by default. If that is the case, then it is [https://github.com/syncthing/syncthing/issues/8046](https://github.com/syncthing/syncthing/issues/8046) and you will need to switch to the “legacy” console in order for the `-no-console` flag to work.

If the goal is to start Syncthing automatically on boot, you can also leave the Terminal as default and use the Task Scheduler method from [https://docs.syncthing.net/users/autostart.html](https://docs.syncthing.net/users/autostart.html) to still be able to run Syncthing invisibly in the background.

---

<div class="post-metadata">

### Author: ![abjork](https://forum.syncthing.net/user_avatar/forum.syncthing.net/abjork/32/12921_2.png) [@abjork](https://forum.syncthing.net/u/abjork)
#### Post date: [October 22, 2022, 8:42am UTC](https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/19142/3 "2022-10-22T08:42:15Z")

</div>

That seemed to have fixed it.

---

<div class="post-metadata">

### Author: ![spiff72](https://forum.syncthing.net/user_avatar/forum.syncthing.net/spiff72/32/8826_2.png) [@spiff72](https://forum.syncthing.net/u/spiff72)
#### Post date: [October 31, 2022, 3:06am UTC](https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/19142/4 "2022-10-31T03:06:47Z")

</div>

Another possible wrinkle - I have two PCs that were both Windows 10 previously, but I did in-place upgrades to Windows 11 on both. One of them exhibits the behavior described here - launching a terminal window at startup when Syncthing starts, but the other does not.

The only thing that I can see that is different is that the machine that Syncthing doesn’t spawn a console window is that it is running Windows 11 Pro, while the other (which spawns the console window) is Windows 11 Home.

I was able to fix it on the Windows 11 Home PC by ticking the box in the Syncthing shortcut in my Startup folder to use the legacy one. I didn’t have to do anything with the Pro machine since it “just worked”.

EDIT: They may have been different builds after all.

Win 11 Pro is Version 22H2, Build 22621.674 Win 11 Home is Version 22H2, Build 22621.755

I am updating the Pro machine now to see if the behavior changes and it starts spawning the console window.

---

<div class="post-metadata">

### Author: ![spiff72](https://forum.syncthing.net/user_avatar/forum.syncthing.net/spiff72/32/8826_2.png) [@spiff72](https://forum.syncthing.net/u/spiff72)
#### Post date: [October 31, 2022, 3:37am UTC](https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/19142/5 "2022-10-31T03:37:04Z")

</div>

UPDATE: Indeed the difference was the builds, not the Pro vs. Home versions. After upgrading from 674 to 755, the console was opening at bootup, so I just fixed that one with the tickbox for legacy mode too…

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [November 30, 2022, 3:38am UTC](https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/19142/6 "2022-11-30T03:38:04Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
