XP Folder Display problem...

G

Guest

Hi...

I have customized the display of some of my folders and their contents to be
thumbnail view for easier browsing of pictures and images but for some
unknown reason, they occasionally get reset to 'Tiles' view without my
knowledge.

Not a major problem as I can reset them all again afterwards but I was
wondering if anyone is able to advise me how to permanently set them as
thumbnail view...or until I want to reset them??

Thanks :)
 
K

Keith Miller MVP

If they are only resetting "occasionally", it's possible that explorer has reached it's limit for
saved views and it's deleting older views to make room for new ones. The method explorer uses to
select which view it deletes is less than perfect -- folders on the desktop are especially
vulnerable.

The following is a script that will report on the current numbers for saved views. Copy the text
between the lines below, paste into notepad and save as a .vbs file, then run the script & post the
results back here.

---------------------------------
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
 
G

Guest

Hi Keith,

Many thanks for your swift reply.

Before I checked your reply, someone else suggested running a registry tweak
from Kelly's Korner - bags8000.reg:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000

I ran that then after reading your advice, I ran the vbs script and here's
the results:

Max Views = 8000
Index Entry Count = 4
Saved View Count = 4

I've no idea whether it would've been any different if I hadn't of run the
registry tweak.

Anyway, do you think Explorer will be able to 'remember' the folder settings
now or will I need to do anything else??

Thanks again,

Nick :)


Keith Miller MVP said:
If they are only resetting "occasionally", it's possible that explorer has reached it's limit for
saved views and it's deleting older views to make room for new ones. The method explorer uses to
select which view it deletes is less than perfect -- folders on the desktop are especially
vulnerable.

The following is a script that will report on the current numbers for saved views. Copy the text
between the lines below, paste into notepad and save as a .vbs file, then run the script & post the
results back here.

---------------------------------
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]


nick said:
Hi...

I have customized the display of some of my folders and their contents to be
thumbnail view for easier browsing of pictures and images but for some
unknown reason, they occasionally get reset to 'Tiles' view without my
knowledge.

Not a major problem as I can reset them all again afterwards but I was
wondering if anyone is able to advise me how to permanently set them as
thumbnail view...or until I want to reset them??

Thanks :)
 
K

Keith Miller MVP

That should do it.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


nick said:
Hi Keith,

Many thanks for your swift reply.

Before I checked your reply, someone else suggested running a registry tweak
from Kelly's Korner - bags8000.reg:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000

I ran that then after reading your advice, I ran the vbs script and here's
the results:

Max Views = 8000
Index Entry Count = 4
Saved View Count = 4

I've no idea whether it would've been any different if I hadn't of run the
registry tweak.

Anyway, do you think Explorer will be able to 'remember' the folder settings
now or will I need to do anything else??

Thanks again,

Nick :)


Keith Miller MVP said:
If they are only resetting "occasionally", it's possible that explorer has reached it's limit for
saved views and it's deleting older views to make room for new ones. The method explorer uses to
select which view it deletes is less than perfect -- folders on the desktop are especially
vulnerable.

The following is a script that will report on the current numbers for saved views. Copy the text
between the lines below, paste into notepad and save as a .vbs file, then run the script & post the
results back here.

---------------------------------
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]


nick said:
Hi...

I have customized the display of some of my folders and their contents to be
thumbnail view for easier browsing of pictures and images but for some
unknown reason, they occasionally get reset to 'Tiles' view without my
knowledge.

Not a major problem as I can reset them all again afterwards but I was
wondering if anyone is able to advise me how to permanently set them as
thumbnail view...or until I want to reset them??

Thanks :)
 
G

Guest

Cool....thanks a lot for you help Keith :)

Keith Miller MVP said:
That should do it.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


nick said:
Hi Keith,

Many thanks for your swift reply.

Before I checked your reply, someone else suggested running a registry tweak
from Kelly's Korner - bags8000.reg:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000

I ran that then after reading your advice, I ran the vbs script and here's
the results:

Max Views = 8000
Index Entry Count = 4
Saved View Count = 4

I've no idea whether it would've been any different if I hadn't of run the
registry tweak.

Anyway, do you think Explorer will be able to 'remember' the folder settings
now or will I need to do anything else??

Thanks again,

Nick :)


Keith Miller MVP said:
If they are only resetting "occasionally", it's possible that explorer has reached it's limit for
saved views and it's deleting older views to make room for new ones. The method explorer uses to
select which view it deletes is less than perfect -- folders on the desktop are especially
vulnerable.

The following is a script that will report on the current numbers for saved views. Copy the text
between the lines below, paste into notepad and save as a .vbs file, then run the script & post the
results back here.

---------------------------------
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]


Hi...

I have customized the display of some of my folders and their contents to be
thumbnail view for easier browsing of pictures and images but for some
unknown reason, they occasionally get reset to 'Tiles' view without my
knowledge.

Not a major problem as I can reset them all again afterwards but I was
wondering if anyone is able to advise me how to permanently set them as
thumbnail view...or until I want to reset them??

Thanks :)
 

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

Similar Threads


Top