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

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

Error with OSR driver loader

jguo5258jguo5258 Member Posts: 8

The error box says that the driver has been blocked from loading when I try loading my driver.. Any fixes?

Comments

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

    The very first thing I'd do is never use OSR driver loader for anything. From OSR Online where OSR Driver Loader is hosted:

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

  • jguo5258jguo5258 Member Posts: 8
    edited June 19

    @Peter_Viscarola_(OSR) said:
    The very first thing I'd do is never use OSR driver loader for anything. From OSR Online where OSR Driver Loader is hosted:

    Peter

    what should I use?
    Also, how would I view kernel messages if I run a driver 's released mode? Ive heard that kdprint and dbgprint only worked in debug compilations...

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

    what should I use

    It depends on what type of driver you have. Is it a PnP driver or a non-PnP driver?

    If it's PnP, you need to install it using an INF file and typically via Device Manager. If it's a non-PnP driver, you COULD install it with an INF file... but you might just install it like any other service on Windows (using the Service Control Manager).

    how would I view kernel messages if I run a driver 's released mode? Ive heard that kdprint and dbgprint only worked in debug compilations...

    The right answer here is to hook up the Windows kernel debugger (WinDbg). DbgPrint works in both release and debug configurations. KdPrint works only in Debug configurations.

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

  • jguo5258jguo5258 Member Posts: 8

    @Peter_Viscarola_(OSR) said:

    what should I use

    It depends on what type of driver you have. Is it a PnP driver or a non-PnP driver?

    If it's PnP, you need to install it using an INF file and typically via Device Manager. If it's a non-PnP driver, you COULD install it with an INF file... but you might just install it like any other service on Windows (using the Service Control Manager).

    how would I view kernel messages if I run a driver 's released mode? Ive heard that kdprint and dbgprint only worked in debug compilations...

    The right answer here is to hook up the Windows kernel debugger (WinDbg). DbgPrint works in both release and debug configurations. KdPrint works only in Debug configurations.

    Peter

    How would I install a driver with the service control manager? Do you know a tutorial for this?

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

    Peter Viscarola
    OSR
    @OSRDrivers

  • jguo5258jguo5258 Member Posts: 8
    edited June 20

    [

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

    "[" ??

    Peter Viscarola
    OSR
    @OSRDrivers

  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,021

    The message as it was sent to the notification list said "how come I don't see my driver in the service manager or device manager?" I assume he edited it after finding the driver in the services list.

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

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

    The message as it was sent...

    You email people get ALL the cool stuff (it doesn't LOOK like he edited his message... so, hmmmmm... now we're losing posts, it seems?)

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

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
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA