Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Reset Notepad to Factory Settings

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can reset Notepad to its default state, but the method depends on what you mean by "reset." Notepad itself has very few settings (font, word wrap, and encoding), and those are stored in the Windows Registry. If you want to restore Notepad's default behavior and appearance, you'll need to delete its registry settings or reinstall the app if you're using the Microsoft Store version. This guide covers both the classic Notepad (Windows 10 and earlier) and the new Notepad app (Windows 11), and it also explains how to clear your recent file list if that's what you're after.

What You'll Need

  • Administrator access to your Windows PC (for registry edits or reinstalling the app).
  • For Windows 10 and earlier: a backup of your registry (optional but recommended).
  • For Windows 11: the Microsoft Store app installed (it comes preinstalled).

Step-by-Step

Reset Notepad Settings (Classic Notepad – Windows 10 and earlier)

  1. Close Notepad – Make sure no Notepad windows are open.
  2. Open Registry Editor – Press Win + R, type regedit, and press Enter. Click "Yes" if prompted by User Account Control.
  3. Back up the Notepad registry key (optional) – In Registry Editor, navigate to HKEY_CURRENT_USER\Software\Microsoft\Notepad. Right-click the "Notepad" key and select "Export." Save the .reg file somewhere safe. This lets you restore your current settings if you change your mind.
  4. Delete the Notepad registry key – Right-click the "Notepad" key and choose "Delete." Confirm the deletion when asked. This removes all Notepad settings (font, word wrap, encoding preferences, and the recent file list).
  5. Close Registry Editor – Exit regedit.
  6. Restart Notepad – Open Notepad. It will create a fresh registry key with default settings. Your recent files list will be empty, and the font will be back to the default (Consolas, 11pt, no word wrap).

Reset Notepad App (Windows 11 – Microsoft Store version)

  1. Open Settings – Press Win + I.
  2. Go to Apps – Click "Apps," then "Installed apps."
  3. Find Notepad – Scroll down or search for "Notepad" in the list.
  4. Click the three-dot menu – Next to "Notepad," click the three vertical dots and select "Advanced options."
  5. Reset the app – In the "Reset" section, click the "Reset" button. A confirmation dialog will appear; click "Reset" again. This clears the app's data, including settings and any cached files. It does not delete your saved text files.
  6. Restart Notepad – After the reset, open Notepad. It will be as if you installed it fresh.

If You Want to Reset Notepad to the Original Windows Version (Windows 10/11)

If you've replaced Notepad with a third-party editor or accidentally uninstalled it, you can reinstall the original Notepad:

  1. Open Settings – Press Win + I.
  2. Go to Apps – Click "Apps," then "Optional features."
  3. Find Notepad – Scroll to "Notepad" (or "Windows Notepad") in the list. If it's not there, click "Add a feature," search for "Notepad," and install it.
  4. If Notepad is already installed – Click it and select "Uninstall," then click "Add a feature" and reinstall it. This restores the factory version.

Common Mistakes

  • Deleting the wrong registry key – Make sure you are in HKEY_CURRENT_USER\Software\Microsoft\Notepad. Deleting the entire "Microsoft" key can break other apps.
  • Not closing Notepad first – If Notepad is running, it may rewrite the registry settings when you close it, undoing your deletion.
  • Using the "Reset" button on Windows 11 but expecting it to clear recent files – The reset does clear the recent file list, but if you're on an older Windows 10 version, the registry method is the only way.
  • Confusing "Reset" with "Repair" – In Windows 11's Advanced options, there's a "Repair" button that keeps your data. If you want a full reset, use "Reset."

Tips

  • Export your registry key before deleting – This is a safety net. If something goes wrong, double-click the exported .reg file to restore your settings.
  • Use a .reg file to reset quickly – Instead of manually deleting the key, you can create a text file with the following content, save it as reset-notepad.reg, and double-click it to merge it into the registry. This will delete the Notepad key and recreate it with defaults:
    Windows Registry Editor Version 5.00
    
    [-HKEY_CURRENT_USER\Software\Microsoft\Notepad]
  • Back up your important text files – Resetting Notepad does not affect your saved .txt files, but it's always a good habit to back up anything important before making system changes.
  • If you use Notepad frequently, consider customizing it after reset – After resetting, you can set your preferred font and word wrap again. They will stay until you reset again.

Troubleshooting

Notepad doesn't open after reset

If Notepad fails to open after a registry deletion, restart your computer. If that doesn't help, run the System File Checker: open Command Prompt as administrator and type sfc /scannow, then press Enter. This will repair corrupted system files, including Notepad.

Registry Editor says "Cannot delete Notepad: Error while deleting key"

This usually means you don't have full permissions. Right-click the "Notepad" key, select "Permissions," and give your user account "Full Control." Then try deleting again. Alternatively, use the .reg file method above, which often bypasses permission issues.

Windows 11 reset button is grayed out

If the Reset button in Advanced options is unavailable, try clicking "Repair" first. If that doesn't work, run the Windows Store reset: open Settings > Apps > Installed apps, find Notepad, click the three-dot menu, and choose "Terminate" (if running). Then try Reset again. If it still fails, restart your PC and try again.

Notepad still shows old settings after reset

If you used the registry method and settings persist, it's likely Notepad was running in the background. Check the system tray for a Notepad icon, close it, then repeat the deletion. Also, make sure you're editing the correct registry hive (HKEY_CURRENT_USER, not HKEY_LOCAL_MACHINE).

Recent files list doesn't clear

The recent files list is stored in the registry under HKEY_CURRENT_USER\Software\Microsoft\Notepad\RecentFileList. If you only want to clear that, you can delete just that subkey instead of the whole Notepad key. Or use the Windows 11 reset method, which clears it.

Frequently Asked Questions

Will resetting Notepad delete my saved text files?

No. Resetting Notepad only clears its settings and recent file list. Your .txt files remain untouched on your hard drive.

Does the Windows 11 reset also reset the recent files list?

Yes, the Reset button in Advanced options clears all app data, including the recent files list.

Can I reset Notepad without using the registry?

If you're on Windows 11, you can use the Settings app's Reset button. On Windows 10, there is no built-in reset for classic Notepad; the registry method is the standard way.

What exactly does the registry deletion remove?

It removes all Notepad settings: the font (name, size, style), word wrap state, encoding preference (ANSI, UTF-8, etc.), and the recent file list. It does not affect your actual text files.

Is it possible to reset Notepad to the version that came with Windows?

Yes. If you've updated the Notepad app from the Microsoft Store, you can uninstall the update or reinstall the original version via Optional Features as described above. On Windows 11, the Store version is the default, so resetting it via Settings brings it back to its factory state.

I accidentally deleted the Notepad registry key and now Notepad is missing. What do I do?

That shouldn't happen—deleting the registry key doesn't remove the Notepad executable. If Notepad is missing from your system, you can reinstall it via Settings > Apps > Optional Features (as described in the steps). If it still doesn't appear, run the System File Checker (sfc /scannow) to restore the system files.