Cannot load key into regedt32

  • Thread starter Thread starter Knack
  • Start date Start date
Can you please explain to us in detail what you're trying to do?

There is no "load key" command in regedt32. My comments apply to the "load
hive" command, which seems to be different than what you're trying to do.

As others have mentioned, you should not overwrite the ENUM key. This is
dynamic data that the OS manages.

-Matt
 
Sharp observation, Mat. Yes, I'm referring to the feature Load Hive, and yes
there isn't a "Load Key" feature in regedt32. However, effectively I'm
trying to load a key via the Load Hive feature. The file that I'm loading is
not the entire backed up system hive file, but only a part of it; only the
subkey HKLM\SYSTEM\ControlSet001\Enum\Root\LEGACY_DHCP. I managed to save
that part of the backed up system hive file in a previous operation via
regedt32.

BTW folks, after reading your replies I heeded the warnings and undid the
permissions changes within Enum that I made before. I've since tried a
workaround, but alas it also fails the same way: Giving up on replacing the
faulty subkey via Registry > Load Hive, I next tried Registry > Restore.
A similar error as before pops up:
"The key cannot be restored; either you have insufficient privilege, or the
key or one of its subkeys is in use by another process."

I made sure that various services pertaining to networking were stopped
before attempting Restore, but the privilege problem remains.
 
Sharp observation, Mat. Yes, I'm referring to the feature Load Hive, and yes
there isn't a "Load Key" feature in regedt32. However, effectively I'm
trying to load a key via the Load Hive feature. The file that I'm loading is
not the entire backed up system hive file, but only a part of it; only the
subkey HKLM\SYSTEM\ControlSet001\Enum\Root\LEGACY_DHCP. I managed to save
that part of the backed up system hive file in a previous operation via
regedt32.

BTW folks, after reading your replies I heeded the warnings and undid the
permissions changes within Enum that I made before. I've since tried a
workaround, but alas it also fails the same way: Giving up on replacing the
faulty subkey via Registry > Load Hive, I next tried Registry > Restore.
A similar error as before pops up:
"The key cannot be restored; either you have insufficient privilege, or the
key or one of its subkeys is in use by another process."

I made sure that various services pertaining to networking were stopped
before attempting Restore, but the privilege problem remains.
 
In said:
Sharp observation, Mat. Yes, I'm referring to the feature Load
Hive, and yes there isn't a "Load Key" feature in regedt32.
However, effectively I'm trying to load a key via the Load Hive
feature. The file that I'm loading is not the entire backed up
system hive file, but only a part of it; only the subkey
HKLM\SYSTEM\ControlSet001\Enum\Root\LEGACY_DHCP. I managed to save
that part of the backed up system hive file in a previous
operation via regedt32.

You can work in CurrentControlSet and any change will be mirrored
into the actual Current control set.

What happens if you Stop/Disable DHCP Client service and reboot?

For the most part I think you should be looking at and working with
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\

I'd be very leery of manually adjusting/"restoring" those other areas
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
\FA3105\
\NDISLoop4\
\NdisWAN3\
\NetBT\
as I would expect that the normal GUI would be the best way to modify
"Parameters" settings.

All this assumes that your entire TCP/IP stack is not corrupted.
There is a procedure at MS KB for that if needed.
 
In said:
Sharp observation, Mat. Yes, I'm referring to the feature Load
Hive, and yes there isn't a "Load Key" feature in regedt32.
However, effectively I'm trying to load a key via the Load Hive
feature. The file that I'm loading is not the entire backed up
system hive file, but only a part of it; only the subkey
HKLM\SYSTEM\ControlSet001\Enum\Root\LEGACY_DHCP. I managed to save
that part of the backed up system hive file in a previous
operation via regedt32.

You can work in CurrentControlSet and any change will be mirrored
into the actual Current control set.

What happens if you Stop/Disable DHCP Client service and reboot?

For the most part I think you should be looking at and working with
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\

I'd be very leery of manually adjusting/"restoring" those other areas
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
\FA3105\
\NDISLoop4\
\NdisWAN3\
\NetBT\
as I would expect that the normal GUI would be the best way to modify
"Parameters" settings.

All this assumes that your entire TCP/IP stack is not corrupted.
There is a procedure at MS KB for that if needed.
 
Back
Top