Saving last window position and location

D

Doug

Copied from an earlier post, it worked for me.

Doug

Based on this article:

http://www.kellys-korner-xp.com/xp_common_tasks.htm

Solution One, in the article, is probably your only recourse, which involves
deleting two registry keys. However, the registry keys that Keith Miller,
the author of the article, refers to are for Windows XP, and not Vista. The
locations for these keys have changed in Vista (as have many others, which
is why I cringed a little at Chad Harris's post, since there are really no
up-to-date sites, yet, that I know of, that deal with the changes in Vista's
registry, as they are only
accurate for XP). (By the way, Vista is set up to "remember" 5000 folders,
so no tweaking is
really necessary. Windows XP SP2, too, increased the Bag value to 5000,
from 400 in XP SP1).

Anyway, by deleting these two keys, you will start with a clean slate, and
all remembered folder settings in Windows Explorer for view state, window
position, sort order, column information, folder type, toolbar toggles, and
search result views will be lost, and reset to the correct defaults, just so
you know what to expect; but any corruption, which indeed does happen, will
also be
deleted. The keys in Vista are:


HKEY_CURRENT_USER\Software\Classes\Local
Settings\Software\Microsoft\Windows\Shell\BagMRU
(right-click on BagMRU and choose delete)

HKEY_CURRENT_USER\Software\Classes\Local
Settings\Software\Microsoft\Windows\Shell\Bags
(right-click on Bags and choose delete)

Log off and log back on to Windows to re-create the keys (done
automatically), and start anew.

I recently had to do this myself, on my computer, because the folder type
templates had gone haywire, making the Windows and System 32 folders
Music-type folders, which resulted in inappropriate Explorer Bar tasks (with
no way to change it, since they're special folders), all my New Folders
defaulted to Picture-type folders, and folder views kept getting scrambled
from views I had chosen: all these
being among other things that were driving me crazy. This fixed things
nicely, for me, and now special folders show the right tasks, and regular
folders use the All Items template, all with more logical default columns,
as well...

Hope this helps,
Dean
 
G

Guest

None of my Windows Explorer windows remember their last size and position
when closed. This is really frustrating because I'm always resizing and
moving them to their desired locations, including often used windows pointing
to network drives and shares. I have a two monitor setup which necessitates a
lot of positioning.

I've even tried a suggested Alt-Click and Ctrl-Click on the close X, but
this does not help. Am I missing something or is this just not available as
it was in XP?
 
C

Chad Harris

Dean's post is interesting; give it a try. I find up through Vista that
this works and popunders will throw it off (that nothing is perfect either
for IE or WExplorer windows):

Hit Ctrl + N and manually resize both windows for IE windows and then close
with File + Close while holding down the control button.

For the Explorer window manually stretch to size you like then close with
File + Close while holding down the control button.

Always make sure you manually resize before doing the close.

CH
 
D

Doug

Did you do the log off and log back on Windows after deleting to recreate
the keys thing? and now for the simple but sometimes overlooked. Do you have
" Remember each folder's view setting" box checked?

Doug
 
G

Guest

It's not working for me either... It started a few days ago. Vista Ult. &
doesn't remember position/size/location even before I installed Office 2007.
I can't imagine that I'm over the 5000 limit, as I didn't install (clean)
until Feb 4 2007.

rdr
 
R

Richard Stallmann

I set the bag mrus to 20.000. It's a stupid rumour that the cache has to be set to 5.000. Just increase it. On WinXP I set it to
5.000 too, and the OS always forgot the settings. But after installing Vista I thought, hell, let's increase it even further. I've
been running Vista for a month now and it only forgot the settings for two folders in the entire time
 
G

Guest

I just learned from MS support that Vista changed the way the sizes and
positions are persisted. In XP, the position and size of a window is saved
*regardless* of which folder is currently open in the Explorer window. In
Vista, the window settings are saved at the current folder level. In other
words, the size and position are restored if you open the window *in the same
folder just viewed.*

Bruce
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top