Registry: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(First creation.)
 
(Added info about the old subkey "Windows Commander" to the intro.)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Registry =
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.
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 association]]s).
Total Commander's [[associate]] feature also utilizes the registry since it is meant to change system-wide associations (unlike the [[internal association]]s).
In the past Total Commander was called Windows Commander and these early versions use the registry subkey "Windows Commander" instead of "Total Commander". This subkey is no longer used.<sup> [https://www.ghisler.ch/board/viewtopic.php?p=3008#p3008]</sup>


== Main settings ==
== Main settings ==
Total Commander primarily utilizes the following registry keys for its settings:
Total Commander's main registry settings are:
<pre style="margin-top:0;">
 
{| class="wikitable"
|+ Total Commander subkey
|-
| colspan=3 |
<pre>
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander
</pre>
</pre>
These legacy keys may be used as well:
|-
<pre style="margin-top:0;">
HKEY_CURRENT_USER\Software\Ghisler\Windows Commander
HKEY_LOCAL_MACHINE\Software\Ghisler\Windows Commander
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Windows Commander
</pre>
 
The possible values stored here are:
{| class="wikitable"
! style="text-align:left;" | Value name
! style="text-align:left;" | Value name
! style="text-align:left;" | Type
! style="text-align:left;" | Description
! style="text-align:left;" | Description
|-
|-
| FtpIniName
| FtpIniName
| String
| Specifies the path and filename of the FTP configuration file [[wcx_ftp.ini]].
| Specifies the path and filename of the FTP configuration file [[wcx_ftp.ini]].
|-
|-
| IniFileName
| IniFileName
| String
| Specifies the path and filename of the main configuration file [[wincmd.ini]].
| Specifies the path and filename of the main configuration file [[wincmd.ini]].
|-
|-
| InstallDir
| InstallDir
| String
| Specifies the installation folder of Total Commander.
| Specifies the installation folder of Total Commander.
|-
|-
| Key
| Key
| Binary
| Contains a Total Commander license.
| Contains a Total Commander license.
|}
{| class="wikitable"
|+ Configuration subkey
|-
| colspan=3 |
<pre>
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
</pre>
|-
! style="text-align:left;" | Value name
! style="text-align:left;" | Type
! style="text-align:left;" | Description
|-
|-
| RestrictInterface
| RestrictInterface
| DWORD (32-bit)
| Controls interface restrictions for users.
| Controls interface restrictions for users.
|}
|}
Line 75: Line 93:
</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 91: Line 125:
</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 handler prompts 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 ==
Besides the [[#Sound scheme|Sound scheme]] entries and entries related to the [[#AutoPlay handler|AutoPlay handler]], the following registry entries may remain after uninstalling Total Commander:
<pre>
[HKEY_CURRENT_USER\Software\Ghisler\Total Commander]
[HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander]
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander]
</pre>


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

Latest revision as of 11:18, 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).

In the past Total Commander was called Windows Commander and these early versions use the registry subkey "Windows Commander" instead of "Total Commander". This subkey is no longer used. [1]

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