Microsoft Internet Security and Acceleration Server 2004 SDK

Unregister the Web Filter from the Command Line

To unregister the filter, type this line at the command prompt (from the folder where Webresponsemodifier.dll is located):

regsvr32 -u Webresponsemodifier.dll

This command is carried out by the code in the function DllUnregisterServer in the Webresponsemodifier sample. The filter developer writes this function. The code from the Webresponsemodifier filter sample is shown as follows.

// DllUnregisterServer - Removes entries from the system registry
 
STDAPI DllUnregisterServer(void)
{
	HRESULT hr = RegisterWebFilter(false);
	return hr;
}