Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
cardguy1000

Auto Arrange Desktop Icons Setting?

Recommended Posts


You are the man! well Played on the arrange icons.

You know where "show in groups" , "icons" instead of tiles settings are?

Also then applying this view to all windows?

Chris

Share this post


Link to post
Share on other sites

Just set it how you want it then export the whole thing starting with HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell, add that to your tweeks and run from cmdlines.txt

[Commands]

"REGEDIT /S tweeks.reg"

Windows Registry Editor Version 5.00

;AutoArrange and Sort by Type

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]

"BagMRU Size"=dword:00001388

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BagMRU]

"NodeSlots"=hex:02

"MRUListEx"=hex:ff,ff,ff,ff

"NodeSlot"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1]

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

"FFlags"=dword:00000225

"Sort"=dword:00000002

"Mode"=dword:00000001

"ScrollPos640x480(1).x"=dword:00000000

"ScrollPos640x480(1).y"=dword:00000000

"SortDir"=dword:00000001

"Col"=dword:00000000

"ColInfo"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,fd,df,df,fd,0f,\

00,04,00,20,00,10,00,00,00,28,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,\

00,00,b4,00,60,00,78,00,78,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

"ItemPos640x480(1)"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,18,00,\

00,00,02,00,00,00,14,00,1f,48,ba,8f,0d,45,25,ad,d0,11,98,a8,08,00,36,1b,11,\

03,18,00,00,00,4d,00,00,00,14,00,1f,50,e0,4f,d0,20,ea,3a,69,10,a2,d8,08,00,\

2b,30,30,9d,18,00,00,00,98,00,00,00,14,00,1f,58,60,2c,8d,20,ea,3a,69,10,a2,\

d7,08,00,2b,30,30,9d,48,02,00,00,79,01,00,00,14,00,1f,60,40,f0,5f,64,81,50,\

1b,10,9f,08,00,aa,00,2f,95,4e,18,00,00,00,e3,00,00,00,14,00,1f,68,80,53,1c,\

87,a0,42,69,10,a2,ea,08,00,2b,30,30,9d,18,00,00,00,2e,01,00,00,58,00,3a,00,\

c6,06,00,00,5a,3f,04,bf,20,00,41,44,4f,42,45,52,7e,31,2e,4c,4e,4b,00,00,3c,\

00,03,00,04,00,ef,be,5a,3f,04,bf,5a,3f,04,bf,14,00,00,00,41,00,64,00,6f,00,\

62,00,65,00,20,00,52,00,65,00,61,00,64,00,65,00,72,00,20,00,58,00,2e,00,6c,\

00,6e,00,6b,00,00,00,1c,00,18,00,00,00,79,01,00,00,74,00,3a,00,ac,07,00,00,\

5a,3f,18,bf,20,00,43,49,54,52,49,58,7e,31,2e,4c,4e,4b,00,00,58,00,03,00,04,\

00,ef,be,5a,3f,18,bf,5a,3f,18,bf,14,00,00,00,43,00,69,00,74,00,72,00,69,00,\

78,00,20,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,00,4e,00,65,00,69,\

00,67,00,68,00,62,00,6f,00,72,00,68,00,6f,00,6f,00,64,00,2e,00,6c,00,6e,00,\

6b,00,32,00,00,00,1c,00,68,00,00,00,02,00,00,00,72,00,3a,00,e5,09,00,00,5a,\

3f,cb,bd,20,00,4d,49,43,52,4f,53,7e,32,2e,4c,4e,4b,00,00,56,00,03,00,04,00,\

ef,be,5a,3f,cb,bd,5a,3f,cb,bd,14,00,00,00,4d,00,69,00,63,00,72,00,6f,00,73,\

00,6f,00,66,00,74,00,20,00,4f,00,66,00,66,00,69,00,63,00,65,00,20,00,45,00,\

78,00,63,00,65,00,6c,00,20,00,32,00,30,00,30,00,37,00,2e,00,6c,00,6e,00,6b,\

00,00,00,1c,00,68,00,00,00,4d,00,00,00,76,00,3a,00,e5,09,00,00,5a,3f,cb,bd,\

