Remove write protection

Prev Next

When you remove write protection, components are no longer protected from unauthorized changes.

  1. Run this command at the command prompt.

    sadmin write-protect [ -r ] pathname1 ... pathnameN

    When you specify the file path, write protection applied to all files in the specified path is removed.

    For example:

    • sadmin write-protect -r Listener.ora

  2. Remove write protection from specific registry keys.

    sadmin write-protect-reg [ -r ] registrykeyname1 ... registrykeynameN

    For example:

    • sadmin write-protect–reg -r HKEY_LOCAL_MACHINE\SOFTWARE

  3. Flush write protection from all components.

    sadmin write-protect –f

  4. Flush write protection from all registry keys.

    sadmin write-protect-reg –f