I don't think changing the ProgId value works anymore in Windows Server 2019 because you have to change the Hash value which is used to protect ProgId as well. However Microsoft has not disclosed how to generate the hash. This makes the default application can only be changed in GUI and ensures it's done by the user.
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.