Slow Network on Windows Vista / Windows 7
A thing that I have experienced one day was, that client Computers with Windows 7 installed have been very slow in a Windows Server 2003 network.
It started with very slow logons on the ADS Domain and later the access to network shares was almost impossible.
After hours of searching and almost giving up, I have found the solution to the problem. It seems that sometimes the autotuninglevel of Windows Vista and Windows 7 doesn’t work properly.
It is a feature that is trying to optimize TCP window size and was introduced with Windows Vista.
If you are experiencing similar problems you can try to disable it.
First open a command line and then enter the following command to check if autotuning is enabled:
1 | netsh interface tcp show global |
Check if Receive Windows Auto-Tuning level is “normal”
If so, you can disable it by issuing the following command:
1 | netsh interface tcp set global autotuninglevel=disabled |
Reboot the machine and check if the network problems are solved.
If you want to enable it again later, you can enter the following command:
1 | netsh interface tcp set global autotuninglevel=normal |
Exchange 2010 Prerequisites
Note: These Commands must be entered via the PowerShell!
As stated by Microsoft the Exchange Server 2010 prerequisites are as follows:
For Windows Server 2008 SP2
a) For the Client Access, Mailbox and Hub Transport roles:
1 2 | sc config NetTcpPortSharing start= auto ServerManagerCmd -ip Exchange-Typical.xml -Restart |
b) For the Client Access, Mailbox, Hub Transport and Unified Messaging roles:
1 2 3 | sc config NetTcpPortSharing start= auto ServerManagerCmd -i Desktop-Experience ServerManagerCmd -ip Exchange-Typical.xml -Restart |
c) For the Client Access and Hub Transport roles:
1 2 | sc config NetTcpPortSharing start= auto ServerManagerCmd -ip Exchange-Typical.xml -Restart |
d) For the Hub Transport and Mailbox roles:
1 | ServerManagerCmd -ip Exchange-Typical.xml -Restart |
e) For the Client Access and Mailbox roles:
1 2 | sc config NetTcpPortSharing start= auto ServerManagerCmd -ip Exchange-Typical.xml -Restart |
f) For the Client Access role:
1 2 | sc config NetTcpPortSharing start= auto ServerManagerCmd -ip Exchange-CAS.xml -Restart |
g) For the Hub Transport role:
1 | ServerManagerCmd -ip Exchange-Hub.xml -Restart |
h) For the Mailbox role:
1 | ServerManagerCmd -ip Exchange-MBX.xml -Restart |
i) For the Unified Messaging role:
1 | ServerManagerCmd -ip Exchange-UM.xml -Restart |
j) For the Edge Transport role:
1 | ServerManagerCmd -ip Exchange-Edge.xml -Restart |
For Windows Server 2008 R2
First we are going to import the ServerManager module into PowerShell:
1 | Import-Module ServerManager |
a) For the Client Access, Hub Transport and Mailbox roles:
1 | Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart |
b) For the Client Access, Hub Transport, Mailbox and Unified Messaging roles:
1 | Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy,Desktop-Experience -Restart |
c) For the Client Access and Hub Transport roles:
1 | Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart |
d) For the Hub Transport and Mailbox roles:
1 | Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server -Restart |
e) For the Client Access and Mailbox roles:
1 | Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart |
f) For the Client Access role:
1 | Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart |
g) For the Hub Transport or Mailbox role:
1 | Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server -Restart |
h) For the Unified Messaging role:
1 | Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Desktop-Experience -Restart |
i) For the Edge Transport role:
1 | Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS -Restart |
Additionally when the Client Access role has been installed, you need to run the following command:
1 | Set-Service NetTcpPortSharing -StartupType Automatic |