Registry not available during the boot process?

I have a small filter kernel mode driver on XP, it observes USB devices.

It seems to work well if no devices are connected during the boot process.

I’m a bit embarrassed to ask this question, but is there somewhere some information which could help me understand why the driver does not seem to be able to access the registry when loaded during the boot process?

If I wait some time and get the driver to load again (e.g. inserting a USB device), the driver is then able to read the registry entries where it finds some data it needs.

What hive are you trying to access?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Friday, January 07, 2011 7:22 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registry not available during the boot process?

I have a small filter kernel mode driver on XP, it observes USB devices.

It seems to work well if no devices are connected during the boot process.

I’m a bit embarrassed to ask this question, but is there somewhere some
information which could help me understand why the driver does not seem to
be able to access the registry when loaded during the boot process?

If I wait some time and get the driver to load again (e.g. inserting a USB
device), the driver is then able to read the registry entries where it finds
some data it needs.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Okay, I found out the problem (looking at Machine\Software), i moved the parameters to System\CurrentControlSet\Services and it works. Sorry for the bother.