Hi CJ,
Thank you for reaching out to the Microsoft Community , I'm Vinay an Independent Advisor.
I'll be glad to assist you today
To restore Notepad.exe as the default application for .txt files on Windows 11, follow these steps:
- Ensure Notepad.exe is Installed
Windows 11 should have Notepad pre-installed, but if it’s missing or not working correctly, you can reinstall it:
1. Open Settings:
• Press Windows + I to open Settings.
2. Go to Apps:
• Navigate to Apps > Optional features.
3. Add a Feature:
• Click on View features and search for Notepad. If it’s not installed, check it and click Next to install it.
- Reassociate .txt Files with Notepad.exe
- Open Settings:
- Go to Apps:
- Choose Default Apps by File Type:
- Change the Default Application:
- Check and Repair File Associations Manually
- Open Command Prompt as Admin:
- Re-register Notepad.exe:
regsvr32 /i notepad.exe
3. Check for File Association Fixes:
• You can use the Default Programs Editor or similar tools to fix file associations if needed.
- Use the Control Panel to Change Default Programs
- Open Control Panel:
- Go to Default Programs:
- Find .txt Extension:
- Select Notepad:
- Fix Permissions Issues
If you still can’t use Notepad.exe, there might be a permissions issue:
1. Navigate to Notepad.exe:
• Go to C:\Windows\System32.
2. Check Properties:
• Right-click on notepad.exe, and select Properties.
3. Check Security Tab:
• Ensure that your user account has Read & execute permissions. Adjust if necessary.
- Perform a System File Check
Run System File Checker to ensure system files are intact:
1. Open Command Prompt as Admin:
• Press Windows + X and choose Windows Terminal (Admin) or Command Prompt (Admin).
2. Run SFC:
• Enter the following command:
sfc /scannow
If you follow these steps, you should be able to restore Notepad.exe as the default program for .txt files. If problems persist, consider checking for system updates or performing a repair install of Windows.