How to enable a network connection via registry file

  • Thread starter Thread starter Daniel Billingsley
  • Start date Start date
D

Daniel Billingsley

Does anyone know how I would re-enable a network
connection that I disabled? I need to modify the
registry file with a text editor after booting into an
alternative OS installation, so I need the file name and
the setting I'm looking for.
 
Daniel Billingsley wrote in [email protected]:
Does anyone know how I would re-enable a network
connection that I disabled? I need to modify the
registry file with a text editor after booting into an
alternative OS installation, so I need the file name and
the setting I'm looking for.

You cannot edit the "registry file" (hive file) with a text editor.
You can "Load hive" with regedt32...see the Help for that.

I don't quite understand the rest of this though. Is the original
systemn unbootable? And if so, how will enabling a network connection
fix anything.
 
Daniel Billingsley wrote in [email protected]:
I was trying to spare all the ugly details.

Network connection was disabled via Terminal Services, so
now obviously can't login using any domain account. I
had previously done some lockdown on the box so there's
no cached credentials. And apparently some of that
lockdown is preventing the local administrator account
from logging in.

So the short of it is I have NO way into this box and
it's an exchange server so full restore option would be
painful.

I've learned of the "load hive" option in regedit32 and
it will work, except that I don't know where the setting
is I need to change to enable the network connection

I doubt I can help as _many_ values are changed when a Local Area
Connection is toggled. Some of them are in keys which are named
specifically for the adapter and PCI-VEN number (and so vary). I've
never read of enable/disable via registry edits either. Typically
the GUI interface is used or the command-line netsh.exe program. It
seems neither of those are and option...

"apparently some of that lockdown is preventing the local
administrator account from logging in."
Ouch. Do you have physical access? One thought here is to boot into
the RC and replace the hive files from the most recent registry
backup. The Exchanger server is likely going to do sone damage to the
DB when it gets a power-off... Grrr. And there may be issues for
Exchange if the SECURITY (or other?) registry hive files are
replaced.

Summary: (correct?)
No network access due to disabled networking.
No local access due to a security lockout of Local accounts.
Hoping someone has some ideas for you short of crashing the machine.

I feel the pain, but admit that I have no perfect solutions known to
me. I wish I did.
 
How right you are. I've used RegMon to try to determine
the registry hacks I need to do... there's 11 writes upon
disable and 4 or 5 times that when it's reenabled. But
even of the 11 it's a dubious task cuz some are in
CurrentControlSet and various other keys that don't even
exist in the original installation.

And yes, you have it summarized right. It seems either
some kind of registry restore or complete rebuild is the
only option at this point.

I should have a tape backup of the system state as
recently as last Wednesday (before the big power
blackout) and nothing really has changed since then.
 
Back
Top