Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Per-user shell context menu extensions?

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 01-15-2007   #1 (permalink)
Keith MacDonald
Guest


 

Per-user shell context menu extensions?

Vista has broken the ability of applications (eg. WinZip), without elevated
privilege, to add themselves to Explorer's context menus. On previous
versions of Windows, they could do that by writing an entry in the registry
to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers.

Does Vista use an alternative registry location for such entries, that only
apply to the current user, so that no elevation is required?

Thanks!



My System SpecsSystem Spec
Old 01-15-2007   #2 (permalink)
Jesper
Guest


 

RE: Per-user shell context menu extensions?

This was never possible without elevated permissions. HKCR (more correctly,
HKLM\Software\Classes) has always been restricted to administrators as far as
I know. Vista only makes that more obvious because people can actually use
Vista as a non-admin.

HKLM\Software\Classes cannot be virtualized, and I don't think there is
another place to put that data that would be merged, so no, sorry.

"Keith MacDonald" wrote:

> Vista has broken the ability of applications (eg. WinZip), without elevated
> privilege, to add themselves to Explorer's context menus. On previous
> versions of Windows, they could do that by writing an entry in the registry
> to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers.
>
> Does Vista use an alternative registry location for such entries, that only
> apply to the current user, so that no elevation is required?
>
> Thanks!
>
>
>

My System SpecsSystem Spec
Old 01-16-2007   #3 (permalink)
Keith MacDonald
Guest


 

Re: Per-user shell context menu extensions?

That's a pity. If Microsoft are going to put us in a sandbox, they at least
ought to allow us to play. It's a design mistake to assume that all users
of a given PC will want to customize their shell the same way.

"Jesper" <Jesper@discussions.microsoft.com> wrote in message
news:19F89928-0F0A-407D-9C65-CF287E13989A@microsoft.com...
> This was never possible without elevated permissions. HKCR (more
> correctly,
> HKLM\Software\Classes) has always been restricted to administrators as far
> as
> I know. Vista only makes that more obvious because people can actually use
> Vista as a non-admin.
>
> HKLM\Software\Classes cannot be virtualized, and I don't think there is
> another place to put that data that would be merged, so no, sorry.
>
> "Keith MacDonald" wrote:
>
>> Vista has broken the ability of applications (eg. WinZip), without
>> elevated
>> privilege, to add themselves to Explorer's context menus. On previous
>> versions of Windows, they could do that by writing an entry in the
>> registry
>> to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers.
>>
>> Does Vista use an alternative registry location for such entries, that
>> only
>> apply to the current user, so that no elevation is required?
>>
>> Thanks!
>>
>>
>>



My System SpecsSystem Spec
Old 01-16-2007   #4 (permalink)
Jesper
Guest


 

Re: Per-user shell context menu extensions?

Could be, but I think the reality is that most users do not customize their
shell at all.

Sometimes I miss Unix ability to put any shell you want on a system though.

"Keith MacDonald" wrote:

> That's a pity. If Microsoft are going to put us in a sandbox, they at least
> ought to allow us to play. It's a design mistake to assume that all users
> of a given PC will want to customize their shell the same way.
>
> "Jesper" <Jesper@discussions.microsoft.com> wrote in message
> news:19F89928-0F0A-407D-9C65-CF287E13989A@microsoft.com...
> > This was never possible without elevated permissions. HKCR (more
> > correctly,
> > HKLM\Software\Classes) has always been restricted to administrators as far
> > as
> > I know. Vista only makes that more obvious because people can actually use
> > Vista as a non-admin.
> >
> > HKLM\Software\Classes cannot be virtualized, and I don't think there is
> > another place to put that data that would be merged, so no, sorry.
> >
> > "Keith MacDonald" wrote:
> >
> >> Vista has broken the ability of applications (eg. WinZip), without
> >> elevated
> >> privilege, to add themselves to Explorer's context menus. On previous
> >> versions of Windows, they could do that by writing an entry in the
> >> registry
> >> to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers.
> >>
> >> Does Vista use an alternative registry location for such entries, that
> >> only
> >> apply to the current user, so that no elevation is required?
> >>
> >> Thanks!
> >>
> >>
> >>

>
>
>

My System SpecsSystem Spec
Old 01-16-2007   #5 (permalink)
Dave Wood [MS]
Guest


 

Re: Per-user shell context menu extensions?

As far as I know HKEY_CLASSES_ROOT is a merge of
HKEY_LOCAL_MACHINE\Software\Classes and HKEY_CURRENT_USER\Software\Classes.
So I would have though that the desired keys could be added to
HKEY_CURRENT_USER\Software\Classes {which each user has write access to} to
get the desired per-user effect.

Note, I'm not an expert on shell context menus, so forgive me if this is a
blind alley ...

Dave Wood

"Keith MacDonald" <nospam@parasites.com> wrote in message
news:urERDcXOHHA.3916@TK2MSFTNGP02.phx.gbl...
> That's a pity. If Microsoft are going to put us in a sandbox, they at
> least ought to allow us to play. It's a design mistake to assume that all
> users of a given PC will want to customize their shell the same way.
>
> "Jesper" <Jesper@discussions.microsoft.com> wrote in message
> news:19F89928-0F0A-407D-9C65-CF287E13989A@microsoft.com...
>> This was never possible without elevated permissions. HKCR (more
>> correctly,
>> HKLM\Software\Classes) has always been restricted to administrators as
>> far as
>> I know. Vista only makes that more obvious because people can actually
>> use
>> Vista as a non-admin.
>>
>> HKLM\Software\Classes cannot be virtualized, and I don't think there is
>> another place to put that data that would be merged, so no, sorry.
>>
>> "Keith MacDonald" wrote:
>>
>>> Vista has broken the ability of applications (eg. WinZip), without
>>> elevated
>>> privilege, to add themselves to Explorer's context menus. On previous
>>> versions of Windows, they could do that by writing an entry in the
>>> registry
>>> to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers.
>>>
>>> Does Vista use an alternative registry location for such entries, that
>>> only
>>> apply to the current user, so that no elevation is required?
>>>
>>> Thanks!
>>>
>>>
>>>

