The Server Registration Manager tool (srm.exe
) is a standalone console application which can be used to perform administrative tasks for SharpShell, such as installing or uninstalling servers, and changing configuration.
- Installing the SRM
- Installing / Uninstalling Servers
- Showing SharpShell Config
- Setting SharpShell Config
You can get the tool from the ServerRegistrationManager NuGet Package.
It is also available in all SharpShell Releases.
Install:
srm install <path.dll>
Install (without using the GAC):
srm install <path.dll> -codebase
Install (with specific bitness, see Installing and Uninstalling SharpShell Servers):
srm install <path.dll> [-codebase] -os32
srm install <path.dll> [-codebase] -os64
Uninstall:
srm uninstall <path.dll>
SharpShell config is stored locally in the registry. It is only used for diagnostic purposes, typically SharpShell config will not be present unless diagnosing issues. Show current config with:
srm config
Set SharpShell settings with the verb config
:
srm config <setting> <value>
The following settings are supported:
Setting | Value |
---|---|
LoggingMode |
Disabled, Debug, EventLog, File |
LogPath |
Any file path |
These configuration settings are described in more detail in the Logging Documentation. Note that logging options will normally require a restart of the explorer.exe
process to take effect.