20,00,4d,49,43,52,4f,53,7e,31,2e,4c,4e,4b,00,00,5a,00,03,00,04,00,ef,be,5a,\

3f,cb,bd,5a,3f,cb,bd,14,00,00,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,\

66,00,74,00,20,00,4f,00,66,00,66,00,69,00,63,00,65,00,20,00,4f,00,75,00,74,\

00,6c,00,6f,00,6f,00,6b,00,20,00,32,00,30,00,30,00,37,00,2e,00,6c,00,6e,00,\

6b,00,00,00,1c,00,68,00,00,00,98,00,00,00,70,00,3a,00,e5,09,00,00,5a,3f,cb,\

bd,20,00,4d,49,43,52,4f,53,7e,33,2e,4c,4e,4b,00,00,54,00,03,00,04,00,ef,be,\

5a,3f,cb,bd,5a,3f,cb,bd,14,00,00,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,\

00,66,00,74,00,20,00,4f,00,66,00,66,00,69,00,63,00,65,00,20,00,57,00,6f,00,\

72,00,64,00,20,00,32,00,30,00,30,00,37,00,2e,00,6c,00,6e,00,6b,00,00,00,1c,\

00,68,00,00,00,98,00,00,00,00,00,00,00

"ScrollPos800x600(1).x"=dword:00000000

"ScrollPos800x600(1).y"=dword:00000000

Share this post


Link to post
Share on other sites

For a more complete list check out what Microsoft has this to say on the subject:

FOLDERFLAGS enumeration

A set of flags that specify folder view options. The flags are independent of each other and can be used in any combination.

Syntax

 ____
|C++ |_______________________________________________________________________________

typedef enum FOLDERFLAGS {

FWF_NONE                 = 0x00000000,
FWF_AUTOARRANGE          = 0x00000001,
FWF_ABBREVIATEDNAMES     = 0x00000002,
FWF_SNAPTOGRID           = 0x00000004,
FWF_OWNERDATA            = 0x00000008,
FWF_BESTFITWINDOW        = 0x00000010,
FWF_DESKTOP              = 0x00000020,
FWF_SINGLESEL            = 0x00000040,
FWF_NOSUBFOLDERS         = 0x00000080,
FWF_TRANSPARENT          = 0x00000100,
FWF_NOCLIENTEDGE         = 0x00000200,
FWF_NOSCROLL             = 0x00000400,
FWF_ALIGNLEFT            = 0x00000800,
FWF_NOICONS              = 0x00001000,
FWF_SHOWSELALWAYS        = 0x00002000,
FWF_NOVISIBLE            = 0x00004000,
FWF_SINGLECLICKACTIVATE  = 0x00008000,
FWF_NOWEBVIEW            = 0x00010000,
FWF_HIDEFILENAMES        = 0x00020000,
FWF_CHECKSELECT          = 0x00040000,
FWF_NOENUMREFRESH        = 0x00080000,
FWF_NOGROUPING           = 0x00100000,
FWF_FULLROWSELECT        = 0x00200000,
FWF_NOFILTERS            = 0x00400000,
FWF_NOCOLUMNHEADER       = 0x00800000,
FWF_NOHEADERINALLVIEWS   = 0x01000000,
FWF_EXTENDEDTILES        = 0x02000000,
FWF_TRICHECKSELECT       = 0x04000000,
FWF_AUTOCHECKSELECT      = 0x08000000,
FWF_NOBROWSERVIEWSTATE   = 0x10000000,
FWF_SUBSETGROUPS         = 0x20000000,
FWF_USESEARCHFOLDER      = 0x40000000,
FWF_ALLOWRTLREADING      = 0x80000000

 } FOLDERFLAGS;
_______________________________________________________________________________

Constants

FWF_NONE

0x00000000. Windows 7 and later. No special view options.

FWF_AUTOARRANGE

0x00000001. Automatically arrange the elements in the view. This implies LVS_AUTOARRANGE if the list-view control is used to implement the view.

FWF_ABBREVIATEDNAMES

0x00000002. Not supported.

FWF_SNAPTOGRID

0x00000004. Not supported.

FWF_OWNERDATA

