Re: Windows Explorer size reverting to 800x600
- From: "Keith Miller MVP" <k.miller79@xxxxxxxxxxx>
- Date: Mon, 13 Mar 2006 22:39:43 -0600
Are the folders stored on fixed, network or removable drives?
Are Explorer options set to remember each folder's view settings?
Possibly the index for saved views is full, and some entries are being deleted to make room for new
ones. If you run the following script & post back the results, we can see if that's the problem or
rule it out. Copy & paste the text between the dashed lines into notepad & save as a .vbs file.
Then double-click the file to run it.
----------------------------
Const conBagMRUSize = _
"HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU Size"
Const conBagMRUNodeSlots = _
"HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU\NodeSlots"
Const HKCU = &H80000001
Const conBagsPath = "Software\Microsoft\Windows\ShellNoRoam\Bags"
dim oWshShell, oRegistry, iLimit, iMRUEntries, arrSubKeys, iBagCount
'Assign objects
Set oWshShell = CreateObject("WScript.Shell")
s1 = "winmgmts:{impersonationLevel=impersonate}"
s2 = "!\\.\root\default:StdRegProv"
Set oRegistry = GetObject(s1 & s2)
On Error Resume Next
iLimit = oWshShell.RegRead(conBagMRUSize)
If Err.Number <> 0 Then iLimit = 400
On Error Goto 0
iMRUEntries = UBound(oWshShell.RegRead(conBagMRUNodeSlots)) + 1
oRegistry.EnumKey HKCU, conBagsPath, arrSubKeys
iBagCount = UBound(arrSubKeys) + 1
sMsg = "Max Views = " & iLimit & vbcrlf & _
"Index Entry Count = " & iMRUEntries & vbcrlf & _
"Saved View Count = " & iBagCount
Msgbox sMsg
-------------------------------------
--
Good Luck,
Keith
Microsoft MVP [Windows XP Shell/User]
"Tiny Mole" <TinyMole@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:587BD544-A126-4EBF-88DD-8A00490112C9@xxxxxxxxxxxxxxxx
Hi,
I have a number of shortcuts to regularly used folders. Each opens windows
explorer using command line switches, for example: explorer.exe /e,/root,d:\
would open explorer with folders view ON, and the root of drive D: shown as
the root folder.
Problem with most of these shortcuts is that when I drag the window border
to the size I want, it will not always retain that setting between sessions.
Only one of these shortcuts will ALWAYS retain the size setting.
The others will always revert to exactly 800x600 pixels at some time after
the current session.
This is really driving me crazy. They all worked fine in Win 2000, on a new
machine with XP they don't.
Help!
Regards,
Mole
.
- Follow-Ups:
- Re: Windows Explorer size reverting to 800x600
- From: Tiny Mole
- Re: Windows Explorer size reverting to 800x600
- Prev by Date: Re: NTLDR missing
- Next by Date: Re: error ID7038.tmp
- Previous by thread: Re: Network connections with USB-why not?
- Next by thread: Re: Windows Explorer size reverting to 800x600
- Index(es):
Relevant Pages
|