Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

unisntall driver for system device CMOS/RTC windows 8

$
0
0
Hi!

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

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 reserves this IRQ and can not be disabled and 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?

I would appreciate any suggestions on this issue.
Thanks


Viewing all articles
Browse latest Browse all 2703

Trending Articles