I have scripted GoFast.bat to optimize Windows Storage Server 2003 performance after upgrading Windows Server 2003 to SP1. After running GoFast.bat, and restarting your server, you should notice performance improvements.

The syntax for using GoFast.bat is:

GoFast \[W2K3SVR1 W2K3SVR2 ... W2K3SVRn\]

Where W2K3SVRX is optional. If no W2K3SVRX is entered, the local computer is configured.

NOTE: Download the Performance Tuning Guidelines for Windows Server 2003 document.

GoFast.bat contains:

                              @echo off                              setlocal                              set key1=HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters                              set key2=HKLM\system\CurrentControlSet\Services\Tcpip\Parameters                              set key3=HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\treathostasstablestorage                              set key4=HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management                              if  \{%1\}

\{\} set rmt=\\%ComputerName%&goto doit :again if \{%1\}

\{\} goto finish set rmt=%1# shift set rmt=%rmt:\#=% set rmt=%rmt:#=% if "%rmt:~0,1%" NEQ "\" set rmt=\\%rmt% :doit set key=%rmt%\%key1% @echo reg add %key% /V noaliasingonfilesystem /T REG_DWORD /F /D 1 reg add %key% /V noaliasingonfilesystem /T REG_DWORD /F /D 1 @echo. @echo reg add %key% /V treathostasstablestorage /T REG_DWORD /F /D 1 reg add %key% /V treathostasstablestorage /T REG_DWORD /F /D 1 @echo. set key=%rmt%\%key2% @echo reg add %key% /V NumTcbTablePartitions /T REG_DWORD /F /D 16 reg add %key% /V NumTcbTablePartitions /T REG_DWORD /F /D 16 @echo. set key=%rmt%\%key3% @echo reg add %key% /V disable8dot3 /T REG_DWORD /F /D 1 reg add %key% /V disable8dot3 /T REG_DWORD /F /D 1 @echo. @echo reg add %key% /V disablelastaccess /T REG_DWORD /F /D 1 reg add %key% /V disablelastaccess /T REG_DWORD /F /D 1 @echo. :: X86 only set key=%rmt%\%key4% @echo reg add "%key%" /V PagedPoolSize /T REG_DWORD /F /D 0xFFFFFFFF reg add "%key%" /V PagedPoolSize /T REG_DWORD /F /D 0xFFFFFFFF @echo. goto again :finish endlocal