Edge stealing pdf association repeatedly?

airborne

Honorary Master
Joined
Jul 13, 2007
Messages
28,576
Reaction score
14,855
Win10 is notorious for changing up your app associations after every major update but after you "fix" what windows broke it's good till the next major update. But now I have this issue with Edge stealing pdf association repeatedly, I'll fix it and after a restart it's back with Edge.

Has anyone found a permanent solution?

I've tried a few hacks I've found on google but none work for long or even a single restart :(
 
Do you use the latest version of Acrobat Reader? :)
 
Never had the problem. What does Edge steal? Where and when do you notice it? What version? Home or Pro?
 
Never had the problem. What does Edge steal? Where and when do you notice it? What version? Home or Pro?
It steals the *.pdf file association during major Windows updates. :)
 

#Stops edge from taking over as the default .PDF viewer
Write-Output "Stopping Edge from taking over as the default .PDF viewer"
$NoPDF = "HKCR:\.pdf"
$NoProgids = "HKCR:\.pdf\OpenWithProgids"
$NoWithList = "HKCR:\.pdf\OpenWithList"
If (!(Get-ItemProperty $NoPDF NoOpenWith)) {
New-ItemProperty $NoPDF NoOpenWith
}
If (!(Get-ItemProperty $NoPDF NoStaticDefaultVerb)) {
New-ItemProperty $NoPDF NoStaticDefaultVerb
}
If (!(Get-ItemProperty $NoProgids NoOpenWith)) {
New-ItemProperty $NoProgids NoOpenWith
}
If (!(Get-ItemProperty $NoProgids NoStaticDefaultVerb)) {
New-ItemProperty $NoProgids NoStaticDefaultVerb
}
If (!(Get-ItemProperty $NoWithList NoOpenWith)) {
New-ItemProperty $NoWithList NoOpenWith
}
If (!(Get-ItemProperty $NoWithList NoStaticDefaultVerb)) {
New-ItemProperty $NoWithList NoStaticDefaultVerb
}

#Appends an underscore '_' to the Registry key for Edge
$Edge = "HKCR:\AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723_"
If (Test-Path $Edge) {
Set-Item $Edge AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723_
}
 
Never had the problem. What does Edge steal? Where and when do you notice it? What version? Home or Pro?
How dare you, no self respecting human uses Win Home.
PRO ALL THE WAY BRO
Edge tries to steal my soul but I will not let them, I will never give up
Foxit reader is great but for filling out forms Adobe Reader is next level amazing, only discovered that recently. It's a game changer, it auto finds fields even if it's in a flattened PDF and sizes/spaces everything near perfectly.
For once Adobe got it right.
 

#Stops edge from taking over as the default .PDF viewer
Write-Output "Stopping Edge from taking over as the default .PDF viewer"
$NoPDF = "HKCR:\.pdf"
$NoProgids = "HKCR:\.pdf\OpenWithProgids"
$NoWithList = "HKCR:\.pdf\OpenWithList"
If (!(Get-ItemProperty $NoPDF NoOpenWith)) {
New-ItemProperty $NoPDF NoOpenWith
}
If (!(Get-ItemProperty $NoPDF NoStaticDefaultVerb)) {
New-ItemProperty $NoPDF NoStaticDefaultVerb
}
If (!(Get-ItemProperty $NoProgids NoOpenWith)) {
New-ItemProperty $NoProgids NoOpenWith
}
If (!(Get-ItemProperty $NoProgids NoStaticDefaultVerb)) {
New-ItemProperty $NoProgids NoStaticDefaultVerb
}
If (!(Get-ItemProperty $NoWithList NoOpenWith)) {
New-ItemProperty $NoWithList NoOpenWith
}
If (!(Get-ItemProperty $NoWithList NoStaticDefaultVerb)) {
New-ItemProperty $NoWithList NoStaticDefaultVerb
}

#Appends an underscore '_' to the Registry key for Edge
$Edge = "HKCR:\AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723_"
If (Test-Path $Edge) {
Set-Item $Edge AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723_
}
Is that a reg key I'm supposed to be adding?
 
This is why I only do feature updates once every 2 years when i format, im still on 1909.
 
Then you are very lucky in that regard, had Windows updates screw with other preprograms a lot, especially my F.E.A program
Is it an old program or one that is compatible with Windows 10? :)
 
Is it an old program or one that is compatible with Windows 10? :)
Compatible with W10.
New W10 update comes out, screws with the program and then have to wait for a updated for the program to fix the W10 screw up.

If it was up to me, we wouldn't be using windows at work at all
 
Top
Sign up to the MyBroadband newsletter
X