Avoid adding new keys to the registry?

Hello,

When a driver is installed, the system creates new entries such as
HKLM\SYSTEM\CurrentControlSet\Services\MyDriver
in the registry. Is it possible to prevent this from happenning?
The requirement for my driver is that it cause the least changes
to the target computer. TIA.

Chu Bun

You absolutely need to have the Services entry for the driver
to work. If it is a PNP driver, you will have a number of
other changes to the system. Why do you have a least impact
requirement?

You may want to look at the new Driver Install Framework that
Microsoft is working for the future, since it is supposed to allow
a complete uninstall.

Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: “ChuBun”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Monday, October 13, 2003 1:12 PM
Subject: [ntdev] Avoid adding new keys to the registry?

> Hello,
>
> When a driver is installed, the system creates new entries such as
> HKLM\SYSTEM\CurrentControlSet\Services\MyDriver
> in the registry. Is it possible to prevent this from happenning?
> The requirement for my driver is that it cause the least changes
> to the target computer. TIA.
>
> Chu Bun
>
>
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks for a quick response. The least impart requirement because
the driver will be used for data recovery.

“Don Burn” wrote in message news:xxxxx@ntdev…
>
> You absolutely need to have the Services entry for the driver
> to work. If it is a PNP driver, you will have a number of
> other changes to the system. Why do you have a least impact
> requirement?
>
> You may want to look at the new Driver Install Framework that
> Microsoft is working for the future, since it is supposed to allow
> a complete uninstall.
>
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>
> ----- Original Message -----
> From: “ChuBun”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Monday, October 13, 2003 1:12 PM
> Subject: [ntdev] Avoid adding new keys to the registry?
>
>
> > Hello,
> >
> > When a driver is installed, the system creates new entries such as
> > HKLM\SYSTEM\CurrentControlSet\Services\MyDriver
> > in the registry. Is it possible to prevent this from happenning?
> > The requirement for my driver is that it cause the least changes
> > to the target computer. TIA.
> >
> > Chu Bun
> >
> >
> >
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@acm.org
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>

No you cannot, you cannot load the driver without the service key.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “ChuBun”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Monday, October 13, 2003 9:12 PM
Subject: [ntdev] Avoid adding new keys to the registry?

> Hello,
>
> When a driver is installed, the system creates new entries such as
> HKLM\SYSTEM\CurrentControlSet\Services\MyDriver
> in the registry. Is it possible to prevent this from happenning?
> The requirement for my driver is that it cause the least changes
> to the target computer. TIA.
>
> Chu Bun
>
>
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com