Modifying the command prompt recognized by the collector
To enable the collector to detect custom or unusual command prompts, you can add a registry key on the computer where the collector is installed and specify a text string or a regular expression that will match the command prompt.
To specify a regular expression for the command prompt:
- Log on to the computer where the collector component is installed and running.
- Open the Registry Editor.
- Expand the HKEY_LOCAL_MACHINE > SOFTWARE > Centrify > DirectAudit registry.
- Select the Collector component, right-click, then select String Value.
- Type Prompt as the new key name.
- Select the new Prompt key, right-click, then select Modify.
- Type a text string or regular expression that will enable the collector to identify the command prompt you are using on computers you are auditing.
If you don’t define a registry value, the default regular expression
^[^#%>\$]*[#%>\$]\s*
is used to detect the command prompt.