>
>


My System SpecsSystem Spec
Old 01-16-2007   #6 (permalink)
Jesper
Guest


 

Re: Per-user shell context menu extensions?

Good thought. According to MSDN that should work:
http://msdn2.microsoft.com/en-us/library/ms724498.aspx.

Be worth a try anyway.

"Dave Wood [MS]" wrote:

> As far as I know HKEY_CLASSES_ROOT is a merge of
> HKEY_LOCAL_MACHINE\Software\Classes and HKEY_CURRENT_USER\Software\Classes.
> So I would have though that the desired keys could be added to
> HKEY_CURRENT_USER\Software\Classes {which each user has write access to} to
> get the desired per-user effect.
>
> Note, I'm not an expert on shell context menus, so forgive me if this is a
> blind alley ...
>
> Dave Wood
>
> "Keith MacDonald" <nospam@parasites.com> wrote in message
> news:urERDcXOHHA.3916@TK2MSFTNGP02.phx.gbl...
> > That's a pity. If Microsoft are going to put us in a sandbox, they at
> > least ought to allow us to play. It's a design mistake to assume that all
> > users of a given PC will want to customize their shell the same way.
> >
> > "Jesper" <Jesper@discussions.microsoft.com> wrote in message
> > news:19F89928-0F0A-407D-9C65-CF287E13989A@microsoft.com...
> >> This was never possible without elevated permissions. HKCR (more
> >> correctly,
> >> HKLM\Software\Classes) has always been restricted to administrators as
> >> far as
> >> I know. Vista only makes that more obvious because people can actually
> >> use
> >> Vista as a non-admin.
> >>
> >> HKLM\Software\Classes cannot be virtualized, and I don't think there is
> >> another place to put that data that would be merged, so no, sorry.
> >>
> >> "Keith MacDonald" wrote:
> >>
> >>> Vista has broken the ability of applications (eg. WinZip), without
> >>> elevated
> >>> privilege, to add themselves to Explorer's context menus. On previous
> >>> versions of Windows, they could do that by writing an entry in the
> >>> registry
> >>> to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers.
> >>>
> >>> Does Vista use an alternative registry location for such entries, that
> >>> only
> >>> apply to the current user, so that no elevation is required?
> >>>
> >>> Thanks!
> >>>
> >>>
> >>>

> >
> >

>
>

My System SpecsSystem Spec
Old 01-17-2007   #7 (permalink)
Keith MacDonald
Guest


 

Re: Per-user shell context menu extensions?

Dave, you're more of an expert than you think! That works, so many thanks
for suggesting it.

- Keith

"Dave Wood [MS]" <davewood@online.microsoft.com> wrote in message
news:eZ9m3VaOHHA.448@TK2MSFTNGP04.phx.gbl...
> As far as I know HKEY_CLASSES_ROOT is a merge of
> HKEY_LOCAL_MACHINE\Software\Classes and
> HKEY_CURRENT_USER\Software\Classes. So I would have though that the
> desired keys could be added to HKEY_CURRENT_USER\Software\Classes {which
> each user has write access to} to get the desired per-user effect.
>
> Note, I'm not an expert on shell context menus, so forgive me if this is a
> blind alley ...
>
> Dave Wood
>
> "Keith MacDonald" <nospam@parasites.com> wrote in message
> news:urERDcXOHHA.3916@TK2MSFTNGP02.phx.gbl...
>> That's a pity. If Microsoft are going to put us in a sandbox, they at
>> least ought to allow us to play. It's a design mistake to assume that
>> all users of a given PC will want to customize their shell the same way.
>>
>> "Jesper" <Jesper@discussions.microsoft.com> wrote in message
>> news:19F89928-0F0A-407D-9C65-CF287E13989A@microsoft.com...
>>> This was never possible without elevated permissions. HKCR (more
>>> correctly,
>>> HKLM\Software\Classes) has always been restricted to administrators as
>>> far as
>>> I know. Vista only makes that more obvious because people can actually
>>> use
>>> Vista as a non-admin.
>>>
>>> HKLM\Software\Classes cannot be virtualized, and I don't think there is
>>> another place to put that data that would be merged, so no, sorry.
>>>
>>> "Keith MacDonald" wrote:
>>>
>>>> Vista has broken the ability of applications (eg. WinZip), without
>>>> elevated
>>>> privilege, to add themselves to Explorer's context menus. On previous
>>>> versions of Windows, they could do that by writing an entry in the
>>>> registry
>>>> to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers.
>>>>
>>>> Does Vista use an alternative registry location for such entries, that
>>>> only
>>>> apply to the current user, so that no elevation is required?
>>>>
>>>> Thanks!
>>>>
>>>>
>>>>

>>
>>

>



My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Send To Context Menu - Restore Default Menu Items Brink Tutorials 4 08-23-2008 05:34 PM
Final statement about managed shell extensions needed from MS Patrick Philippot .NET General 0 07-23-2008 03:50 AM
Writing Shell Extensions / Extending Explorer Context Menu - XP 64 Jeff Gaines .NET General 3 04-28-2008 12:30 PM
Windows Explorer Shell Extensions jst2swt4 Vista General 2 09-25-2007 10:31 PM
Explorer.exe shell extensions and switches Patrick Rouse Vista General 1 06-05-2007 03:35 PM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51