HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/FileExt/.pdf I can define it as the default pdf viewer app in the settings, but I cannot set it by editing the Registry. I installed a PDF viewer app called FoxitReader. I tried the solution in the first answer, however, since there are Hash under user choice, it won't allow me to edit the value to foxitreader.document