Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

Home > Success Center > Orion Platform > Orion - Knowledgebase Articles > Tweaking performance of Windows Server

Tweaking performance of Windows Server

Table of contents

Updated September 4th, 2017

Overview

The below article describes how to tweak Windows Server Operating System to help busy systems perform better. The purpose of these changes is to avoid exhaustion of the TCP/IP stack by decreasing the time required to dispose of dead (TIME_WAIT) connection. In most cases, these connections are no longer reusable and a quick turn over makes the system behave much faster.

 

Microsoft Reference

Environment

  • Windows (generic)

Steps

SolarWinds strongly recommends that you back up your registry before making any edits to your system registry. You should only edit the registry if you are experienced and confident in doing so. Using a registry editor incorrectly can cause serious issues with your operating system, which could require you to reinstall your operating system to correct them. SolarWinds cannot guarantee resolutions to any damage resulting from making registry edits.

  1. Start Windows Registry Editor

  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

  3. To create the TcpTimedWaitDelay key:
    This key will reduce the length of time that a connection stays in the TIME_WAIT state before the connection is closed. While a connection is in the TIME_WAIT state, the socket pair cannot be reused.

    1. Highlight Parameters

    2. Click the Edit menu > New > DWORD (32-bit) Value

    3. Give it a name of TcpTimedWaitDelay (The capitalization matters)

    4. Right-click the new key > Modify...

    5. Click the decimal radial button

    6. Specify a value between 30 and 240. The lower value, the quicker unused connection will be closed. Many customers have had success with value 120 (decimal)

      Value Name Value Data
      TcpTimedWaitDelay <Enter a value between 30 and 240>

       

  1. To create the MaxUserPort key:
    This key will increase the allowance of TCP Ports which can be allocated on the server.

    1. Highlight Parameters

    2. Click the Edit menu > New > DWORD (32-bit) Value

    3. Give it a name of MaxUserPort (The capitalization matters)

    4. Right-click the new key > Modify...

    5. Click the decimal radial button

    6. Specify a value between 5000 and 65534. The higher value, the wider range of available ports. Many customers have had success with value 65000 (decimal)
       

      Value Name Value Data
      MaxUserPort <Enter a value between 5000 and 65534>

       

  2. To create the StrictTimeWaitSeqCheck key:
    You must set the StrictTimeWaitSeqCheck to 1 or the TcpTimedWaitDelay value will have no effect

    1. Highlight Parameters

    2. Click the Edit menu > New > DWORD (32-bit) Value

    3. Give it a name of StrictTimeWaitSeqCheck  (The capitalization matters)

    4. Right-click the new key > Modify...

    5. Click the decimal radial button

    6. Specify a value 1 (decimal)
       

      Value Name Value Data
      StrictTimeWaitSeqCheck <Enter a value 1>

       

  3. Close Windows Registry Editor and reboot the server to apply the changes.

 

 

Alternatively, you can create the registry file (extension REG) using any text editor, and past below content in it. Once saved you can simply double click on the file, allow import and then reboot the server.

 

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpTimedWaitDelay"=dword:0000003c
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"MaxUserPort"=dword:0000FDE8
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"StrictTimeWaitSeqCheck"=dword:00000001
Last modified

Tags

Classifications

Public