Advertisement

Reset Notepad Window Position and Size in Windows 10

You can reset Notepad Window Position and Size in Windows 10 to its default on the primary display. Notepad is a basic editing software that comes with Windows since very first versions. The app saves its last open window position and size when you close it.

Advertisеment

Notepad is one of the classic Windows apps that didn't receive a lot of updates until Windows 10 Build 17661. In recent Windows 10 releases, Notepad can handle large text files without issues, comes with performance improvements, and also received the following capabilites.

Currently, Notepad receives updates via Microsoft Store, this means you can uninstall or install it on demand.

When you open Notepad for the first time in your user Account, it will appear almost in the center of the Desktop. The app will remember the position on the screen and its window size and will use these values next time you start it.

Windows 10 Notepad

This post will show how to reset the default open position and window size for Windows 10 Notepad.

Reset Notepad Window Position and Size in Windows 10

  1. Close the Notepad app if you have it running.
  2. Open the Registry editor.
  3. Go to the following key HKEY_CURRENT_USER\SOFTWARE\Microsoft\Notepad.
  4. Remove the following 32-bit DWORD values: iWindowPosDXiWindowPosDY, iWindowPosX, iWindowPosY.Reset Notepad Window Position And Size In Windows 10
  5. Now, start Notepad. It will revert to its default window size and position.

Done!

Additionally, you can make Notepad always start at its default position for your user account by making a batch file that automates the above steps and resets the window parameters for the app. After that you can place it to the Startup folder, so it will do this every time you start Windows 10.

Reset Notepad window options on Startup

  1. Download the following batch file: Download batch file.
  2. Unblock the downloaded file.
  3. Extract the reset_notepad_position.cmd file to any folder of your choice.
  4. Press Win + R on the keyboard and enter shell:Startup into the Run box, and press Enter.Windows 10 Shell Startup Command
  5. Move the batch file you have downloaded to the Startup folder.Reset Notepad Window Options On Startup

You are done!

Next time you start Windows 10, it will reset the Notepad window size options for your user account.

Note: shell:Startup is a special shell command which will open the Startup folder for you  directly.

For the reference, here's the contents of the batch file:

@echo off
reg delete HKEY_CURRENT_USER\SOFTWARE\Microsoft\Notepad /V iWindowPosDX /F
reg delete HKEY_CURRENT_USER\SOFTWARE\Microsoft\Notepad /V iWindowPosDY /F
reg delete HKEY_CURRENT_USER\SOFTWARE\Microsoft\Notepad /V iWindowPosX /F
reg delete HKEY_CURRENT_USER\SOFTWARE\Microsoft\Notepad /V iWindowPosY /F

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

4 thoughts on “Reset Notepad Window Position and Size in Windows 10”

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.