0

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)

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

2 Comments

I copied the entry from the Internet Explorer and renamed it newname.Application. Now when I wants to used it in PowerShell ($ie = New-Object -ComObject newname.Application) nothing happened. I have tried both, 64 an 32 bit PowerShell.
Wrong copy, you have to copy the CLSID with all of its keys.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.