Login & Password Popup after updating config file

I have followed the instructions to remove the user id and password from the Syncthing config file, but it still gives me the popup asking for it.

I have corrected the config file in two locations:

…\ProgramData\Syncthing …\Users..\AppData\local\Syncthing

Is there another location I am not aware of? I already tried rebooting and reinstalling, but neither fixed the problem.

Thank you for any response!

Do you use SyncTrayzor?

Then you should probably check ...\AppData\Roaming\SyncTrayzor as per its README; SyncTrayzor/README.md at master · canton7/SyncTrayzor · GitHub

(I don’t have it running on Windows atm nor do I use SyncTrayzor, so I’m not entirely sure)

Thank you for your response, but I am not using SyncTrayzor. Nevertheless, I have double checked the indicated path, but it doesn’t exist.

That said, I have found traces of SyncTrayzor in the registry. I will do some manual clean up, but I don’t see an immediate culprit. I will also try uninstall/reinstall once more.

I also found that I am using the 1-23 installer from Bill Stewart since I needed a windows service. I will try to reach out on github, but don’t see that version doing anything other than installing Syncthing as a windows service.

Is there any other option where the password could be stored?

See the Syncthing Windows Setup documentation section on finding the Syncthing configuration folder.

@billstewart Thank you for your response!

That guide points me to the following locations:

\ProgramData\Syncthing \AppData\local\Syncthing

On my system I initially saw both locations being used, but after an uninstall and reinstall, I now only see \ProgramData\Syncthing being used.

Here is a copy of that file.

