Re: Modifying IP address by modifying the registry programatically

From: Torgeir Bakken (Torgeir.Bakken-spam@hydro.com)
Date: 08/13/02


From: Torgeir Bakken <Torgeir.Bakken-spam@hydro.com>
Date: Tue, 13 Aug 2002 21:45:02 +0200


"Bijesh.V.M." wrote:

> (2) Also, Is there any command similar to "netsh" in Windows NT 4.0?

No.

Registry values can be edited (reboot needed to see the changes):

TCP/IP and NBT Configuration Parameters for Windows 2000 or Windows NT
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q120642

Here are a couple of command-line scripts that changes IP address in registry on NT 4.0 (uses Reg.exe
from the Resource Kit)

http://cwashington.netreach.net/depo/view.asp?Index=433&ScriptType=command

http://cwashington.netreach.net/depo/view.asp?Index=438&ScriptType=command

If you install WMI CORE 1.5 on the NT 4.0 computer, you can use the EnableStatic method

Platform SDK: Windows Management Instrumentation
EnableStatic Method in Class Win32_NetworkAdapterConfiguration
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/enablestatic_method_in_class_win32_networkadapterconfiguration.asp

Some examples:

http://cwashington.netreach.net/depo/view.asp?Index=423&ScriptType=vbscript

http://cwashington.netreach.net/depo/view.asp?Index=594&ScriptType=vbscript

--
torgeir


Relevant Pages

  • Re: Network stops after time
    ... if reset TCP/IP can help you resolve the issue. ... I believe the issue should not be related to TCP/IP components in Windows ... able to update your profile and access the the partner newsgroups. ... |> Registry Editor incorrectly. ...
    (microsoft.public.windowsxp.network_web)
  • NewestShareware.com Issue #89
    ... FileBoss for Windows ... Program Homepage/Download url ... In general users make a program execute at window startup by ... Adding programs to the Registry and WIN.INI file protects the program. ...
    (comp.software.shareware.announce)
  • Re: Windows XP home login/off
    ... How to Perform an In-Place Upgrade of Windows XP ... Click on How To Run a Repair Install ... registry has worked the 5 or 6 times I have seen this problem. ... The script will stop and ask you to hit enter to continue to load SCSI ...
    (microsoft.public.windowsxp.wmi)
  • RE: Windows 2000 RRAS and ipSEC /L2TP VPN
    ... How to Configure a L2TP/IPSec Connection Using Pre-shared Key Authentication ... This article contains information about modifying the registry. ... , Windows 2000 is compliant with IKE RFC ...
    (microsoft.public.win2000.networking)
  • RE: Networking and DOS attacks
    ... Windows has found 55 Critical System Errors... ... Install Repair Registry Pro. ... I have tracked all of these UDP port hits since 2001. ...
    (Security-Basics)