0x00000008. Not supported.

FWF_BESTFITWINDOW

0x00000010. Not supported.

FWF_DESKTOP

0x00000020. Make the folder behave like the desktop. This value applies only to the desktop and is not used for typical Shell folders. This flag implies FWF_NOCLIENTEDGE and FWF_NOSCROLL.

FWF_SINGLESEL

0x00000040. Do not allow more than a single item to be selected. This is used in the common dialog boxes.

FWF_NOSUBFOLDERS

0x00000080. Do not show subfolders.

FWF_TRANSPARENT

0x00000100. Draw transparently. This is used only for the desktop.

FWF_NOCLIENTEDGE

0x00000200. Not supported.

FWF_NOSCROLL

0x00000400. Do not add scroll bars. This is used only for the desktop.

FWF_ALIGNLEFT

0x00000800. The view should be left-aligned. This implies LVS_ALIGNLEFT if the list-view control is used to implement the view.

FWF_NOICONS

0x00001000. The view should not display icons.

FWF_SHOWSELALWAYS

0x00002000. This flag is deprecated as of Windows XP and has no effect. Always show the selection.

FWF_NOVISIBLE

0x00004000. Not supported.

FWF_SINGLECLICKACTIVATE

0x00008000. Not supported.

FWF_NOWEBVIEW

0x00010000. The view should not be shown as a web view.

FWF_HIDEFILENAMES

0x00020000. The view should not display file names.

FWF_CHECKSELECT

0x00040000. Turns on the check mode for the view.

FWF_NOENUMREFRESH

0x00080000. Windows Vista and later. Do not re-enumerate the view (or drop the current contents of the view) when the view is refreshed.

FWF_NOGROUPING

0x00100000. Windows Vista and later. Do not allow grouping in the view

FWF_FULLROWSELECT

0x00200000. Windows Vista and later. When an item is selected, the item and all its sub-items are highlighted.

FWF_NOFILTERS

0x00400000. Windows Vista and later. Do not display filters in the view.

FWF_NOCOLUMNHEADER

0x00800000. Windows Vista and later. Do not display a column header in the view in any view mode.

FWF_NOHEADERINALLVIEWS

0x01000000. Windows Vista and later. Only show the column header in details view mode.

FWF_EXTENDEDTILES

0x02000000. Windows Vista and later. When the view is in "tile view mode" the layout of a single item should be extended to the width of the view.

FWF_TRICHECKSELECT

0x04000000. Windows Vista and later. Not supported.

FWF_AUTOCHECKSELECT

0x08000000. Windows Vista and later. Items can be selected using checkboxes.

FWF_NOBROWSERVIEWSTATE

0x10000000. Windows Vista and later. The view should not save view state in the browser.

FWF_SUBSETGROUPS

0x20000000. Windows Vista and later. The view should list the number of items displayed in each group. To be used with IFolderView2::SetGroupSubsetCount.

FWF_USESEARCHFOLDER

0x40000000. Windows Vista and later. Use the search folder for stacking and searching.

FWF_ALLOWRTLREADING

(int)0x80000000. Windows Vista and later. Ensure right-to-left reading layout in a right-to-left system. Without this flag, the view displays strings from left-to-right both on systems set to left-to-right and right-to-left reading layout, which ensures that file names display correctly.

Requirements

Minimum supported client: Windows XP, Windows 7 [desktop apps only]

Minimum supported server: Windows 2000 Server [desktop apps only]

Header: Shobjidl.h

IDL: Shobjidl.idl

-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-

Source:https://msdn.microsoft.com/en-us/library/windows/desktop/bb762508(v=vs.85).aspx

Share this post


Link to post
Share on other sites

My problem was Desktop was in different \Bags  subfolders so, I just added this to a bat file:

--------

@CLS

@for /f "tokens=1" %%a in ('@REG Query HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\ /s /F "Desktop"') do @(@Reg Add %%a /v FFlags /t REG_DWORD /d 1075839525 /f)

Exit

---------

(1075839525=40200225) See my other post for calculating this value. or https://msdn.microsoft.com/en-us/library/windows/desktop/bb762508(v=vs.85).aspx

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...