понедельник, 22 марта 2010 г.

Windows 7: Default gateway 0.0.0.0 trouble

Sometimes my nic received correct dchp address, but with faulty default gateway 0.0.0.0 instead of real one. So my LAN was functioning but i didn't have internet access.
Adobe Bonjour service is the cause. Disable it or totally remove with the following command:

"C:\Program Files\Bonjour\mDNSResponder.exe" -remove

вторник, 16 марта 2010 г.

Slow Network copy and connection drops in Windows 7

If you experience Slow Network Connection or file copy from and to the Windows 7 PC or laptop takes ages to completes or connection disconnects then this could be caused by the Task Offload settings. The task offload settings are enabled by default at the NIC level and globally at the system level. This should work for Windows Vista as well.

These could be
TCP Checksum Offload
UDP Checksum Offload
TCP Large Send Offload
IPSec Offload
To quickly resolve the problem, disable Task Offload globally that disable all the above Offload settings by doing the following:
1. Click Start and type “cmd” at the search box.
2. Right-click “cmd” icon and select “Run as Administrator“. This should lainch the command prompt with elevated permisions.
3. Run the following command to check the enabled offload tasks:
C:\Windows\system32> netsh int ip show offload
Interface 11: Local Area Connection
ipv4 transmit checksum supported.
udp transmit checksum supported.
tcp transmit checksum supported.
tcp large send offload supported.
ipv4 receive checksum supported.
udp receive checksum supported.
tcp receive checksum supported.
3. Run the following command to disable all Task offloads:
C:\Windows\system32> netsh int ip set global taskoffload=disabled
also try the following
netsh int tcp set global rss=disabled
netsh int tcp set global autotuninglevel=disabled
netsh int tcp set global chimney=disabled   
OK.
This should disable all the offloads.
4. Disable and Enable the NIC from “Control Panel – Network and Internet Connections – View Network Status and tasks – Change Adapter Settings“.
5. To check if all Offloads are disabled run the following command:
C:\Windows\system32> netsh int ip show offload
Nothing should be listed. This should help.
Also you may try disabling the power management option on the NIC as follows:
1. Click Start, right click “Computer” select Properties.
2. Click Device Manager. Right-click your NIC and choose Properties.
3. Choose Power Management tab and uncheck “Allow the computer to turn off this device to save power.
4. Restart the computer and check if it works.
This should help especially with the Network disconnects.

Additional solution. Disable Remote Differential Compression.


1. Click Start – Control Panel – Programs – Trun Windows features on or off
rdc
2. Uncheck “Remote Differential Compression” and click OK.
3. Restart the computer and you should see an improved performance with copying files.

Source:  http://www.windowsreference.com/windows-vista/slow-network-copy-and-connection-drops-in-windows-7/
Source: http://www.windowsreference.com/windows-7/slow-network-file-copy-issues-in-windows-7-caused-by-remote-differential-compression/