# Syncthing Windows Setup v1.20.1

**URL:** https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419
**Category:** General
**Created:** [May 11, 2022, 2:54pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419 "2022-05-11T14:54:10Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![billstewart](https://forum.syncthing.net/user_avatar/forum.syncthing.net/billstewart/32/11341_2.png) [@billstewart](https://forum.syncthing.net/u/billstewart)
#### Post date: [May 11, 2022, 2:54pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/1 "2022-05-11T14:54:10Z")

</div>

Syncthing Windows Setup is a lightweight yet full-featured Windows installer.

Documentation and download: [GitHub - Bill-Stewart/SyncthingWindowsSetup: Syncthing Windows Setup](https://github.com/Bill-Stewart/SyncthingWindowsSetup)

Summary of installer features:

- Installs the appropriate 32-bit or 64-bit version of Syncthing using a single installer

- Supports administrative (all users) and non administrative (current user) installation

- When installing for all users, installs Syncthing as a Windows service using [NSSM](https://nssm.cc/)

- When installing for the current user, supports creating a scheduled task that starts Syncthing at logon

- Supports adding a Windows Firewall rule

- Supports silent (hands-free) installation

Please note the following from the documentation if upgrading from v1.19.1 or older:

> Administrative installations in versions 1.19.1 and older configured the Windows service to run using the Windows built-in **LocalService** account. To improve security, Setup versions newer than 1.19.1 configure the Windows service to run using a local service user account instead ( **SyncthingServiceAcct** by default). As a part of this change, the Syncthing configuration data is now located in the _CommonAppData_`\Syncthing` folder (e.g., `C:\ProgramData\Syncthing`).
> 
> When upgrading from version 1.19.1 or older, Setup automatically migrates the Syncthing configuration folder from the legacy **LocalService** account user profile (e.g., `C:\Windows\ServiceProfiles\LocalService\ApplicationData\Local\Syncthing`) to the new location. If the migration succeeds, Setup displays a dialog asking whether you want to remove the legacy configuration folder. (In silent installation mode, Setup automatically removes the legacy configuration folder if the migration succeeded.)
> 
> After upgrading from version 1.19.1 or older, you must follow the steps in [Granting Folder Permissions for the Service Account](https://github.com/Bill-Stewart/SyncthingWindowsSetup/blob/main/README.md#granting-folder-permissions-for-the-service-account) to grant the local service user account permission to each synchronized folder in your Syncthing configuration. Until you do so, the Syncthing GUI configuration page will report “access denied” errors because the local service user account does not have “Modify” permissions to the folder(s).

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [May 30, 2022, 8:34pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/2 "2022-05-30T20:34:49Z")

</div>

After green installation of the Setup on a Windows 11 computer I want to update and got the message

 ![grafik](https://forum-uploads.syncthingcdn.net/original/2X/d/d3a3da532527f55c5a014f9cd64b0a55cb818c6d.png)

So no updating is possible because of permission problems. After adding the **`SyncthingServiceAcct`** user in the installation folder `C:\Program Files\Syncthing` the updating runs and I have no further problems.

---

<div class="post-metadata">

### Author: ![billstewart](https://forum.syncthing.net/user_avatar/forum.syncthing.net/billstewart/32/11341_2.png) [@billstewart](https://forum.syncthing.net/u/billstewart)
#### Post date: [June 4, 2022, 3:15am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/3 "2022-06-04T03:15:56Z")

</div>

Permissions for the install directory must have changed between installs, because the installer (re)instates the correct permissions on (re)install. Doesn’t seem that’s your issue anyway, per the error message (“Automatic upgrade already in progress”).

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 4, 2022, 7:25am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/4 "2022-06-04T07:25:39Z")

</div>

On that computer it was the first installation, no upgrade from a older EXE. The update starts but cant store new syncthing.exe and copy the other to .old

---

<div class="post-metadata">

### Author: ![billstewart](https://forum.syncthing.net/user_avatar/forum.syncthing.net/billstewart/32/11341_2.png) [@billstewart](https://forum.syncthing.net/u/billstewart)
#### Post date: [June 4, 2022, 6:54pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/5 "2022-06-04T18:54:01Z")

</div>

I did a fresh install on a different machine and still can’t reproduce.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 4, 2022, 7:54pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/6 "2022-06-04T19:54:21Z")

</div>

With Windows 11?

---

<div class="post-metadata">

### Author: ![billstewart](https://forum.syncthing.net/user_avatar/forum.syncthing.net/billstewart/32/11341_2.png) [@billstewart](https://forum.syncthing.net/u/billstewart)
#### Post date: [June 5, 2022, 11:14pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/7 "2022-06-05T23:14:28Z")

</div>

Yes, I did a fresh install on a Windows 11 machine and it works fine.

I’m confused by your error, though, because as I write this 1.20.1 is the latest Syncthing release, so there’s nothing to upgrade to (yet). If you are seeing an upgrade error, it seems to me that it must not have been a fresh install in your case.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 7, 2022, 11:27am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/8 "2022-06-07T11:27:16Z")

</div>

> [@billstewart](#):
>
> must not have been a fresh install in your case

Let’s put it that way. Your EXE has been installed on the computer for the first time. Before that, however, another package was installed, which also runs with a service, but with a different user name. I can’t judge if that had an impact, but the installation directory for the EXE didn’t exist before.

---

<div class="post-metadata">

### Author: ![billstewart](https://forum.syncthing.net/user_avatar/forum.syncthing.net/billstewart/32/11341_2.png) [@billstewart](https://forum.syncthing.net/u/billstewart)
#### Post date: [June 8, 2022, 7:14pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/9 "2022-06-08T19:14:32Z")

</div>

All bets are off if you are mixing packages that have the same service name. There’s no way for the installer to detect that condition. For that case you would need to uninstall the other package and install using Syncthing Windows Setup again.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 8, 2022, 7:17pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/10 "2022-06-08T19:17:30Z")

</div>

> [@billstewart](#):
>
> uninstall the other package

I already knew that from another installation on another computer. So it was already uninstalled.

It’s actually only about the user in the Syncthing installation folder. If the installation routine normally stores the user, it is unclear why the manual installation was necessary, especially since the program folder was not changed. Except for this user, everything was on Default.

 ![grafik](https://forum-uploads.syncthingcdn.net/original/2X/4/4e0418972e67708a3a15fcaddb6d6ee195f6eb29.png)

Maybe it was a time out issue or something like that?

---

<div class="post-metadata">

### Author: ![billstewart](https://forum.syncthing.net/user_avatar/forum.syncthing.net/billstewart/32/11341_2.png) [@billstewart](https://forum.syncthing.net/u/billstewart)
#### Post date: [June 9, 2022, 2:06pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/11 "2022-06-09T14:06:05Z")

</div>

Sorry, I don’t know what your issue was. As already noted, I can’t reproduce it. It seems to be something specific on your machine.

---

<div class="post-metadata">

### Author: ![jtstrickland](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/85e7bf/32.png) [@jtstrickland](https://forum.syncthing.net/u/jtstrickland)
#### Post date: [June 13, 2022, 2:18am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/12 "2022-06-13T02:18:59Z")

</div>

I am unable to download it, failed 4 times. I thought it might be VPN, but disconnecting made no difference. Anyone else have problems? Seems like a sync jinx is hanging over my windows PC. It’s currently running on my machine, but that shouldn’t cause a download to fail?

Bitdefender tagged it a virus, with a trojan.GenericKD.49037210 and quarantined it.  
That’s why I can’t download it. I will set pat for the time being.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 13, 2022, 5:36am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/13 "2022-06-13T05:36:38Z")

</div>

Maybe the content should be “verified” in some way. Every time I download the EXE I get the message

 ![grafik](https://forum-uploads.syncthingcdn.net/original/2X/6/653c151a17fcea7e527c8bb0624266d3d625e5fb.png)

For this, disabling of the virus scanner is needed.

By the way, this is also the case during the installation, otherwise you will get various error messages at the beginning. You can quit them, then it still works, but if you trust, then turn off your scanner during download and installation. Later this is no longer an issue, you may have to include the `syncthing.exe` in the exceptions.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 18, 2022, 5:14am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/14 "2022-06-18T05:14:39Z")

</div>

> [@Andy](#):
>
> After green installation of the Setup on a Windows 11 computer I want to update and got the message
> 
> ![grafik](https://forum-uploads.syncthingcdn.net/original/2X/d/d3a3da532527f55c5a014f9cd64b0a55cb818c6d.png)
> 
> So no updating is possible because of permission problems. After adding the **`SyncthingServiceAcct`** user in the installation folder `C:\Program Files\Syncthing` the updating runs and I have no further problems.

Only for information.

I try it now on a ASUS Notebook on a very new Windows 11 installation. Never before was any Syncthing installed. With the same effect. After adding the user to the installation folder all is running smoothly.

---

<div class="post-metadata">

### Author: ![billstewart](https://forum.syncthing.net/user_avatar/forum.syncthing.net/billstewart/32/11341_2.png) [@billstewart](https://forum.syncthing.net/u/billstewart)
#### Post date: [June 24, 2022, 2:27am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/15 "2022-06-24T02:27:40Z")

</div>

Sorry, can’t reproduce it.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 24, 2022, 6:07am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/16 "2022-06-24T06:07:06Z")

</div>

It is also not tragic or a hindrance.

I work with German Windows versions and if you have a different language version, this could also be a reason, since there are obviously various differences. Besides, it runs fine otherwise and it is really no big deal to store the user. Maybe you can put a note in the documentation or something, that would be one way to deal with it.

---

<div class="post-metadata">

### Author: ![billstewart](https://forum.syncthing.net/user_avatar/forum.syncthing.net/billstewart/32/11341_2.png) [@billstewart](https://forum.syncthing.net/u/billstewart)
#### Post date: [June 25, 2022, 3:01am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/17 "2022-06-25T03:01:56Z")

</div>

On a vanilla Windows 11 install, run the installer and specify `/LOG="`_logfilename_`"` on the installer’s command line (where _logfilename_ is a path and filename to the log file you want to create). Post the content of the log file. We might be able to work out what’s happening from that.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 25, 2022, 7:28am UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/18 "2022-06-25T07:28:03Z")

</div>

For that before a deinstallation is needed? Maybe is issued by my Avast virus software?

---

<div class="post-metadata">

### Author: ![billstewart](https://forum.syncthing.net/user_avatar/forum.syncthing.net/billstewart/32/11341_2.png) [@billstewart](https://forum.syncthing.net/u/billstewart)
#### Post date: [June 25, 2022, 2:02pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/19 "2022-06-25T14:02:31Z")

</div>

Sorry, I don’t understand your question.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [June 25, 2022, 6:45pm UTC](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419/20 "2022-06-25T18:45:49Z")

</div>

> [@billstewart](#):
>
> run the installer

For that before a deinstallation of the current version is needed if any installed?

[Next page](https://forum.syncthing.net/t/syncthing-windows-setup-v1-20-1/18419.md?page=2)
