LaPhi
LaPhi

Reputation: 5887

PowerShell, Object = Start Process?

Hi I would like to start the Internet Explorer without extensions and control it. (Navigate to other pages, click buttons etc.)

When I use the command: "Start iexplore.exe -ArgumentList -extoff" I have the IExplore without extensions, but no object. I need the object to navigate to different pages and click buttons. "$ie = Start iexplore.exe -ArgumentList -extoff" is not possible with the Command "Start X"

The following code create a Com Object and all I want is possible without the "Extensions = off"

Upvotes: 0

Views: 837

Answers (1)

Keith Hill
Keith Hill

Reputation: 201592

This is a real hack but you could tweak the COM startup commandline for IE to pass in the argument -extoff. The registry entry to start IE on my machine (with IE9) is:

HKEY_CLASSES_ROOT\CLSID{0002DF01-0000-0000-C000-000000000046}\LocalServer32

Note that you might need to override the regkey permissions to edit the value.

Upvotes: 1

Related Questions