If your files are opening in the wrong program (for example, a PDF opening in Notepad or a video opening in the wrong player), don’t worry. This is a common issue in Windows and can be fixed easily using the “Open With” option.
This step-by-step guide will help you set the correct default app for any file type.
📌 Why Files Open in Wrong Program?
This usually happens when:
- Default app is changed accidentally
- Wrong program selected once
- Software update resets file associations
- File extension is not configured properly
✅ Method 1: Fix Using “Open With” (Quick Method)
- Right-click the file
- Click Open With
- Select Choose another app
- Select correct program
- ✔️ Tick Always use this app
- Click OK
Now the file will always open with the selected program.
⚙️ Method 2: Set Default Apps from Settings
- Open Settings
- Go to Apps → Default Apps
- Scroll and click Choose defaults by file type
- Find file extension (like .pdf, .mp4, .txt)
- Select correct app
This method is useful for managing multiple file types.
🔄 Method 3: Reset Default Apps (Advanced Fix)
If problem continues:
- Go to Settings → Apps → Default Apps
- Scroll down
- Click Reset under recommended defaults
This will restore default Microsoft app settings.
🧩 Example Fix
- PDF opening in Notepad → Set default to Adobe Reader
- Video opening wrong → Set VLC or Media Player
- Image opening wrong → Set Photos app
🛡️ Important Tips
- Always check file extension
- Do not rename extensions incorrectly
- Install trusted apps only
- Keep your system updated
📝 Final Words
Fixing files opening in the wrong program is very easy using the “Open With” feature in Windows. Just set the correct default app once, and your problem will be solved permanently.
For more Windows tips and fixes, visit CodeSardar.
❓ Frequently Asked Questions
Q1. Why does my file open in Notepad?
Because the wrong default app is set for that file type.
Q2. Can I change default app anytime?
Yes, you can change it anytime from settings.
Q3. Will this fix all file types?
Yes, this method works for all file extensions.
