Command prompt settings do not save

Page 1 of 2 12 LastLast

  1. Posts : 9
    Windows 10 Home 64-bit (10.0, Build 18362) (18362.19h1_release.190318-1202)
       #1

    Command prompt settings do not save


    Problem
    My command prompt always starts very small on default. Resizing it isn't a problem, but it is a problem when I run a console app that displays information immediately on startup, which is lost by the time I resize the small window. I can't scroll up to see things I've missed because the buffer settings are also very low: Height: 5 and width: 20

    Command prompt settings do not save-cmd.jpg

    This affects any terminal that opens, from Visual studio terminals to Minecraft servers. Anything that displays information right the second you open it, is useless due to this issue.

    Things I've tried
    - I tried right-clicking on the cmd window and changing the settings under the "Defaults" menu, but it changes nothing, it doesn't save. Even though the settings I changed are saved in their text fields, the actual change doesn't happen.

    - I also tried to reinstall Windows 10, I got the latest version and the problem still persists.

    - I tried checking the registry if a Group Policy setting is somehow preventing me from saving my changes, but there isn't one. I checked under "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies"

    -A temporary fix-ish was to make a shortcut of cmd on my taskbar that had these options on the target properties:
    %windir%\system32\cmd.exe /k mode con: cols=120 lines=2500
    That just saves me the hassle of resizing the window every time, but doesn't solve it for any other program.
      My Computer


  2. Posts : 9,792
    Mac OS Catalina
       #2

    Are you using "Defaults"?
      My Computer


  3. Posts : 9
    Windows 10 Home 64-bit (10.0, Build 18362) (18362.19h1_release.190318-1202)
    Thread Starter
       #3

    bro67 said:
    Are you using "Defaults"?
    Yes, but it's as if nothing happened. These are the current default settings:
    The window preview is fake.

    Command prompt settings do not save-cmd2.jpg
      My Computer


  4. Posts : 9,792
    Mac OS Catalina
       #4

    Are you clicking on the word "Defaults"?
      My Computer


  5. Posts : 9
    Windows 10 Home 64-bit (10.0, Build 18362) (18362.19h1_release.190318-1202)
    Thread Starter
       #5

    Yes
      My Computer

  6.   My Computer


  7. Posts : 9
    Windows 10 Home 64-bit (10.0, Build 18362) (18362.19h1_release.190318-1202)
    Thread Starter
       #7

    I tried everything in that article, even changing the registry values they listed. Still, no change at all.
      My Computer


  8. Posts : 9,792
    Mac OS Catalina
       #8

    See the first paragraph in that link.
      My Computer


  9. Posts : 9
    Windows 10 Home 64-bit (10.0, Build 18362) (18362.19h1_release.190318-1202)
    Thread Starter
       #9

    bro67 said:
    See the first paragraph in that link.
    I read it again and it didn't help me.
    If I'm missing something you could point it out, I'm genuinely lost here.
      My Computer


  10. Posts : 9,792
    Mac OS Catalina
       #10

    "When you open Command Prompt and position it on your preferred location on the screen, the setting is not retained. Also, when you resize the Command Prompt window and close it, the setting is not saved." After you make the registry changes and reboot, some times you may not get the same Defaults if done in the registry entry for Current User. You have to do it at Machine level.

    "Difference between “Properties” and “Defaults” options

    Right-clicking on the Command Prompt window title offers access to the Properties dialog box. (If Command Prompt is running in full-screen mode, press Alt+Enter to switch to window display.) Changes you make here affect the current session, and all future sessions launched only from that shortcut. The changes made are saved inside that particular shortcut (.lnk) file, instead of the registry.


    Right-clicking on the Command Prompt window title and choosing Defaults from the Control menu lets you make changes that will not affect the current session but instead will affect all future sessions (except for those launched from a shortcut whose properties have been customized). These changes also affect future sessions in character-mode, MS-DOS-based applications that do not have a Program Information File (PIF) and do not store their own settings. This setting is saved in the registry." See Where are cmd.exe's settings in registry in Windows 10? - Super User
      My Computer


 

  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 09:06.
Find Us




Windows 10 Forums