MSFN Forum: Setting / locking the explorer.exe view - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Setting / locking the explorer.exe view how to customize explorer.exe's default view Rate Topic: ***** 1 Votes

#1 User is offline   besonen 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 06-April 05

Posted 18 May 2009 - 03:39 PM

i want to prevent some users from changing an explorer.exe view setting (because they get confused when they change this setting accidentally).

specifically, how can i lock the explorer.exe view to "details"? iow, i don't want a user to be able to switch the view to thumbnails, tiles, icons, or list.


thanks,
david


#2 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 2,046
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 18 May 2009 - 03:52 PM

There's probably a group policy setting that will do what you want. Type gpedit.msc in the run box and have a look around.

#3 User is offline   besonen 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 06-April 05

Posted 18 May 2009 - 04:13 PM

View Post-X-, on May 18 2009, 02:52 PM, said:

gpedit.msc


is that available in xp home? and if not, if i copy it from xp pro to xp home will it work?

This post has been edited by besonen: 18 May 2009 - 04:32 PM


#4 User is offline   iamtheky 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 866
  • Joined: 11-November 08

Posted 18 May 2009 - 04:22 PM



This post has been edited by iamtheky: 09 August 2011 - 09:17 PM


#5 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 2,046
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 18 May 2009 - 04:37 PM

No, it's not available in home. Not sure if copying it over will work but you can try.

@iamtheky, he's not talking about the start menu.

#6 User is offline   besonen 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 06-April 05

Posted 18 May 2009 - 04:37 PM

View Postiamtheky, on May 18 2009, 03:22 PM, said:

Value Data: [0 = Default / 1 = Force Classic Start Menu]

Exit Registry and Reboot


thanks. i'm not in front of computer i can test this out on atm (the two i'm in front of are both processing things so they cannot be rebooted).

does switching explorer.exe to classic mode force the view to "details"?

#7 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 18 May 2009 - 04:38 PM

View Post-X-, on May 18 2009, 05:52 PM, said:

There's probably a group policy setting that will do what you want. Type gpedit.msc in the run box and have a look around.
Unfortunately, there is no group policy for this, as it only exists for Vista and higher - XP, 2003, etc. lacks any policy to configure these settings or lock them down. However, it can be done. Please again make note that there's no group policy that will lock this down, and what I'm posting here isn't really documented anywhere at all; also, the registry changes currently work only for XP/2003 and potentially Windows 2000, but do not work in Vista or newer - you must add the key {5C4F28B5-F869-4E84-8E60-F11DB97C5CC7} after \AllFolders\Shell\ for it to work there. Also, in Vista+ there's a GPO for this, as above, so I guess that's not really an issue). Without further ado, this is how you would force all user folder views to Explorer by default:

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell
Value: WFlags
Type: REG_DWORD
Data: 0

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell
Value: Status
Type: REG_DWORD
Data: 0

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell
Value: Mode
Type: REG_DWORD
Data: 4

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell
Value: vid
Type: REG_SZ
Data: {137E7700-3573-11CF-AE69-08002B2E1262}


Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\AllFolders\Shell
Value: WFlags
Type: REG_DWORD
Data: 0

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\AllFolders\Shell
Value: Status
Type: REG_DWORD
Data: 0

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\AllFolders\Shell
Value: Mode
Type: REG_DWORD
Data: 4

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\AllFolders\Shell
Value: vid
Type: REG_SZ
Data: {137E7700-3573-11CF-AE69-08002B2E1262}


Here's a .reg that will force "details" view for all current and new folders if imported into a logged-on user's registry:
Windows Registry Editor Version 5.00

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

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\AllFolders\Shell]
"WFlags"=dword:00000000
"Status"=dword:00000000
"Mode"=dword:00000004
"vid"="{137E7700-3573-11CF-AE69-08002B2E1262}"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"WFlags"=dword:00000000
"Status"=dword:00000000
"Mode"=dword:00000004
"vid"="{137E7700-3573-11CF-AE69-08002B2E1262}"


Here are all of the possible "mode" and "vid" values that can be set:
Name 	Mode VID
Icons 	1 {0057D0E0-3573-11CF-AE69-08002B2E1262}
List 	3 {0E1FA5E0-3573-11CF-AE69-08002B2E1262}
Details 4 {137E7700-3573-11CF-AE69-08002B2E1262}
Thumbnail 5 {8BEBB290-52D0-11D0-B7F4-00C04FD706EC}
Tiles 	6 {65F125E5-7BE1-4810-BA9D-D271C8432CE3}
Filmstrip 7 {8EEFA624-D1E9-445B-94B7-74FBCE2EA11A}



EDIT 9th April 2010: Someone documents the Vista/Win7 version of this here:
http://www.msfn.org/...__gopid__917586

This post has been edited by cluberti: 09 April 2010 - 12:15 PM
Reason for edit: Someone else documents this here as well, see EDIT.


#8 User is offline   Noise 

  • Windows Guru
  • PipPipPip
  • Group: Members
  • Posts: 425
  • Joined: 27-February 04

Posted 18 May 2009 - 05:08 PM

OMG Cluberti I love you!@

But it's a fleeting IT kind of love, that will soon be replaced when I get distracted by something shiny later on.

But those registry settings could be loaded and then locked down with ACL's.

/scampers off to look for old setacl.exe script...

// oooo look - something shiny!

#9 User is offline   besonen 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 06-April 05

