Reset Notepad Default Open Position and Size in Windows 10  

    Reset Notepad Default Open Position and Size in Windows 10

    Reset Notepad Default Open Position and Size in Windows 10

    How to Reset Default Open Position and Size of Notepad in Windows 10
    Published by Category: General Tips
    08 May 2020
    Designer Media Ltd



    How to Reset Default Open Position and Size of Notepad in Windows 10


    Notepad is a simple text editor included in Windows and a basic text-editing program which enables computer users to create documents.

    When you open Notepad for the first time, it'll open slightly off center on your main display. Afterwards, Notepad will open to the same position and size you last closed it as.

    This tutorial will show you how to reset the open position and size of Notepad to default on the main display for your account in Windows 10.


    EXAMPLE: Notepad default position and size
    Reset Notepad Default Open Position and Size in Windows 10-default_notepad_position_and_size.jpg



    Here's How:

    1 Close Notepad if open.

    2 Click/tap on the Download button below to download the .bat file below.

    This .bat file deletes the DWORD values in the registry key below that resets the open position and size of Notepad back to default.

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Notepad

    DWORD values:

    iWindowPosDX
    iWindowPosDY
    iWindowPosX
    iWindowPosY


    If you like, you could place this .bat file in your Startup folder to always have the position and size of Notepad reset to default everytime you sign in to your account.


    Reset_Notepad_Open_Position_and_Size.bat

    Download

    3 Save the .bat file to your desktop.

    4 Unblock the .bat file.

    5 Double click/tap on the downloaded .bat file to run it.

    6 When you open Notepad next, it'll open with its default size and position on your main display.


    That's it,
    Shawn






  1. Posts : 14,300
    Windows 10 Home x64 Version 22H2 Build 19045.2728
       #1

    Shawn,

    It is also possible to 'reset' Notepad to a desired position and size. See my post #2 in another thread.

    I use the batch file shown there to 'reset' Notepad to the right-hand half of the screen upon opening [as if it had been WinKey-RightArrowKeyed]. I could choose another size-position if I wanted.

    I do not know how widespread a desire for this might be but thought this could be an appropriate place to state that the possibility exists.

    All the best,
    Denis
      My Computer


  2. Posts : 64,536
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Try3 said:
    Shawn,

    It is also possible to 'reset' Notepad to a desired position and size. See my post #2 in another thread.

    I use the batch file shown there to 'reset' Notepad to the right-hand half of the screen upon opening [as if it had been WinKey-RightArrowKeyed]. I could choose another size-position if I wanted.

    I do not know how widespread a desire for this might be but thought this could be an appropriate place to state that the possibility exists.

    All the best,
    Denis
    Hello Denis,

    You could set Notepad to how you want it, then export the registry key. You can merge this .reg file to restore it as needed.
      My Computers


  3. Posts : 14,300
    Windows 10 Home x64 Version 22H2 Build 19045.2728
       #3

    Brink said:
    You could set Notepad to how you want it, then export the registry key. You can merge this .reg file to restore it as needed.
    Yes, that is in effect what I do. I just found it more convenient to use a batch file with Reg Add commands so there would be no confirmation dialogs to step through.

    I have a similar batch file for setting up the File explorer opening window - see post #5 of the same thread
    - Again, I chose a batch file with Reg Add commands to avoid confirmation dialogs.

    All the best,
    Denis
      My Computer


  4. Posts : 64,536
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    Try3 said:
    Yes, that is in effect what I do. I just found it more convenient to use a batch file with Reg Add commands so there would be no confirmation dialogs to step through.

    I have a similar batch file for setting up the File explorer opening window - see post #5 of the same thread
    - Again, I chose a batch file with Reg Add commands to avoid confirmation dialogs.

    All the best,
    Denis
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 15:22.
Find Us




Windows 10 Forums