Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Setting / locking the explorer.exe view

* * * * * 1 votes

  • Please log in to reply
22 replies to this topic

#1
besonen

besonen

    Newbie

  • Member
  • 12 posts
  • Joined 06-April 05
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


How to remove advertisement from MSFN

#2
-X-

-X-

    Member

  • MSFN Sponsor
  • 2,414 posts
  • Joined 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Donator

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.

Download all Windows XP Post SP3 High-Priority Updates with a simple double click @ xdot.tk post-12166-0-42859000-1399044129.png ]
               If someone helps you fix a problem, please report back so they and others can benefit from the solution. Thanks!


#3
besonen

besonen

    Newbie

  • Member
  • 12 posts
  • Joined 06-April 05

gpedit.msc


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

Edited by besonen, 18 May 2009 - 04:32 PM.


#4
-X-

-X-

    Member

  • MSFN Sponsor
  • 2,414 posts
  • Joined 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Donator

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.

Download all Windows XP Post SP3 High-Priority Updates with a simple double click @ xdot.tk post-12166-0-42859000-1399044129.png ]
               If someone helps you fix a problem, please report back so they and others can benefit from the solution. Thanks!


#5
besonen

besonen

    Newbie

  • Member
  • 12 posts
  • Joined 06-April 05

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"?

#6
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag

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

Edited by cluberti, 09 April 2010 - 12:15 PM.
Someone else documents this here as well, see EDIT.

MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#7
Noise

Noise

    Windows Guru

  • Member
  • PipPipPip
  • 425 posts
  • Joined 27-February 04
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!

#8
besonen

besonen

    Newbie

  • Member
  • 12 posts
  • Joined 06-April 05

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


thank you.


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?

#9
besonen

besonen

    Newbie

  • Member
  • 12 posts
  • Joined 06-April 05

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?

#10
Noise

Noise

    Windows Guru

  • Member
  • PipPipPip
  • 425 posts
  • Joined 27-February 04
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

Edited by Nois3, 18 May 2009 - 06:09 PM.


#11
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag

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.
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#12
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag

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
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#13
Sp0iLedBrAt

Sp0iLedBrAt

    MSFN Addict

  • MSFN Sponsor
  • 1,727 posts
  • Joined 19-March 09
  • OS:XP Pro x86
  • Country: Country Flag
What would I have to do to set the view to "Icons"?

Thanks in advance.

#14
Noise

Noise

    Windows Guru

  • Member
  • PipPipPip
  • 425 posts
  • Joined 27-February 04

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

You'd have to be crazy.

#15
Sp0iLedBrAt

Sp0iLedBrAt

    MSFN Addict

  • MSFN Sponsor
  • 1,727 posts
  • Joined 19-March 09
  • OS:XP Pro x86
  • Country: Country Flag


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.

#16
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
Set the mode and vid values in the registry for icons?

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

MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#17
Guest_necoo_*

Guest_necoo_*
  • Guests
  • Joined --
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

Edited by Tripredacus, 02 September 2010 - 02:46 PM.
removed links


#18
schloss

schloss

    Member

  • Member
  • Pip
  • 51 posts
  • Joined 23-July 08
  • OS:none specified
  • Country: Country Flag

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/

#19
junebug2012

junebug2012
  • Member
  • 3 posts
  • Joined 11-February 11
  • OS:XP Pro x86
  • Country: Country Flag
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.

Edited by junebug2012, 12 February 2011 - 12:32 PM.


#20
dencorso

dencorso

    Adiuvat plus qui nihil obstat

  • Supervisor
  • 5,887 posts
  • Joined 07-April 07
  • OS:98SE
  • Country: Country Flag

Donator

Here. Try to merge this reg file. Then let me know what happened.

Attached Files



#21
Joseph_sw

Joseph_sw

    Member

  • Member
  • PipPip
  • 217 posts
  • Joined 03-August 08
  • OS:98SE
  • Country: Country Flag
is there also this kind of settings for XP explorer's search result?

for example: when i use advanced search, and looking for '*.jpg' or '*.png', view result automatically change to Thumbnails,
thats annoying as i need the results presented in Details views and not the Thumbnails one.
i forced to click that view icon every time.

#22
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,520 posts
  • Joined 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag
Would it be possible to fix folder settings not only to Details but also to be sorted "by Type" on default?
Posted Image
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages

#23
phaolo

phaolo

    Member

  • Member
  • PipPip
  • 189 posts
  • Joined 12-March 07
Details views and not the Thumbnails

I think you could only change those dialogs with a third-party (free) program.

Unfortunately I totally forgot the name, so you have to google for it..  :(






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users