Why Microsoft Print to PDF Loses File Association on Windows 11
🔍 WiseChecker

Why Microsoft Print to PDF Loses File Association on Windows 11

When you double-click a PDF file on Windows 11, it may open with a different app than Microsoft Print to PDF, or no app at all. This happens because Windows 11 changes default file associations after a system update, a new app installation, or a corrupted user profile. The file type .pdf becomes linked to another program such as Microsoft Edge, Adobe Acrobat, or a third-party reader. This article explains the technical reasons behind the lost association and provides step-by-step fixes to restore Microsoft Print to PDF as the default PDF handler.

Key Takeaways: Restoring PDF File Association on Windows 11

  • Settings > Apps > Default apps > Search for .pdf: Directly reassigns the .pdf file type to Microsoft Print to PDF.
  • Settings > Apps > Default apps > Microsoft Print to PDF > Manage: Links all PDF file types and protocols to the app in one place.
  • PowerShell command: Get-AppxPackage Microsoft.Windows.PrintToPDF | Reset-AppxPackage: Reinstalls and resets the app if the default app entry is missing or corrupted.

ADVERTISEMENT

Why Windows 11 Changes PDF File Associations

Windows 11 uses a system called Default File Associations to determine which application opens each file type. When you install a new PDF reader, the installer often registers itself as the default handler for .pdf files. Windows 11 respects this registration and changes the association without asking. System updates, especially major feature updates like version 23H2, can reset file associations to Microsoft Edge as part of Microsoft’s default app policy. A corrupted user profile or a failed app update can also break the link between .pdf files and Microsoft Print to PDF. The result is that double-clicking a PDF file opens it in an unexpected app or triggers a “How do you want to open this file?” prompt.

Steps to Reassign Microsoft Print to PDF as the Default PDF Handler

Follow these steps in order. Each method targets a different cause of the lost association.

Method 1: Set the Default App for .pdf Files in Settings

  1. Open Settings
    Press Windows key + I to open Settings. Select Apps from the left sidebar, then click Default apps.
  2. Search for .pdf
    In the Default apps page, type .pdf in the search box labeled “Enter a file type or link type.” The current default app for .pdf appears below the search box.
  3. Change the default app
    Click the current app name or the entry that shows the app icon. A pop-up menu appears listing all apps that can open .pdf files. Select Microsoft Print to PDF from the list. If Microsoft Print to PDF does not appear in the list, scroll down and click More apps or Look for another app on this PC. Navigate to C:\Windows\System32\PrintToPDF\PrintToPDF.exe and select it.
  4. Confirm the change
    Click Set default. The entry now shows Microsoft Print to PDF as the default app for .pdf files. Close Settings and test by double-clicking a PDF file.

Method 2: Manage All File Types for Microsoft Print to PDF

  1. Go to Default Apps
    Press Windows key + I, select Apps, then Default apps.
  2. Find Microsoft Print to PDF
    In the search box, type Microsoft Print to PDF. Click the app name when it appears in the search results.
  3. Manage file associations
    A page titled “Microsoft Print to PDF” opens. It lists all file types and protocol links that the app can handle. Locate .pdf in the list. If it shows a different app, click the current app name. Select Microsoft Print to PDF from the pop-up menu. Click Set default.
  4. Repeat for related types
    If you see entries for .pd or .pdfx, repeat the same process for each. This ensures all PDF-related file types are associated with the app.

Method 3: Reset Microsoft Print to PDF Using PowerShell

  1. Open PowerShell as Administrator
    Press Windows key + X and select Windows Terminal (Admin) or PowerShell (Admin). Click Yes on the User Account Control prompt.
  2. Run the reset command
    Type the following command and press Enter:
    Get-AppxPackage Microsoft.Windows.PrintToPDF | Reset-AppxPackage
    This command reinstalls the app package while preserving user data. Wait for the process to complete. A success message does not appear, but the command returns to the prompt.
  3. Reassign the default app
    After the reset, follow Method 1 or Method 2 to set Microsoft Print to PDF as the default for .pdf files. The reset restores the app entry in the Default apps list if it was missing.

ADVERTISEMENT

If the File Association Still Does Not Stick

In some cases, the association reverts after a restart or a system update. The following issues and their fixes address persistent problems.

Association Resets After Every Windows Update

Windows 11 feature updates sometimes reset default apps to Microsoft Edge. To prevent this, use the Set a default for each file type method in Settings > Apps > Default apps. Windows 11 stores per-user associations in the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice. A system update can overwrite this key. After reassigning the association, export the registry key as a backup. Open Registry Editor, navigate to the key, right-click UserChoice, select Export, and save the .reg file. If the association resets, double-click the .reg file to restore it.

Microsoft Print to PDF Missing from the Default Apps List

If Microsoft Print to PDF does not appear in the Default apps list at all, the app may be disabled or uninstalled for the current user. Open Settings > Apps > Installed apps. Search for Microsoft Print to PDF. If it is listed but grayed out, click the three dots and select Advanced options. Click Reset to repair the app. If it is not listed, enable it through Windows Features: Press Windows key + R, type optionalfeatures, press Enter. In the Windows Features dialog, expand Microsoft Print to PDF, check the box, and click OK. Restart the computer.

Third-Party App Overrides the Association on Launch

Some PDF readers, such as Adobe Acrobat Reader or Foxit Reader, check for file association on every launch and ask to become the default. To stop this, open the third-party app’s settings. Look for an option labeled Set as default PDF viewer or Check for file association. Disable this option. In Adobe Acrobat Reader, go to Edit > Preferences > General and uncheck Set Acrobat Reader as default PDF viewer.

Item Settings App Method PowerShell Reset Method
Complexity Low, no command line Medium, requires admin rights
Best for Quick reassignment when app is present Missing or corrupted app entry
Persists after update May revert without registry backup Reinstalls the app, but association may still revert
Requires internet No No, uses local package

You can now reassign Microsoft Print to PDF as the default PDF handler on Windows 11 using either Settings or PowerShell. If the association continues to reset, export the UserChoice registry key as a backup. For a permanent fix, disable automatic file association checks in any third-party PDF reader you keep installed.

ADVERTISEMENT