How to delete the registry entry for the un-used disk drives

Hi all,

I am testing the management software for the RAID controller. After
creating/deleting the arrays for sometime the system starts getting more
time to boot. I think this could be due to the un-used disk registry entries
under HKLM/System/CurrentControlSet/Enum KEY. How to delete these un-used
disk entries? When tried deleting it, I am getting Erro message “Cananot
delete entry”

Please help,
Shakeel.

Hmm, how much additional time is this taking?

We have a tool called scrubber available from product support that
deletes these (and many more, there are at least seven registry
locations used for disks/partitions/volumes) using Setup API calls, but
I’ve not heard of this impacting boot time.

-----Original Message-----
From: shakeel [mailto:xxxxx@yahoo.com]
Sent: Monday, June 28, 2004 5:45 PM
Subject: How to delete the registry entry for the un-used disk drives

Hi all,

I am testing the management software for the RAID controller. After
creating/deleting the arrays for sometime the system starts getting more
time to boot. I think this could be due to the un-used disk registry
entries
under HKLM/System/CurrentControlSet/Enum KEY. How to delete these
un-used
disk entries? When tried deleting it, I am getting Erro message “Cananot
delete entry”

Please help,
Shakeel.

You can change the security permissions to allow full control using regedt32.exe (regedit.exe does not allow to do this) and delete the enum keys.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Jeffrey Goldner
Sent: Tuesday, June 29, 2004 2:03 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to delete the registry entry for the un-used
disk drives

Hmm, how much additional time is this taking?

We have a tool called scrubber available from product support that
deletes these (and many more, there are at least seven registry
locations used for disks/partitions/volumes) using Setup API calls, but
I’ve not heard of this impacting boot time.

-----Original Message-----
From: shakeel [mailto:xxxxx@yahoo.com]
Sent: Monday, June 28, 2004 5:45 PM
Subject: How to delete the registry entry for the un-used disk drives

Hi all,

I am testing the management software for the RAID controller. After
creating/deleting the arrays for sometime the system starts getting more
time to boot. I think this could be due to the un-used disk registry
entries
under HKLM/System/CurrentControlSet/Enum KEY. How to delete these
un-used
disk entries? When tried deleting it, I am getting Erro message “Cananot
delete entry”

Please help,
Shakeel.


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: rupin.mohan@hp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks Mohan, I was able to delete it by using the regedt32.exe.

Now how to do it programmatically? Is deleting the entry in
currentControlSet\Enum would be enough?
Jeff, you said there are at least seven registry locations to delete. What
and where are these registry entries?

Thanks,
Shakeel.

“Mohan, Rupin” <rupin.mohan> wrote in message news:xxxxx@ntdev…
You can change the security permissions to allow full control using
regedt32.exe (regedit.exe does not allow to do this) and delete the enum
keys.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Jeffrey Goldner
Sent: Tuesday, June 29, 2004 2:03 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to delete the registry entry for the un-used
disk drives

Hmm, how much additional time is this taking?

We have a tool called scrubber available from product support that
deletes these (and many more, there are at least seven registry
locations used for disks/partitions/volumes) using Setup API calls, but
I’ve not heard of this impacting boot time.

-----Original Message-----
From: shakeel [mailto:xxxxx@yahoo.com]
Sent: Monday, June 28, 2004 5:45 PM
Subject: How to delete the registry entry for the un-used disk drives

Hi all,

I am testing the management software for the RAID controller. After
creating/deleting the arrays for sometime the system starts getting more
time to boot. I think this could be due to the un-used disk registry
entries
under HKLM/System/CurrentControlSet/Enum KEY. How to delete these
un-used
disk entries? When tried deleting it, I am getting Erro message “Cananot
delete entry”

Please help,
Shakeel.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: rupin.mohan@hp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</rupin.mohan>

For a device which belongs to MS-defined class:

  • Services\DriverName - the driver service key
  • Enum\Bus\DeviceID\InstanceID - the PnP device key
  • Control\Class\Number - the PnP driver key

Delete them and all will be fine. Deleting under Enum subtree requires
permission patching.

If the device installs a custom setup class with it, then the picture is
more complex.

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

----- Original Message -----
From: “shakeel”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Tuesday, June 29, 2004 9:25 PM
Subject: Re:[ntdev] How to delete the registry entry for the un-used disk
drives

> Thanks Mohan, I was able to delete it by using the regedt32.exe.
>
> Now how to do it programmatically? Is deleting the entry in
> currentControlSet\Enum would be enough?
> Jeff, you said there are at least seven registry locations to delete. What
> and where are these registry entries?
>
> Thanks,
> Shakeel.
>
> “Mohan, Rupin” <rupin.mohan> wrote in message news:xxxxx@ntdev…
> You can change the security permissions to allow full control using
> regedt32.exe (regedit.exe does not allow to do this) and delete the enum
> keys.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Jeffrey Goldner
> Sent: Tuesday, June 29, 2004 2:03 AM
> To: Windows System Software Devs Interest List
> Subject: RE:[ntdev] How to delete the registry entry for the un-used
> disk drives
>
>
> Hmm, how much additional time is this taking?
>
> We have a tool called scrubber available from product support that
> deletes these (and many more, there are at least seven registry
> locations used for disks/partitions/volumes) using Setup API calls, but
> I’ve not heard of this impacting boot time.
>
> -----Original Message-----
> From: shakeel [mailto:xxxxx@yahoo.com]
> Sent: Monday, June 28, 2004 5:45 PM
> Subject: How to delete the registry entry for the un-used disk drives
>
> Hi all,
>
> I am testing the management software for the RAID controller. After
> creating/deleting the arrays for sometime the system starts getting more
> time to boot. I think this could be due to the un-used disk registry
> entries
> under HKLM/System/CurrentControlSet/Enum KEY. How to delete these
> un-used
> disk entries? When tried deleting it, I am getting Erro message “Cananot
> delete entry”
>
> Please help,
> Shakeel.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: rupin.mohan@hp.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> 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</rupin.mohan>