Posted 18 May 2009 - 05:40 PM

View Postcluberti, on May 18 2009, 03:38 PM, said:

this is how you would force all user folder views . . .


thank you.


View Postcluberti, on May 18 2009, 03:38 PM, said:

Here’s a .reg that will force “details” view for all current and new folders


does this mean that i would need execute the "Apply to All Folders" command after these .reg settings were applied in order to propagate this view to all folders?

#10 User is offline   besonen 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 06-April 05

Posted 18 May 2009 - 05:45 PM

View PostNois3, on May 18 2009, 04:08 PM, said:

But those registry settings could be loaded and then locked down with ACL's.

/scampers off to look for old setacl.exe script...


this sounds useful.

could you post your solution after you implement it?

#11 User is offline   Noise 

  • Windows Guru
  • PipPipPip
  • Group: Members
  • Posts: 425
  • Joined: 27-February 04

Posted 18 May 2009 - 06:07 PM

Well, I doubt I'll take the time to try it out unless I have a reason to. I could have used Cluberti's script 4 years ago really really bad.

But you can do it yourself if you want to. Just make sure you do it on a test (vmware) machine, because if you screw up registry permissions you are really screwed.

First log on as the user you want to lock down, then load Cluberti's registry file. Then, use SETACL.EXE to remove inheritance from the registry keys listed in Cluberti's registry files. Then lock the rights to those keys to "everyone" readonly. That way the currently logged on user will only be able to read those registry keys and not modify them. Should work. The hard part is getting the cryptic commands in setacl.exe correct.

http://setacl.source...l/examples.html

This post has been edited by Nois3: 18 May 2009 - 06:09 PM


#12 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 18 May 2009 - 06:52 PM

View Postbesonen, on May 18 2009, 07:40 PM, said:

does this mean that i would need execute the "Apply to All Folders" command after these .reg settings were applied in order to propagate this view to all folders?

No, the .reg clears all the user's explorer views they've saved in the user's profile and replaces them with the "explorer" view. It just takes a reg merge, logoff and logon (or apply during a synchronous logon script, before explorer loads), and it's done.

#13 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 18 May 2009 - 06:54 PM

View PostNois3, on May 18 2009, 08:07 PM, said:

Well, I doubt I'll take the time to try it out unless I have a reason to. I could have used Cluberti's script 4 years ago really really bad.
I figured it out a few years ago, but I don't support XP anymore so I'd basically forgotten it. Thank goodness for email search! :P

#14 User is offline   Sp0iLedBrAt 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,710
  • Joined: 19-March 09
  • OS:XP Pro x86
  • Country: Country Flag

Posted 13 April 2010 - 03:24 PM

What would I have to do to set the view to "Icons"?

Thanks in advance.

#15 User is offline   Noise 

  • Windows Guru
  • PipPipPip
  • Group: Members
  • Posts: 425
  • Joined: 27-February 04

Posted 13 April 2010 - 04:25 PM

View PostSp0iLedBrAt, on 13 April 2010 - 03:24 PM, said:

What would I have to do to set the view to "Icons"?

You'd have to be crazy.

#16 User is offline   Sp0iLedBrAt 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,710
  • Joined: 19-March 09
  • OS:XP Pro x86
  • Country: Country Flag

Posted 13 April 2010 - 05:55 PM

View PostNoise, on 13 April 2010 - 04:25 PM, said:

View PostSp0iLedBrAt, on 13 April 2010 - 03:24 PM, said:

What would I have to do to set the view to "Icons"?

You'd have to be crazy.


Yeah, thanks, very funny. I appreciate a bit of humour, especially when it's supported by facts. Nevertheless, I'm sticking to my question.

#17 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 13 April 2010 - 08:09 PM

Set the mode and vid values in the registry for icons?

Name Mode VID
Icons 1 {0057D0E0-3573-11CF-AE69-08002B2E1262}


#18 Guest_necoo_*

  • Group: Guests

Posted 30 August 2010 - 03:38 AM

There's probably a group policy setting that will do what you want. Type gpedit.msc in the run box and have a look around

This post has been edited by Tripredacus: 02 September 2010 - 02:46 PM
Reason for edit: removed links


#19 User is offline   schloss 

  • Member
  • Pip
  • Group: Members
  • Posts: 51
  • Joined: 23-July 08
  • OS:none specified
  • Country: Country Flag

Posted 28 October 2010 - 04:36 AM

View Postcluberti, on 18 May 2009 - 04:38 PM, said:

EDIT 9th April 2010: Someone documents the Vista/Win7 version of this here:
http://www.msfn.org/...__gopid__917586


That link is broken.

Try this for now: http://www.msfn.org/...o-folder-views/

#20 User is offline   junebug2012 

  • Group: Members
  • Posts: 3
  • Joined: 11-February 11
  • OS:XP Pro x86
  • Country: Country Flag

Posted 12 February 2011 - 12:18 PM

OK...

I'm as green as they come with this stuff.... so please bear with me.

I'm trying this out and i'm not getting any results.

When i went into the reg the branch, [HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell and [HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags\AllFolders\Shell] Didn't exist.

All that was there was [HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags] and [HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]

So, I created the rest of the branch, created the keys and set the values exactly as above.

Reboot. open a few folders.... no change...

What am I missing here?

Thanks for your time.

This post has been edited by junebug2012: 12 February 2011 - 12:32 PM


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy