Differences

This shows you the differences between the selected revisions of the page.

config 2025-01-27 config 2025-06-30 (current)
Line 4: Line 4:
Note that [[administration|configuration of restrictions and enforcements]] by administrator, is always stored in Windows registry. Note that [[administration|configuration of restrictions and enforcements]] by administrator, is always stored in Windows registry.
 +===== Removing Configuration ===== 
 +You can [[ui_cleanup|clean up all configuration data]] stored on your machine.
===== [[export]] Exporting/Backing up the Configuration ===== ===== [[export]] Exporting/Backing up the Configuration =====
Line 11: Line 12:
In older versions of WinSCP, use //Export// button on [[ui_preferences|Preferences dialog]]. In older versions of WinSCP, use //Export// button on [[ui_preferences|Preferences dialog]].
 +===== [[import]] Importing/Restoring Configuration =====
 +To import/restore the complete configuration including all stored sites, go to //Tools > Import/Restore configuration// on [[ui_login|Login dialog]].
 +
 +To [[ui_import#ini|import only selected sites]], you can alternatively use //Tools > Import Sites// (and select //INI file// for import source).
 +See also //[[faq_transfer_config|How do I transfer my settings from a non-working computer?]]//
===== [[transfer]] Transferring the Configuration ===== ===== [[transfer]] Transferring the Configuration =====
Line 28: Line 34:
===== [[ini]] INI File Location ===== ===== [[ini]] INI File Location =====
-When loading configuration, WinSCP first looks for an INI file in the directory, where WinSCP executable is stored in. The INI file needs to have an ''.ini'' extension and the same name as the executable (i.e. ''WinSCP.ini''). If INI file in not found there, WinSCP looks to application data directory of your user profile, i.e. to ''C:\Users\username\AppData\Roaming\WinSCP.ini''. &winpath+When loading configuration, WinSCP first looks for an INI file in the directory, where WinSCP executable is stored in.((When installed using the official installer, the installation directory depends on [[ui_installer#mode|install mode]].)) The INI file needs to have an ''.ini'' extension and the same name as the executable (i.e. ''WinSCP.ini''). If INI file in not found there, WinSCP looks to application data directory of your user profile, i.e. to ''C:\Users\username\AppData\Roaming\WinSCP.ini''. &winpath
When you opt to use INI file for the first time, WinSCP tries to write it to directory, where WinSCP executable  is stored in. If the directory is not writable, INI file is stored to application data directory of your user profile. When you opt to use INI file for the first time, WinSCP tries to write it to directory, where WinSCP executable  is stored in. If the directory is not writable, INI file is stored to application data directory of your user profile.
Line 77: Line 83:
===== [[auto]] Auto-selecting Storage ===== ===== [[auto]] Auto-selecting Storage =====
-On startup, WinSCP first looks for an [[config#ini|INI file]] in the directory, where WinSCP executable is stored in;((Unless different location was forced using [[commandline#configuration|''/ini'' switch]].)) and then in the user profile directory. If it does not find INI file in either location, it looks for presence of [[config#registry_key|its key in registry]], both in ''HKCU'' and ''HKLM''. The ''HKLM'' key is created by the [[installation|installer]], so installed WinSCP uses the registry by default. If it does not find the registry key either, it creates an empty INI file in the directory, where WinSCP executable is stored in. If that directory is not writable, it creates an empty INI file in the user profile directory.+On startup, WinSCP first looks for an [[config#ini|INI file]] in the directory, where WinSCP executable is stored in;((Unless different location was forced using [[commandline#configuration|''/ini'' switch]].)) and then in the user profile directory. If it does not find INI file in either location, it looks for presence of [[config#registry_key|its key in registry]], both in ''HKCU'' and ''HKLM''.((For ''HKLM'' on 64-bit systems, the 32-bit key under ''WOW6432Node'' is used.)) The ''HKLM'' key is created by the [[installation|installer]], so installed WinSCP uses the registry by default. If it does not find the registry key either, it creates an empty INI file in the directory, where WinSCP executable is stored in. If that directory is not writable, it creates an empty INI file in the user profile directory.
===== Checking What Store Is in Use ===== ===== Checking What Store Is in Use =====

Last modified: by 174.229.179.194