Registry Filter
Through the Registry filter, individual registry keys can be written permanently using a write filter (EWF or FBWF), without having to "commit" the entire registry files after each change.
The registry key [HKLM\SOFTWARE\Beckhoff] is released by default so that TwinCAT can save settings in the registry. Custom "write releases" can be created under the key. A subkey with a sequential number must be created for this.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Regfilter\Parameters\MonitoredKeys\2]
"ClassKey"="HKLM"
"RelativeKeyName"="SOFTWARE\\Beckhoff"
"FileNameForSaving"="Beckhoff.rgf"
ClassKey = higher-level regkey
RelativeKeyName= relative key that is to be released for write accesses.
FileNameForSaving= file that the key is saved in.
Deactivating the Registry filter:
Currently, the Registry filter can only be deactivated via the registry.
- Open the Registry Editor (Start-> Run...-> enter "regedit").
- Now navigate to the left-hand side of the tree, to the registry key: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Regfilter".
- Now change the value of the Start parameter from "1" to "4".
Activating the Registry filter:
To activate, perform steps 1 & 2 again.
Then change the value of the "Start" parameter back to 1.