UNinstalling a class (upper) filter driver

Discussion in 'Windows Vista Drivers' started by Spiro Trikaliotis, Jul 9, 2005.

  1. Hello,

    currently, I am writing an upper class filter driver for a device. It's
    the first time I am writing a filter.

    The filter installs (via an INF), gets loaded and unloaded, thus, the
    first version (doing nothing at all) works as expected. I can even
    update the filter driver to a newer one.

    Anyway, I wanted to test how to uninstall that driver - but I could not
    find any mention of this at all! Did I overlook anything here?

    Isn't there an easy option for this available? I know I could removed
    the filter by modifying
    HKLM\SYSTEM\CurrentControlSet\Control\Class\<DEVICE>\UpperFilters
    myself, but I do not have the impression this is a clean solution.

    Does anyone have an idea what I can do to let the user remove my filter?

    Regards,
    Spiro.
     
    Spiro Trikaliotis, Jul 9, 2005
    #1
    1. Advertisements

  2. Remove from UpperFilters
    Stop all these PnP stacks
    Restart them

    For Boot stacks (as also for a case Stop fails), reboot is necessary, so:

    Remove from UpperFilters
    Ask for reboot
     
    Maxim S. Shatskih, Jul 9, 2005
    #2
    1. Advertisements

  3. Hello Maxim,

    Ok, this means, this solution which looks not so clean (but
    which I already had in mind) is the only one.

    Thank you for confirming this,
    Spiro.
     
    Spiro Trikaliotis, Jul 9, 2005
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.