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

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

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Cannot run driver kmdf on Vitual Box.

betapcodebetapcode Member Posts: 10
edited January 2019 in NTDEV

I have a question ? Who can help me How to run the Microsoft driver samples on the Vitual box? Because I buitl then run with the OSR Driver Loader it shows an error "the service cannot be started either because it is disabled disabled".
link source: https://github.com/Microsoft/Windows-driver-samples/tree/master/input/kbfiltr

Comments

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,398
    via Email
    (empty message)

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,796
    edited January 2019

    This is not an answer to your problem: But my general advice is to use something other than Virtual Box. We have had very poor luck with VirtualBox as a platform in general, to the extent that we (as a general rule) do not support the use of our (OSR’s) products on it.

    YMMV, of course... but just some fee advice.

    Again: This is not (likely to be) related to your specific problem, it rather is intended as general advice.

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,796

    (Mr, Roberts... blank reply again... sorry!)

    More in response to your problem: it looms to me like you’re trying to load a PnP driver using an ancient utility that is designed to load non-PnP drivers.

    That seems to be the problem,

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

  • Mark_RoddyMark_Roddy Member - All Emails Posts: 4,320

    @Peter_Viscarola_(OSR) said:
    This is not an answer to your problem: But my general advice is to use something other than Virtual Box. We have had very poor luck with VirtualBox as a platform in general, to the extent that we (as a general rule) do not support the use of our (OSR’s) products on it.

    There is nothing much wrong with VBOX as a virtualization product. It runs windows and all of the standard in box drivers that come with windows, so I have no idea why it won't run osr's drivers, but this is very far from the OP's problem. He's not asking about the merits of virtual box, he's trying to figure out why his keyboard filter driver won't load. VBOX ain't the problem. It has a keyboard driver. That driver can be filtered.

    The OP should look at the quite clear documentation for his filter driver on github and use the manual install methods documented there to install his driver.

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,398

    Here's what I tried to say above.

    I have a question ? Can you help me How to run the Microsoft driver samples on the Vitual box? Because I buitl then run with the OSR Driver Loader it shows an error "the service cannot be started either because it is disabled disabled”.

    Of course it did, because you didn’t read any of the instructions on what that driver is or how to install it. Did you? What did you think it was going to do?

    The OSR driver loader installs non-PnP drivers only. The kbfiltr sample is a PnP driver. It has to be installed either with an INF file, to filter one keyboard, or by modifying the register, if you wish to filter all keyboards. This is all described in the instructions that you didn’t read.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

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 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA