Programmatically register a SystemPropertyHandler

loop123123 1 Reputation point
2020-08-19T01:01:12.59+00:00

In general, property handlers are registered at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers.

However, for some file types, there are special handlers that are registered at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\SystemPropertyHandlers. That branch has some very high security settings.

Let's say you'd like to register a handler for one of the special file types -- like .mp3, for example. Is there a way to obtain the necessary permissions, programmatically, to register a property handler for that file type?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,498 questions
{count} votes