Re: Desktop icons won´t save



Werner,

Do you happen to have a program called Anti-Peeper Key?
http://www.ahusoft.com/antipeeperkey.htm

<quote>
You press 2 keys and it will switch you to a completely different desktop. I
had no idea that this might create a problem, but evidently, when you are
running this program (even if it is not active, but loaded and ready to use
when you push the 2 keys to switch desktops) the "align to grid" setting on
the alternate desktop must be unchecked also. I unchecked "align to grid and
when I rebooted, icons popped right into the spaces they were supposed to.
<quote>
http://help.lockergnome.com/windows/Desktop-Icons-Staying-put-ftopict539528.html

out something new - in an article i was reading the positions of the
desktop icons are stored in the registry in
HK_CU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams

No, that is incorrect.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams
is for window size and location.

compared my PC with two others - the others have folders in the registry
1,2,3.... and so on.

That info is for the 28 folder views, size, position, etc. that Windows
saves.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams
\Desktop
is for Taskbar and Toolbars preferences, not Desktop icon layout.

<quote>
Windows saves size and location information for closed windows in the
following registry location:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams

Windows saves size and location information for up to 28 different windows.
Each window's size and location parameters are stored in a subkey of the
Streams key. The subkeys are assigned sequentially on a per-user basis. For
example, when a new user logs on, the first window's parameters are stored
in the subkey named 0. The second window's parameters are stored in a subkey
named 1. After 28 subkeys have been created and a new window is opened, the
parameters for the twenty-ninth window overwrite the parameters for one of
the first 28 windows. When a window for which the parameters were
overwritten is opened, the window opens with the default parameters for that
window.
<quote>
from...
How Windows NT Saves Window Size and Location Parameters
http://support.microsoft.com/kb/235994

<quote>
Windows stores up to 28 entries containing View preferences for the desktop
and windows that you open in a most-recently-used (MRU) list. When you close
a window, the View preferences are written to subkeys with the names 0, 1,
2, and so on, located in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams
<quote>
from...
How Windows Stores View Preferences
http://support.microsoft.com/kb/171002

As for this key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams
\Defaults
{21EC2020-3AEA-1069-A2DD-08002B30309D} is the CLSID for the Control Panel.
{F3364BA0-65B9-11CE-A9BA-00AA004AE837} is the CLSID for Shell File System
Folder.

I can only assume (SWAG) that if you click the Reset All Folders button in
folder Options | View tab that key comes into play.

Reset All Folders button:
[[Click to reset the folder settings that were in effect when Windows was
installed. This does not apply to toolbar settings.]]

Desktop Layout is saved here...
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop

<quote>
Auto Arrange off, Align to Grid off:
"FFlags"=dword:00000220

Auto Arrange on:
"FFlags"=dword:00000221

Auto Arrange off - align to Grid On:
"FFlags"=dword:00000224

Auto Arrange on, Align to Grid on:
"FFlags"=dword:00000225

Hide Desktop Icons:
"FFlags"=dword:00001220

Sort by name:
"Sort"=dword:00000000

Sort by size:
"Sort"=dword:00000001

Sort by type:
"Sort"=dword:00000002

Sort by Modified:
"Sort"=dword:00000003
<quote>
http://msfn.org/board/index.php?act=ST&f=70&t=22555

Mine is Auto Arrange Off - Align to Grid On:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop]
"FFlags"=dword:00000224

HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop

I do not know all of the specifics, but you have the Col & ColInfo which I
assume has to do with how many columns there are on the Desktop. Mine 11
rows and 7 columns. Which has to do with my screen resolution (800 by 600
pixels) and Icon Size, Icon Spacing (Horizontal) and Icon Spacing (Vertical)
all from Display Properties | Advanced button

If I double-click: ItemPos640x480(1) & ItemPos800x600(1) and I can make out
the
names of items on my Desktop. All of the shortcuts, actual files and
folders.

Mode, I have no idea.

ScrollPos640x480(1).x, ScrollPos640x480(1).y, ScrollPos800x600(1).x and
ScrollPos800x600(1).y I assume relate to x and y coordinates (rows and
columns) in 640x480 (Safe Mode screen resolution) and 800x600, my normal
screen resolution. Or maybe where the lower left hand corner of the screen
is. For the Desktop. <shrug>

Sort & SortDir I assume relates to Right click Desktop | Arrange icons by
and what settings are selected.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:envcjb$ihe$00$1@xxxxxxxxxxxxxxxxx,
Werner Tröger <WeT-Klb@xxxxxxxxxxx> hunted and pecked:
"Wesley Vogel" <123WVogel955@xxxxxxxxxxx> schrieb im Newsbeitrag
news:ueRSnW2MHHA.2236@xxxxxxxxxxxxxxxxxxxxxxx
In your fist post you stated that you deleted layout.ini.

Did you mean layout.dll?

Sorry - no. I deleted the layout.ini in the prefetch folder. But i found
out something new - in an article i was reading the positions of the
desktop icons are stored in the registry in
HK_CU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams. I
compared my PC with two others - the others have folders in the registry
1,2,3.... and so on. I only have the binary data TaskbarWinXP and
Toolbars there. I added the DWORD "Upgrade" like on the other machines
and set it to 1. But it don´t show any effect.
After a restart again the AutoArrange is checked.
And as i wrote before - even while running a press to F5 set back the
desktop changes.

Greetings Werner

.