You can exclude specific components from a write-protected directory or drive .
Run this command at the command prompt.
sadmin write-protect -e pathname1 ... pathnameNWhen you specify a file path to be excluded from a write-protected component, write protection is removed from only that specific file.
Specify the complete path for the components to be excluded from write protection. For example:
sadmin write-protect –e Listener.ora
Exclude registry keys from write protection.
sadmin write-protect-reg -e registrykeyname1 ... registrykeynameNSpecify the registry key names as parameters with this command and the exclude argument to exclude registry keys from being write-protected.
For example:
sadmin write-protect-reg –e HKEY_LOCAL_MACHINE\SOFTWARE