If Windows does not remember the window position and size then this post will help you fix the problem. Although Windows 11/10 should open the closed windows in their last used size and position, ...
When I began my search for how to set the default location for new windows in BBEdite, I was certain that to set this required a "write defaults" from the command line.