I have a protected PDF file, in which I cannot highlight text using Preview and which I cannot print without a password.
I do know a password, but I cannot understand how to remove it from the document. I can click **File** > **Enter Password** and then **Unlock as Owner**, but the next time I open the document, it will be required to type the password again. How to do this?
Just in case, I know about options like using qpdf, but since I do know the password, I would prefer to not use third-party tools.

I do know a password, but I cannot understand how to remove it from the document. I can click **File** > **Enter Password** and then **Unlock as Owner**, but the next time I open the document, it will be required to type the password again. How to do this?

Just in case, I know about options like using qpdf, but since I do know the password, I would prefer to not use third-party tools.