Registry

From TotalcmdWiki
Revision as of 23:00, 6 July 2024 by White (talk | contribs) (→‎Registry: Removed double header at the top)
Jump to navigation Jump to search

The Windows registry is used by Total Commander for a limited amount of settings. These settings are related to things like the installation folder, filenames of configuration files, interface restrictions, sound scheme, Total Commander license, AutoPlay handler, uninstall information.

Total Commander's associate feature also utilizes the registry since it is meant to change system-wide associations (unlike the internal associations).

Main settings

Total Commander primarily utilizes the following registry keys for its settings:

HKEY_CURRENT_USER\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander

These legacy keys may be used as well:

HKEY_CURRENT_USER\Software\Ghisler\Windows Commander
HKEY_LOCAL_MACHINE\Software\Ghisler\Windows Commander
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Windows Commander

The possible values stored here are:

Value name Description
FtpIniName Specifies the path and filename of the FTP configuration file wcx_ftp.ini.
IniFileName Specifies the path and filename of the main configuration file wincmd.ini.
InstallDir Specifies the installation folder of Total Commander.
Key Contains a Total Commander license.
RestrictInterface Controls interface restrictions for users.

Sound scheme

Total Commander can add its own sound scheme to Windows to customize audio feedback. This is achieved by changing the Windows registry. Here's how you can instruct Total Commander to do this:

  • Select menu option: Configuration/Options
  • Select category: Misc
  • Under Custom sounds, click the Configure button.
    (Settings are added to the registry even if you click Cancel in the next dialog.)

Added registry entries

The following entries are added to the registry:

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd]
@="Total Commander"
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdConnected]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdCopyComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdDeleteComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdPackComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdSearchComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdTransferComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdUnpackComplete]

[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdConnected]
@="Connected (FTP)"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdCopyComplete]
@="Copy/Move complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdDeleteComplete]
@="Delete complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdPackComplete]
@="Pack complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdSearchComplete]
@="Search complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdTransferComplete]
@="Transfer complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdUnpackComplete]
@="Unpack complete"

Deleting the sound scheme

The Total Commander sound scheme in Windows can be deleted by running a .reg file containing the following:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd]

[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdConnected]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdCopyComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdDeleteComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdPackComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdSearchComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdTransferComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdUnpackComplete]

AutoPlay handler

TcUsbRun.exe, included with Total Commander, enables (un)installation of an AutoPlay handler in the registry. This enables the user to choose between running Total Commander as a client or server when a USB cable is connected. (A list of supported USB cables for use with Total Commander can be found here.)

Leftovers

Besides the Sound scheme entries and entries related to the AutoPlay handler, the following registry entries may remain after uninstalling Total Commander:

[HKEY_CURRENT_USER\Software\Ghisler\Total Commander]
[HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander]
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander]

External links