Re: Modifying IP address by modifying the registry programatically
From: Torgeir Bakken (Torgeir.Bakken-spam@hydro.com)
Date: 08/13/02
- Next message: Kevin K: "Re: Everyone can view My Documents!"
- Previous message: Kevin K: "Re: NTFS - I'm not seeing the security tab on my folders"
- In reply to: Bijesh.V.M.: "Re: Modifying IP address by modifying the registry programatically"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Kevin K: "Re: Everyone can view My Documents!"
- Previous message: Kevin K: "Re: NTFS - I'm not seeing the security tab on my folders"
- In reply to: Bijesh.V.M.: "Re: Modifying IP address by modifying the registry programatically"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|