Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Adobe as default pdf throws an error in windows 11 #36

Open
luimen6 opened this issue Aug 18, 2024 · 5 comments
Open

Setting Adobe as default pdf throws an error in windows 11 #36

luimen6 opened this issue Aug 18, 2024 · 5 comments

Comments

@luimen6
Copy link

luimen6 commented Aug 18, 2024

Since some Windows 11 update, I get this message when setting Adobe as a default PDF application:

 & { . C:\_install\SFTA.ps1; Set-FTA 'Acrobat.Document.DC' '.pdf' }
Write Reg Extension UserChoice FAILED
In C:\_install\SFTA.ps1:467 Zeichen:7
+       throw "Write Reg Extension UserChoice FAILED"
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Write Reg Extension UserChoice FAILED:String) [], RuntimeException
    + FullyQualifiedErrorId : Write Reg Extension UserChoice FAILED
@farag2
Copy link

farag2 commented Aug 18, 2024

Microsoft blocked ability to write to UserChoice key for .pdf extention and http and https protocols with KB5034765 release

@luimen6
Copy link
Author

luimen6 commented Aug 18, 2024

So there is no way to continue using your script?

@farag2
Copy link

farag2 commented Aug 18, 2024

I added an exception with a skip in script. So, yes, I think no way to automate this action for now.

@incith
Copy link

incith commented Nov 9, 2024

Seems to be caused by UCPD, UserChoice Protection Driver, per https://www.elevenforum.com/t/enable-or-disable-userchoice-protection-driver-ucpd-in-windows-11-and-10.24267/

Running the two disable commands (one to disable the service, one to disable the task that re-enables it) seems to allow Set-FTA on .pdf again.

@farag2
Copy link

farag2 commented Nov 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants