IIS ISAPI filter

The problem: it is necessary by the progmam way to register the ISAPI filter in IIS 5.
I have got the advice to use for this purpose ADSI.

I wrote the following code (filter.vbs):

Dim ServerObj
Set ServerObj = GetObject("IIS://LocalHost/W3SVC")
Dim FiltersObj
Set FiltersObj = ServerObj.GetObject("IIsFilters","Filters")
Dim Filter
Set Filter=FiltersObj.Create("IIsFilter","MyFilter")
Filter.FilterDescription = "MyFilter"
Filter.FilterEnabled = TRUE
Filter.FilterPath = "d:\filter.dll"
Filter.SetInfo

This code is performed properly (without mistakes), but the filter does not started then it tries to request the Web-page in
my computer (IIS server). Why? How else is it possible to register the ISAPI-filter for IIS 5?
[795 byte] By [SmithVictor] at [2007-11-17 15:25:57]