Completely reset your TCP/IP settings to default without a rebuild
Nov24Written by:
November 24, 2009 2:43 PM 
In certain circumstances, usually due to a virus, the TCP/IP stack, and WINSOCK reg data, and files can become unstable, or corrupted. Usually this means a rebuild, however you can run the steps below to prevent such work.
The Netsh.exe utility (netsh) is a command-line scripting tool that you can use to configure and monitor Windows Server 2003 networking. This tool gives you an interactive network shell interface.
You can use the reset command in the Internet Protocol (IP) context of this utility to rewrite the following TCP/IP-related registry keys:
- SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
- SYSTEM\CurrentControlSet\Services\DHCP\Parameters\
If you run this command, you get the same result as if you removed and reinstalled the TCP/IP protocol.
Warning The netsh int ip reset command will reset all IP information, default gateway information, and DNS server information. Before you restart the computer after you run this command, you must configure your TCP/IP settings. Otherwise, you may not be able to connect to the computer remotely.
Command syntax
netsh int ip reset [log_file_name]
To use the netsh command to reset the TCP/IP stack, you must specify a log file name in which the results of the command are recorded. If you enter either of the commands that are described in the "Command Samples" section of this article, the TCP/IP stack on the current computer is reset, and the activities of that action are recorded in the Resetlog.txt file that is specified in the command line. In the first example, the log file is created in the current folder; in the second example, a complete path to the Resetlog.txt log file is specified.
Note If an existing log file with the same name is present in the target folder, the new log file information is appended to the end of the existing file.
Command samples
The following examples describe how to use the netsh command to reset the TCP/IP protocol stack.
Example 1
- Click Start, and then click Run.
- In the Open box, type cmd, and then click OK.
- At the command prompt, type the following command, and then press ENTER:
netsh int ip reset resetlog.txt
NOTE: In the preceding command, "int" is the shortened form of the interface command. - Type exit, and then press ENTER.
Example 2
- Click Start, and then click Run.
- In the Open box, type cmd, and then click OK.
- At the command prompt, type the following command, and then press ENTER:
netsh int ip reset c:\resetlog.txt
- Type exit, and then press ENTER.
To view help for the command, type the command, type a space, and then type ?. Additional help is available for commands in the sub-contexts of the netsh command. For example, to view help for the netsh commands that are described in the preceding section, type the following commands at the command prompt:
- Type netsh ?, and then press ENTER.
- Type netsh int ?, and then press ENTER.
- Type netsh int ip ?, and then press ENTER.
- Type netsh int ip reset ?, and then press ENTER.
Example of the log file for NETSH INT IP RESET
The following text is an example of the log file that is generated by netsh if you run the ip reset command. The actual log file may vary depending on the configuration of the computer on which you run the command. Typically, no actions are logged in the file if the TCP/IP registry keys have not been altered from their original configuration.
reset SYSTEM\CurrentControlSet\Services\Dhcp\Parameters\Options\15\RegLocation
old REG_MULTI_SZ =
SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpDomain
SYSTEM\CurrentControlSet\Services\TcpIp\Parameters\DhcpDomain
added SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\NetbiosOptions
added SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{BAA9D128-54BB-43F6-8922-313D537BE03E}\NetbiosOptions
reset SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\NameServerList
old REG_MULTI_SZ =
10.1.1.2
deleted SYSTEM\CurrentControlSet\Services\Netbt\Parameters\EnableLmhosts
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\AddressType
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\DefaultGatewayMetric
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\DisableDynamicUpdate
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\DontAddDefaultGateway
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\EnableDhcp
old REG_DWORD = 0
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\NameServer
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\RawIpAllowedProtocols
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\TcpAllowedPorts
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\UdpAllowedPorts
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\DisableDynamicUpdate
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\EnableDhcp
old REG_DWORD = 0
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\IpAddress
old REG_MULTI_SZ =
12.12.12.12
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\IpAutoconfigurationAddress
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\IpAutoconfigurationMask
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\IpAutoconfigurationSeed
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\RawIpAllowedProtocols
old REG_MULTI_SZ =
0
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\SubnetMask
old REG_MULTI_SZ =
255.255.255.0
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\TcpAllowedPorts
old REG_MULTI_SZ =
0
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\UdpAllowedPorts
old REG_MULTI_SZ =
0
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\AddressType
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\DefaultGatewayMetric
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\DisableDynamicUpdate
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\DontAddDefaultGateway
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\EnableDhcp
old REG_DWORD = 0
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\NameServer
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\RawIpAllowedProtocols
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\TcpAllowedPorts
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\UdpAllowedPorts
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\DefaultGateway
old REG_MULTI_SZ =
10.1.1.2
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\DefaultGatewayMetric
old REG_MULTI_SZ =
0
added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\DisableDynamicUpdate
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\EnableDhcp
old REG_DWORD = 0
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\IpAddress
old REG_MULTI_SZ =
10.1.1.1
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\IpAutoconfigurationAddress
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\IpAutoconfigurationMask
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\IpAutoconfigurationSeed
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\NameServer
old REG_SZ = 10.1.1.2,10.1.1.3
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\RawIpAllowedProtocols
old REG_MULTI_SZ =
0
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\SubnetMask
old REG_MULTI_SZ =
255.255.255.0
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\TcpAllowedPorts
old REG_MULTI_SZ =
0
reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\UdpAllowedPorts
old REG_MULTI_SZ =
0
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DontAddDefaultGatewayDefault
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableIcmpRedirect
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableSecurityFilters
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SearchList
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\UseDomainNameDevolutionNote In Windows Server 2003 Service Pack 1, you can use the netsh winsock reset command to repair Winsock.
Warning Programs that access or monitor the Internet, such as antivirus programs, firewall programs, or proxy clients may be negatively affected when you run the netsh winsock reset command. If you have a program that no longer functions correctly after you use this resolution, reinstall the program to restore functionality.
The full knowledgebase article is here
Copyright ©2009 John Shoff
7 comment(s) so far...
timberland classic boat
Meanwhile the `Mongolia' was pushing timberland boots forward rapidly; on the 13th, Mocha, surrounded by its ruined walls whereon date-trees were growing, was sighted, and on the mountains beyond were espied vast coffee-fields. Passepartout was ravished timberland mens boots to behold this celebrated place, and thought that, with its circular walls and dismantled fort, it looked like an immense coffee cup and saucer. The following night they passed through the Strait timberland boat shoes mens of Bab-el-Mandeb, which means in Arabic `The Bridge of Tears', and the next day they put in at Steamer Point, north-west of Aden harbour, to take in coal. This matter of fuelling steamers is a timberland classic boat serious one at such distances from the coal mines; it costs the Peninsular Company some eight hundred thousand pounds a year. In these distant seas, coal is worth three or four pounds sterling a ton.The `Mongolia' had timberland boots custom still sixteen hundred and fifty miles to traverse before reaching Bombay, and was obliged to remain four hours at Steamer Point to coal up. But this delay, as it was foreseen, did not affect Phileas timberland boots custom Fogg's programme; besides, the `Mongolia', instead of reaching Aden on the morning of the 15th, when she was due, arrived there on the evening of the 14th, a gain of fifteen hours.Mr Fogg and his servant timberland 6 inch boots went ashore at Aden to have the passport again visaed; Fix, unobserved, followed them. The visa procured, Mr Fogg returned on board to resume his former habits; while Passepartout, according black timberland 6 inch to custom, sauntered about among the mixed population of Somalis, Banyans, Parsees, Jews, Arabs and Europeans who comprise the twenty-five thousand inhabitants of Aden. He gazed with wonder upon the fortifications timberland eyes boat which make this place the Gibraltar of the Indian Ocean, and the vast cisterns where the English engineers were still at work, two thousand years after the engineers of Solomon.Very curious, very custom timberlands curious,' said Passepartout to himself, on returning to the steamer. `I see that it is by no means useless to travel, if a man wants to see something new.' At six p.m. the `Mongolia' slowly moved timberland 6 inch white out of the roadstead, and was soon once more on the Indian Ocean. She had a hundred and sixty-eight hours in which to reach Bombay, and the sea was favourable, the wind being in the north-west, and all sails aiding the engine. The steamer timberland boots uk rolled but little, the ladies, in fresh toilets, reappeared on deck, and the singing and dancing were resumed. The trip was being accomplished most successfully, and Passepartout was enchanted with the congenial custom made timberland companion which chance had secured him in the person of the delightful Fix. On Sunday, October 20th, towards noon, they came in sight of the Indian coast: two hour later pilot came on board. A range of hills cheap timberland 6 inch boots lay against the sky in the horizon, and soon the rows of palms which adorn Bombay came distinctly into view. The steamer entered the road formed by the islands in the bay, and at half-past four she classic boat timberland hauled up at the quays of Bombay.Phileas Fogg was timberland custom homes in the act of finishing the thirty-third rubber of the voyage, and his partner and himself having, by a bold stroke, captured all thirteen of the tricks, concluded this fine campaign with a brilliant victory. Dami By custom made timberland on
December 8, 2011 12:59 AM
|
cheap soccer cleats
We’ve heard demands that Senators and Congressmen and judges make adidas f50 adizero known all their financial connections so that the public will know who and what influences their decisions and their votes. Strong arguments can be made for that view. But when a single adidas football boots, night after night, determines for millions of people how much of each side of a great issue they are going to see and hear. Tonight I've raised questions. adidas f50 white made no attempt to suggest the answers. The answers must come from the media men. They are challenged to turn their critical powers onnike mercurial black, to direct their energy, their talent, and their conviction toward improving the quality and objectivity of news presentation. They are challenged to structure their own nike mercurial victory to relate to the great responsibilities they hold. And the people of America are challenged, too -- challenged to press for responsibleadidas f30 soccer cleats. The people can let the networks know that they want their news straight and objective. The people can register their complaints on bias through mail to the networks and phone calls to local soccer cleats. This is one case where the people must defend themselves, where the citizen, not the Government, must be the reformer; where cheap soccer shoes can be the most effective crusader. Now, my friends, we’d never trust such power, as I’ve described, over public opinion in the hands of an electednike cleats mercurial. By way of conclusion, let me say that every elected leader in the United States depends on these men of the media. Whether what I’ve said to you tonightadidas world cup sg white will be heard and seen at all by the nation is not my decision. The great networks have dominated America’s airwaves for decades. nike soccer shoes are entitled a full accounting their stewardship. LFQ By cheap soccer cleats on
December 13, 2011 8:27 PM
|
http://www.abercrombiesandfitchoutlets.org/ abercrombie and fitch outlet,abercrombie & fitch outlet,abercrombie outlet online,abercrombie and fitch,Abercrombie & Fitch Short Sleeve Tees,Abercrombie and Fitch Long Sleeve T-Shirts,Abercrombie Fitch T Shirts,Abercrombie & Fitch Swimming Shorts,Abercrombie & Fitch Stripe Polos,Abercrombie and Fitch Polos,Abercrombie Fitch Classic Shirts,Abercrombie Fitch Plaid Shirts,Abercrombie and Fitch Shorts,Abercrombie and Fitch Jeans,Abercrombie Fitch Sweatpants,Abercrombie Fitch Athletic Shorts,Abercrombie and Fitch Sweaters,Abercrombie and Fitch Hoodies,Abercrombie Fitch Fur Hoodies,Abercrombie and Fitch Jackets,Abercrombie & Fitch Down Jackets,Abercrombie & Fitch Down Vests,Abercrombie and Fitch Underwear,Abercrombie and Fitch Boxers,Abercrombie and Fitch Short Sleeve Tees,Abercrombie & Fitch Plaid Shirts,Abercrombie & Fitch Polos,Abercrombie & Fitch Camis,Abercrombie & Fitch Tanks,Abercrombie Fitch Denim Shorts,Abercrombie Fitch Athletic Shorts,Abercrombie and Fitch Shorts,Abercrombie and Fitch Rompers,Abercrombie and Fitch Dress,Abercrombie and Fitch Skirts,Abercrombie and Fitch Hoodies,Abercrombie Fitch Fur Hoodies,Abercrombie and Fitch Jackets,Abercrombie Fitch Down Jackets,Abercrombie & Fitch Down Vests,Abercrombie and Fitch Jeans,Abercrombie and Fitch Sweatpants,Abercrombie and Fitch Swimwear,Abercrombie Fitch Lovers Polos,Abercrombie Fitch Flip Flops Mens,Abercrombie Fitch Flip Flops Womens,Abercrombie and Fitch Caps,canada goose jackets,canada goose parka,canada goose outlet,canada goose sale,Canada Goose Expedition Parka,Canada Goose Chilliwack Parka,Canada Goose Heather Parka,Canada Goose Ontario Parka,Canada Goose Citadel Parka,Canada Goose Banff Parka,Canada Goose Chateau Parka,Canada Goose Langford Parka,Canada Goose Yorkville Parka,Canada Goose Snow Mantra Parka,Canada Goose Freestyle Vest,Canada Goose Expedition Parka,Canada Goose Chilliwack Bomber,Canada Goose Montebello Parka,Canada Goose Trillium Parka,Canada Goose Kensington Parka,Canada Goose Solaris Parka,Canada Goose Expedition Parka,Kids Canada Goose Expedition Parka,Canada Goose Gloves,beats by dre,beats by dre cheap,cheap monster beats,monster beats by dre,cheap monster dre beats,Monster Limited Edition,Beats By Dre Studio,Monster Beats Butterfly,Monster Beats Turbine Pro,Monster Beats Solo,Lady GaGa Heartbeats,Monster Tour Beats,Monster Beats Pro,Monster Diddy Beats,Monster Miles Davis,Monster Beats Red Sox,Monster Powerbeats by Dre By abercrombie and fitch outlet on
January 8, 2012 8:27 PM
|
Bedsheets t-shirts fulfill all your requirements; you can website link them all near to inside place of work <a href="http://www.hatbrandshop.com/cheap-877-caps-new-era-Washington-Redskins-hats-Wine-RedYellow.html">caps new era</a> a
Bedsheets t-shirts fulfill all your requirements; you can website link them all near to inside place of work caps new era as well as according to the casual spend some time; despite flexfit baseball hats the fact that new era hats according to the purchasing spree, likewise outstanding actual start using a utilize a snapback caps make use of a use a possess a have a picnic; vunerable to seashore occasions. It is a good deal that’s befitting any kind of special day. By cheap steelers hats on
January 16, 2012 12:12 AM
|
gains in your GHD <a href="http://www.hotsellingdowncoat.com">Down coats</a> hair straighteners. hair salon / spa in your own living straighteners, doing this might be a lot easier. Just simply <a href="http://www.hotsellingd
gains in your GHD Down coats hair straighteners. hair salon / spa in your own living straighteners, doing this might be a lot easier. Just simply long down jackets get started a styling approach by employing frizz womens down coat serum against your tresses fitted down coat. Anybody can sections hair monclers on sale plus commence. By Down coats on
January 16, 2012 2:14 AM
|
<a href="http://www.saletravelaccessories.com">coach sunglasses</a> and <a href="http://www.saletravelaccessories.com">cool sunglasses</a>is good !but I like <a href="http://www.saletravelaccessories.com coach sunglasses and cool sunglassesis good !but I like blumarine sunglasses and the bolle polarized sunglasses By coach sunglasses on
January 16, 2012 4:21 AM
|
Re: Completely reset your TCP/IP settings to default without a rebuild
In this modern and fashionable society, people are pursuing for hogan scarpe cool, unique, stylish and innovative. Whether it is scarpe hogan or fashion accessories all means a lot for modern society of today. Same is the case with trendy looking hogan sito ufficiale. When these are Louis Vuitton Borse, the excitement just gets doubled. Most chic looking pandora jewellery are in fashion now. These are one of the favorite fashion accessories for men and women long time ago. If you have not yet tried pandora charms sale, it's time to own one and feel the difference it can make to your personality. These are just brilliant and fabulous pandora charms sale uk. They are most iconic and can provide you with a new feeling and enhance confidence. The quality of pandora charms is just superior to what you have dreamt of. Today owning a new and trendy looking pandora bracelets sale are not only meant for the wealthy people. These are now made luxurious and affordable pandora jewellery uk to reach out to every budget and range. By pandora jewellery on
February 2, 2012 1:39 AM
|