Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Restarting the driver

Aleksey_GAleksey_G Member - All Emails Posts: 11

Hello.

Tell me, for what reasons can the driver be restarted?

There is an OS filter driver that is periodically run twice (not on all computers). The previous driver works, when new instance start. I added logs, I see that the "wmiprvse.exe" process starts it. The computer does not enter sleep mode, and external media is not mounted or unmounted.

Comments

  • rod_widdowsonrod_widdowson Member - All Emails Posts: 1,112

    A filter writer is at complete liberty to write an application to start and stop their filter.

    A quick google says that WMI is exactly the sort of filter that would come and go.

    But are we not gluing wings on the pig? What's the problem you are having?

  • Aleksey_GAleksey_G Member - All Emails Posts: 11
    edited February 26

    The problem is that more than one instance of the driver is running. For example: OS is starting -> driver is loaded -> OS working (driver not unloaded it is running) -> sometimes new instance is loaded again. I don't expect this behavior. If it is correct good. But I want to have a chance to prevent loading driver if it was run earlier. How to achieve it?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 20 Apr 2020 LIVE ONLINE
Writing WDF Drivers 11 May 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA