Registry: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(→‎Main settings: Fixed mistake: The value RestrictInterface is in the subkey Configuration. Added types of the values.)
(Created new section for removing leftovers.)
Line 91: Line 91:
</pre>
</pre>


=== Deleting the sound scheme ===
== AutoPlay handler ==
The Total Commander sound scheme in Windows can be deleted by running a .reg file containing the following:
[[Tcusbrun.exe|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 [https://www.ghisler.com/cables/ here].)
 
== Remove leftovers ==
Registry entries are not deleted by Total Commander's uninstall program.
 
=== Remove main settings ===
Total Commander's main settings can be removed from the registry by running a .reg file containing the following:
<pre>
Windows Registry Editor Version 5.00
 
[-HKEY_CURRENT_USER\Software\Ghisler\Total Commander]
[-HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander]
[-HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander]
</pre>
 
=== Remove sound scheme ===
Total Commander's [[#Sound scheme|sound scheme]] can be removed from Windows by running a .reg file containing the following:
<pre>
<pre>
Windows Registry Editor Version 5.00
Windows Registry Editor Version 5.00
Line 107: Line 123:
</pre>
</pre>


== AutoPlay handler ==
=== Remove AutoPlay handler ===
[[Tcusbrun.exe|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 [https://www.ghisler.com/cables/ here].)
Total Commander's [[#AutoPlay handler|AutoPlay handler]] can be unistalled by running [[Tcusbrun.exe|TcUsbRun.exe]].
 
== Leftovers ==
Registry entries are not deleted by Total Commander's uninstall program.


== External links ==
== External links ==

Revision as of 10:06, 7 July 2024

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's main registry settings are:

Total Commander subkey
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander
Value name Type Description
FtpIniName String Specifies the path and filename of the FTP configuration file wcx_ftp.ini.
IniFileName String Specifies the path and filename of the main configuration file wincmd.ini.
InstallDir String Specifies the installation folder of Total Commander.
Key Binary Contains a Total Commander license.
Configuration subkey
HKEY_CURRENT_USER\Software\Ghisler\Total Commander\Configuration
HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander\Configuration
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander\Configuration
Value name Type Description
RestrictInterface DWORD (32-bit) 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"

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.)

Remove leftovers

Registry entries are not deleted by Total Commander's uninstall program.

Remove main settings

Total Commander's main settings can be removed from the registry by running a .reg file containing the following:

Windows Registry Editor Version 5.00

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

Remove sound scheme

Total Commander's sound scheme can be removed from Windows 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]

Remove AutoPlay handler

Total Commander's AutoPlay handler can be unistalled by running TcUsbRun.exe.

External links