JSI Tip 5818. How do I get Notepad to remember my Page Setup settings, and other values?

If you want Notepad.exe to remember your Page Setup settings:

1. Copy / Paste the following to a npd.reg file:



2. Merge the npd.reg file with your registry or run regedit /s npd.reg.

NOTE: To remember the Window size and position when you last closed Notepad.exe, add the following to the npd.reg file, immediately after the "fSavePageSettings"=dword:00000001 line:


NOTE: You can manually set any of the Value Names that you find at HKEY_CURRENT_USER\Software\Microsoft\Notepad.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.