<configuration version="37">
	<device id="<REMOVED>" name="<REMOVED>" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
		<address>dynamic</address>
		<paused>false</paused>
		<autoAcceptFolders>false</autoAcceptFolders>
		<maxSendKbps>0</maxSendKbps>
		<maxRecvKbps>0</maxRecvKbps>
		<maxRequestKiB>0</maxRequestKiB>
		<untrusted>false</untrusted>
		<remoteGUIPort>0</remoteGUIPort>
	</device>
	<gui enabled="true" tls="false" debugging="false">
		<address>127.0.0.1:8384</address>
		<apikey><REMOVED></apikey>
		<theme>default</theme>
	</gui>
	<ldap></ldap>
	<options>
		<listenAddress>default</listenAddress>
		<globalAnnounceServer>default</globalAnnounceServer>
		<globalAnnounceEnabled>true</globalAnnounceEnabled>
		<localAnnounceEnabled>true</localAnnounceEnabled>
		<localAnnouncePort>21027</localAnnouncePort>
		<localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
		<maxSendKbps>0</maxSendKbps>
		<maxRecvKbps>0</maxRecvKbps>
		<reconnectionIntervalS>60</reconnectionIntervalS>
		<relaysEnabled>true</relaysEnabled>
		<relayReconnectIntervalM>10</relayReconnectIntervalM>
		<startBrowser>true</startBrowser>
		<natEnabled>true</natEnabled>
		<natLeaseMinutes>60</natLeaseMinutes>
		<natRenewalMinutes>30</natRenewalMinutes>
		<natTimeoutSeconds>10</natTimeoutSeconds>
		<urAccepted>0</urAccepted>
		<urSeen>0</urSeen>
		<urUniqueID></urUniqueID>
		<urURL>https://data.syncthing.net/newdata</urURL>
		<urPostInsecurely>false</urPostInsecurely>
		<urInitialDelayS>1800</urInitialDelayS>
		<autoUpgradeIntervalH>12</autoUpgradeIntervalH>
		<upgradeToPreReleases>false</upgradeToPreReleases>
		<keepTemporariesH>24</keepTemporariesH>
		<cacheIgnoredFiles>false</cacheIgnoredFiles>
		<progressUpdateIntervalS>5</progressUpdateIntervalS>
		<limitBandwidthInLan>false</limitBandwidthInLan>
		<minHomeDiskFree unit="%">1</minHomeDiskFree>
		<releasesURL>https://upgrades.syncthing.net/meta.json</releasesURL>
		<overwriteRemoteDeviceNamesOnConnect>false</overwriteRemoteDeviceNamesOnConnect>
		<tempIndexMinBlocks>10</tempIndexMinBlocks>
		<unackedNotificationID>authenticationUserAndPassword</unackedNotificationID>
		<trafficClass>0</trafficClass>
		<setLowPriority>false</setLowPriority>
		<maxFolderConcurrency>0</maxFolderConcurrency>
		<crashReportingURL>https://crash.syncthing.net/newcrash</crashReportingURL>
		<crashReportingEnabled>true</crashReportingEnabled>
		<stunKeepaliveStartS>180</stunKeepaliveStartS>
		<stunKeepaliveMinS>20</stunKeepaliveMinS>
		<stunServer>default</stunServer>
		<databaseTuning>auto</databaseTuning>
		<maxConcurrentIncomingRequestKiB>0</maxConcurrentIncomingRequestKiB>
		<announceLANAddresses>true</announceLANAddresses>
		<sendFullIndexOnUpgrade>false</sendFullIndexOnUpgrade>
		<connectionLimitEnough>0</connectionLimitEnough>
		<connectionLimitMax>0</connectionLimitMax>
		<insecureAllowOldTLSVersions>false</insecureAllowOldTLSVersions>
	</options>
	<defaults>
		<folder id="" label="" path="~" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
			<filesystemType>basic</filesystemType>
			<device id="<REMOVED>" introducedBy="">
				<encryptionPassword></encryptionPassword>
			</device>
			<minDiskFree unit="%">1</minDiskFree>
			<versioning>
				<cleanupIntervalS>3600</cleanupIntervalS>
				<fsPath></fsPath>
				<fsType>basic</fsType>
			</versioning>
			<copiers>0</copiers>
			<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
			<hashers>0</hashers>
			<order>random</order>
			<ignoreDelete>false</ignoreDelete>
			<scanProgressIntervalS>0</scanProgressIntervalS>
			<pullerPauseS>0</pullerPauseS>
			<maxConflicts>10</maxConflicts>
			<disableSparseFiles>false</disableSparseFiles>
			<disableTempIndexes>false</disableTempIndexes>
			<paused>false</paused>
			<weakHashThresholdPct>25</weakHashThresholdPct>
			<markerName>.stfolder</markerName>
			<copyOwnershipFromParent>false</copyOwnershipFromParent>
			<modTimeWindowS>0</modTimeWindowS>
			<maxConcurrentWrites>2</maxConcurrentWrites>
			<disableFsync>false</disableFsync>
			<blockPullOrder>standard</blockPullOrder>
			<copyRangeMethod>standard</copyRangeMethod>
			<caseSensitiveFS>false</caseSensitiveFS>
			<junctionsAsDirs>false</junctionsAsDirs>
			<syncOwnership>false</syncOwnership>
			<sendOwnership>false</sendOwnership>
			<syncXattrs>false</syncXattrs>
			<sendXattrs>false</sendXattrs>
			<xattrFilter>
				<maxSingleEntrySize>1024</maxSingleEntrySize>
				<maxTotalSize>4096</maxTotalSize>
			</xattrFilter>
		</folder>
		<device id="" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
			<address>dynamic</address>
			<paused>false</paused>
			<autoAcceptFolders>false</autoAcceptFolders>
			<maxSendKbps>0</maxSendKbps>
			<maxRecvKbps>0</maxRecvKbps>
			<maxRequestKiB>0</maxRequestKiB>
			<untrusted>false</untrusted>
			<remoteGUIPort>0</remoteGUIPort>
		</device>
		<ignores></ignores>
	</defaults>

I have removed my device id, hostname and API key from the config.xml file above.

If that’s the correct config file, then sorry, I don’t know the answer.

I figured this could be a tough one since I did a lot of research before posting…

I have finally found a solution and wanted to share it with the community.

It turns out that my installation is using a config stored at C:\Windows\System32\config\systemprofile\AppData\Local\Syncthing

Once I corrected that file everything is working again. :grinning:

I just don’t know why it is using this location, but the folder also includes syncthing logs and a few other files. I am suspicious that it is using this location because of the system user used for the syncthing service…

1 Like

Older versions of the Syncthing Windows installer that ran using the LocalService account (v1.19.1 and older) used that directory. See Upgrading Administrative Installations from Version 1.19.1 or Older in the documentation for more information.

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