Laugh if you will. But while experimenting with Win9x System Policy Editor
in an NT 4.0 domain, I made a policy to "Not allow Windows access unless
network logon is complete". Then, on a particular laptop, I changed the IP
address and subnet mask and re-booted. Now, the laptp can't find the domain
controller to logon because of the new IP and it won't allow me into windows
to change it! I'm in a catch-22!
Somehow I need to edit the registry in DOS mode to re-set the IP address and
subnet mask. I don't even know where these values are located in the
registry, much less finding them in DOS mode.
So, two questions:
#1- How do I edit the registry in DOS mode
#2- How do I find these values to edit (IP and subnet mask - I ant to re-set
the system to use DHCP)
Dorian Creber
ps. It worked for me... shhh don't tell anyone!! lol
Todd <tjh...@hotmail.com> wrote in message
news:#CzW7alg$GA.193@cppssbbsa04...
The registry is dynamically built upon bootup.
You have effectively locked yourself out.
Re: editing the registry in DOS, can't you use regback utility to export to
a text file, modify the text file, and then regback back in?
Jeremy Gaige <jeremy...@cgiusa.com> wrote in message
news:#4RI1Qvg$GA.62@cppssbbsa05...
>Todd <tjh...@hotmail.com> wrote in message
>news:#CzW7alg$GA.193@cppssbbsa04...
>> Laugh if you will. But while experimenting with Win9x System Policy
>Editor
>> in an NT 4.0 domain, I made a policy to "Not allow Windows access unless
>> network logon is complete". Then, on a particular laptop, I changed the
>IP
>> address and subnet mask and re-booted. Now, the laptp can't find the
>domain
>> controller to logon because of the new IP and it won't allow me into
>windows
>> to change it! I'm in a catch-22!
>>
>> Somehow I need to edit the registry in DOS mode to re-set the IP address
>and
>> subnet mask. I don't even know where these values are located in the
>> registry, much less finding them in DOS mode.
>>
>> So, two questions:
>>
>> #1- How do I edit the registry in DOS mode
>>
>> #2- How do I find these values to edit (IP and subnet mask - I ant to
>re-set
>> the system to use DHCP)
>You cant edit the registry in DOS
>
>The registry is dynamically built upon bootup.
Hmmm...all the registry is are some files. Win9x, it's user.dat and
system.dat. WINNT it's the files in %systemroot%\system32\config.
The laptop is running win9x?
You can run regedit in real mode, for Win9x.
- Boot to dos
- go to c:\windows
- type "attrib -r -h -s system.dat"
- type "attrib -r -h -s user.dat"
- type "copy system.dat system.bk0"
- type "copy user.dat user.bk0"
- type "regedit /e registry.txt"
- bring up your favorite text editor and edit registry.txt and do whatever you
want
- type "regedit /c registry.txt"
- type "attrib +r +h +s system.dat"
- type "attrib +r +h +s user.dat"
Could it be any easier?
I can't remember where the registry setting is, but you can look in the Win9x
policy templates and find out where it sets the "require validation for
Windows logon". Just disable that in the registry so you can logon locally or
hit ESC to logon.