How to set Windows 10 command line window to unlimited scroll by default, like in Ubuntu?

I've set the only two possible option in the property dialog that may be related to buffer to 999, but still get overflowed.

1 Answer 1


The maximum limit in Windows conhost.exe is 9999 lines. You can't set it to unlimited

Even Windows Terminal doesn't support infinite scrollback. There's an issue created for that on Github

  • uh.. how do you even get to 9999? I can't set it above 999.
    – Michael
    Sep 1, 2022 at 19:14
  • @Michael then it's probably a font size problem. You change it somehow that the font is so big and the last 9 disappears. It has always been 9999
    – phuclv
    Sep 2, 2022 at 1:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .