![]() ![]() |
Jul 20 2004, 02:43 PM
Post
#1
|
|
|
Newbie Group: Members Posts: 10 Joined: 17-December 03 Member No.: 11035 |
Does anyone know how the option to auto arrange desktop icons is set? I used regshot to monitor the registry and it noticed no changes. Anyone know how this can be done so that it can be added into a script? Thanks
|
|
|
|
Jul 20 2004, 02:56 PM
Post
#2
|
|
|
Junior ![]() Group: Members Posts: 89 Joined: 7-July 04 Member No.: 24096 |
I would also like to know about this. The behavior is copied over when one copies a profile, so it has to be stored somewhere.
|
|
|
|
Jul 20 2004, 07:24 PM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 555 Joined: 7-October 03 Member No.: 7815 |
hmm if I recall its stored in the NTUSER.DAT thats located in your user folder....this also applys to Quick Launch if I recall also....but its been a while since I read the topic so I could be wrong.
|
|
|
|
Jul 21 2004, 08:24 AM
Post
#4
|
|
|
Junior ![]() Group: Members Posts: 89 Joined: 7-July 04 Member No.: 24096 |
ntuser.dat is a registry hive that is mounted in HKEY_CURRENT_USER when the user logs on, which means it is stored somewhere in the registry. But where? I've also used regshot and it shows no changes being made to the registry.
|
|
|
|
Jul 21 2004, 01:54 PM
Post
#5
|
|
|
Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 779 Joined: 17-March 04 From: Earth Member No.: 16113 |
Auto Arrange is stored in [HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop]
Example: CODE [HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop] "FFlags"=dword:00000225 I narrowed it down to the FFlags Value. I didn't test this with an unattended install. Here's what I did as far as testing: I checked Auto Arrange, logged off and logged back on. I exported the key. I then turned Auto Arrange back off, logged out and logged back in again. I then killed explorer from Task Manager, launched a command prompt, then imported the reg file. When I launched Explorer, my Icons were arranged and auto arrange was enabled in the context menu. I went through this process three times just to make sure. I'd recommend postitioning your icons the way you want, log out and log back in to insure those settings are written to the registry. Then export the entire key. During the unattended installation, import it before first logon. |
|
|
|
Jul 21 2004, 02:52 PM
Post
#6
|
|
|
Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 779 Joined: 17-March 04 From: Earth Member No.: 16113 |
After some more testing, I found out some values to use with FFlags and Sort:
CODE 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 Arange 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 For example, if you wanted to enable auto arrange and sort by type: CODE [HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop]
"FFlags"=dword:00000221 "Sort"=dword:00000002 |
|
|
|
Jul 21 2004, 02:59 PM
Post
#7
|
|
|
Junior ![]() Group: Members Posts: 89 Joined: 7-July 04 Member No.: 24096 |
I LOVE YOU!
|
|
|
|
Jul 21 2004, 03:07 PM
Post
#8
|
|
|
Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 779 Joined: 17-March 04 From: Earth Member No.: 16113 |
Awww, shucks.
Like I said, I haven't tested these during an unattended install but I think they will work if you import these settings before the first logon. |
|
|
|
Jul 21 2004, 03:18 PM
Post
#9
|
|
|
Newbie Group: Members Posts: 10 Joined: 17-December 03 Member No.: 11035 |
Thanks so much, will be trying on my cd soon
|
|
|
|
Jul 21 2004, 06:05 PM
Post
#10
|
|
|
C'mon you apes! You wanna live forever!? Group: Patrons Posts: 3999 Joined: 17-May 04 From: Puertollano, Spain Member No.: 20147
|
i have posted 3 times with the same question
|
|
|
|
Jul 21 2004, 06:50 PM
Post
#11
|
|
|
Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 779 Joined: 17-March 04 From: Earth Member No.: 16113 |
Thank me if it works for your Unattended CD.
|
|
|
|
Jul 21 2004, 07:38 PM
Post
#12
|
|
|
Member ![]() ![]() Group: Members Posts: 152 Joined: 20-September 03 From: Newnan, GA Member No.: 7083
|
Somewhat related question...
In my unattended setup, certain customized shortcuts get placed on my Desktop. However, I would like to arrange some on the left side of the screen, and some on the right... For example, it could be my games on the right side. And, I am not interested in having them displayed in alphabetical order, or any other sorting routine, other than my owm customized placements. Is there a way to automate the placement of these shortcuts? I tried the method of taking a snapshot of the registry, but it didn't work for me... Thanks...! |
|
|
|
Jul 21 2004, 08:06 PM
Post
#13
|
|
|
Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 779 Joined: 17-March 04 From: Earth Member No.: 16113 |
After arranging your icons like you want them, log off and then log back on, open Regedit and export this key:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop] You'll need to import this before the first logon. |
|
|
|
Jul 21 2004, 10:55 PM
Post
#14
|
|
|
Member ![]() ![]() Group: Members Posts: 152 Joined: 20-September 03 From: Newnan, GA Member No.: 7083
|
jrzycrim,
Very Useful! Thanks for your help! Can't wait to try it...! |
|
|
|
Jul 21 2004, 11:54 PM
Post
#15
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 341 Joined: 7-November 03 From: Sucy en Brie Member No.: 9133
|
I'm using Layout.zip from the MS Windows NT 4.0 Resource Kit to save the icons layout in the registry.
|
|
|
|
Jul 22 2004, 12:10 AM
Post
#16
|
|
|
Follow the rules please :-) Group: Patrons Posts: 7658 Joined: 14-November 03 From: Bangalore, India Member No.: 9470
|
QUOTE (jrzycrim @ Jul 22 2004, 02:22 AM) After some more testing, I found out some values to use with FFlags and Sort....... A very good find indeed! So, now we know where the **** thing was hiding. |
|
|
|
Jul 22 2004, 12:51 AM
Post
#17
|
|
|
Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 779 Joined: 17-March 04 From: Earth Member No.: 16113 |
I was hoping to report back with positive results as far as icon positioning goes but alas, due to unrelated problems with my latest unattended CD, I never made it to first logon. *shrug*. Not sure where the problem lies but I suspect the ISO I was testing was corrupted in some way. Didn't get any errors, just hung during the reboot after setup.
I sure hope these tweaks work or there are going to be some people p***ed off at me. |
|
|
|
Jul 22 2004, 03:03 AM
Post
#18
|
|
|
Member ![]() ![]() Group: Members Posts: 245 Joined: 30-March 04 Member No.: 16845 |
Just what I need. Thanks...
So if I put this in my regTweaks.reg file ;Auto Arrange off, Align to Grid off: [HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop] "FFlags"=dword:00000220 Then my icons will not align to grid. Am I right? |
|
|
|
Jul 29 2004, 06:40 AM
Post
#19
|
|
|
Member ![]() ![]() Group: Members Posts: 245 Joined: 30-March 04 Member No.: 16845 |
;Auto Arrange off, Align to Grid off:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop] "FFlags"=dword:00000220 it doesn't work on my pc. The icons are still align to grid???? |
|
|
|
| < |