networking -tcp properties

G

gs

where are the networking tcp properties stored? in registry? I would like
to know so I can make a script to
take snapshot of the tcp address, gateways, subnet mask, , dns....etc
change to auto ip
and another script to restore later
 
R

Ramesh, MS-MVP

How to Use the Netsh.exe Tool and Command-Line Switches:
http://support.microsoft.com/kb/242468/
http://www.microsoft.com/resources/...all/proddocs/en-us/netsh_int_ip.mspx?mfr=true

If you prefer WMI scripting, see:

Win32_NetworkAdapterConfiguration:
http://msdn.microsoft.com/library/d...n_class_win32_networkadapterconfiguration.asp

Examples:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jun05/hey0614.mspx
http://www.microsoft.com/technet/scriptcenter/resources/qanda/mar06/hey0329.mspx
http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr05/hey0425.mspx
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jan06/hey0124.mspx

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


where are the networking tcp properties stored? in registry? I would like
to know so I can make a script to
take snapshot of the tcp address, gateways, subnet mask, , dns....etc
change to auto ip
and another script to restore later
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top