In this post, I am detailing the steps I did to fix the PDF Preview on Outlook running on Windows 10, since some customers that are using Windows 10 forAzure Virtual Desktop (AVD) asked me a guidance for this.
If you are running Windows 11, you can skip this post, since it is already working by design. At least, it was supposed to.
Just as a spoiler, I made it work by setting Microsoft Edge PDF Preview Handler on Microsoft Outlook.
This file cannot be previewed because there is no previewer installed for it
That was the message error that I was getting when I tried to preview a PDF file for Outlook running on Windows 10 of my Azure Virtual Desktop environment.
Steps to Fix it
The steps to fix it are really simple, but it took me a lot of time to figure out the registry keys that must be changed. I used theProcess Monitorto find the values that were missing. But don't worry, I am omitting the PROCMON analysis and going straight to the point. :)
Follows the keys that you need to add on registry. You can copy and save it in a .reg file (something like pdfpreview.reg) and run it to add those settings to registry. You will need admin privileges for it.