Re: Classic ol' "Automation server Can't create object"

From: Michael Harris \(MVP\) (mikhar_at_mvps.org)
Date: 02/18/05


Date: Fri, 18 Feb 2005 09:32:26 -0800


>> damn... doesn't work. :( I tried everything, I changed the keys
>> using the script provided on the page to disable the local machine
>> lockdown, heck I even tried to unhide the My computer zone
>> (successfully) and put EVERYTHING to enable, to no avail; the
>> scripts doesn't execute. I rebooted after making all those changes,
>> still no success.
>>
>
> No one? :(

Disabling the local machine lockdown just lets active content (client
script) run. It does not allow script to create/use unsafe ActiveX
components which is what you are trying to do.

Non-http content (content accessed via explicit/implicit file:// protocol)
will be in the local computer zone if accessed from a local hard drive. It
will be in the intranet zone of accessed via a UNC path or a mapped network
drive. Enabling use of unsafe ActiveX components in IE from either of those
zones is ill-advised.

You would be better off pursuing an HTA solution (hosted by mshta.exe, not
iexplore.exe).

HTML Applications (HTA)
http://msdn.microsoft.com/workshop/author/hta/hta_node_entry.asp

-- 
Michael Harris
Microsoft.MVP.Scripting


Relevant Pages

  • Re: TakeOwnership Doesnt (XP)
    ... Even if are logged in as a domain admin, you may still need to enable privileges when working on a local machine with files referenced by a local path. ... so I am thinking I might load ICACLS onto one of our 2003 servers and run the script from there. ... "Gerry Hickman" wrote: ... level folder initially. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: How to call a remote program through SSH tunnel and pass a local file as parameter?
    ... If I would have the program on the local machine I could call this ... Many people seem to think that rsa keys must be created ... Some sophistications to this script include the ability to use something ... like %f to include the file in your command line. ...
    (comp.security.ssh)
  • Re: Startup Scripts
    ... "Trinity Catholic High School" wrote: ... local machine, and setting in the group policy the local path for the ... I run the script from the command-line when logged in it works ... If there is a permissions problem, the permissions need to be granted to the ...
    (microsoft.public.windows.server.general)
  • Re: Copying Files / Created Date
    ... > than the a version on the machine from which the script is run. ... > If the file on the server was created more recently than the one on ... > the local machine, it replaces the the file on the local machine with ... That's Windows at work;-)... ...
    (microsoft.public.scripting.wsh)
  • Re: Classic ol "Automation server Cant create object"
    ... > script provided on the page to disable the local machine lockdown, ... > even tried to unhide the My computer zone and put ... > after making all those changes, still no success. ...
    (microsoft.public.scripting.jscript)