LaPhi
LaPhi

Reputation: 5897

Create a modified own Com Object in the registry

I want to modified the Internet Explorer CLSID element in the registry: (HKEY_CLASSES_ROOT\CLSID{0002DF01-0000-0000-C000-000000000046} )

It is possible to copy this entry and replace the GUID and create a new alias? Where can I defined a new alias? (Later I want to open this Com Object in PowerShell)

Upvotes: 0

Views: 249

Answers (1)

Hans Passant
Hans Passant

Reputation: 941605

There is no such thing as an 'alias' for registry keys. You can however create an entry in HKCU\Software\Classes\CLSID, COM looks there first. This would also limit the amount of damage you do to the machine and you'll have halfway decent odds of actually being able to write the key.

Upvotes: 2

Related Questions