Fog Creek Software
Discussion Board




Registry Permissions and Explorer Options

This is a shot in the dark, but I have two problems that I've been searching for the solution to for a while.

1.) I need a tool that allows me to view the Windows Registry by permission, and allows me to quickly find keys that do not inherit permissions from their parent.

The reason is, I've changed permissions on some of my keys (to prevent certain programs from doing things) and I didn't keep a log of all of the changes that I made.

2.) My "File Open/Save" common dialogs now default to Thumbnail view all of a sudden, and I can't get them back to List view.

I've tried analyzing the keys that are used with RegMon (SysInternals), but there is nothing obvious.  So far, I've been able to find nothing on the net that works (I've deleted HKCU/.../ShellNoRoam/BagMRU and /Bags in an attempt to reset them, but to no avail).

If anyone has experience with either of these, your help would be greatly appreciated.

Wayne
Monday, December 22, 2003

The problem is that egg nog does, in fact, go bad after a while. Remember that most commercial egg nogs contain copious amounts of raw eggs, which themselves are bacterial cesspools --  do not keep the eggnog for too long and you'll avoid this problem.

Dennis Forbes
Monday, December 22, 2003

Setting HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Explorer\Advanced\ClassicViewState to 1 is supposed to completely disable the thumbnail view, if that's any use.

R1ch
Monday, December 22, 2003

Thanks R1ch.  I tried that, and it didn't work.

Wayne
Monday, December 22, 2003

OK, problem # 2 has been solved.  I forgot that I changed the location of special folder "My Pictures" to point to the same folder as "My Documents" since I don't just have one pictures folder, but their all somewhere under "My Documents".

Arrg!

Wayne
Monday, December 22, 2003

The standard security APIs GetSecurityInfo and GetNamedSecurityInfo can be used to get the security descriptor for a registry key, so you could probably write a simple little app to walk through the portion of the registry you are interested in and report back all the keys that have the PROTECTED_DACL_SECURITY_INFORMATION bit set (meaning they don't inherit from their parent.)

Mike Treit
Tuesday, December 23, 2003

This should do it:
http://www.sysinternals.com/ntw2k/source/accessenum.shtml

John Topley (www.johntopley.com)
Tuesday, December 23, 2003

*  Recent Topics

*  Fog Creek Home