One way to is to stop spyware from installing itself by using the 'kill bit' which blocks specific ActiveX controls. It marks that control as incompatible or not runnable.