Avoid cmos/RTC driver to load at boot RRS feed

  • Question

  • Hi!

    I need to find a way to  prevent a system driver like cmos/rtc to load at boot.

    The problem is:

    I am developing a driver to implement an ISR for demo purposes.

    I am planning to use IRQ 8 and the RTC to generate periodic interrupts.

    However Windows 8 at boot loads a system driver that can not be uninstaled.

    Or if uninstalled it requires a reboot to complete the uninstall process but at the next boot the driver is loaded again.

    With the driver loaded I can not access resources reserved by it, like IRQ line 8 ant I/O ports 0x70-71, which I need for my driver.

    I tried to avoid this driver to unload at boot commenting lines that refers to it (device id is *PNP0B00) at c:\Windows\Inf\machine.inf

    ;%*PNP0B00.DeviceDesc%   = NO_DRV_X, *PNP0B00       ; Real Time Clock

    ;*pnp0b00.DeviceDesc="System CMOS/real time clock"

    and then regenerate  machine.pnf, but the driver still loads.

    Then I also commented on machine.inf_loc:

    ;*pnp0b00.DeviceDesc="System CMOS/real time clock"

    but the driver still loads :-(.

    I also found another instances of these files on other dirs and commented it, but with no luck.

    I thought that machine.inf specifies the drivers to load at boot but it seams that do not.
    Can anyone tell me what am I missing?

    There is another way to  prevent a system driver like cmos/rtc to load at boot?

    Wednesday, May 8, 2013 3:45 PM