We've found over time, that making the following changes to Windows allows for improved performance from Unified Workspace:
Making sure UW is able to listen on the necessary ports by adding exceptions for the Java.exe and webNetwork.exe executables:
- Adding UW Java exception to firewall:
netsh advfirewall firewall add rule name="Allow inbound traffic to webNetwork Java" dir=in edge=yes action=allow program="C:\UnifiedWorkspace\jre\bin\java.exe" enable=yes
- Adding webNetwork.exe exception to firewall:
netsh advfirewall firewall add rule name="Allow inbound traffic to webNetwork.exe" dir=in edge=yes action=allow program="C:\UnifiedWorkspace\bin\webNetwork.exe" enable=yes
The following Registry Keys make sure Windows will clear unused connections faster:
- Adding TcpTimedWaitDelay Registry Entry:
reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v TcpTimedWaitDelay /t REG_DWORD /d 30
- Adding MaxUserPort Registry Entry:
reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v MaxUserPort /t REG_DWORD /d 65534
The following Powershell command will add exclusions to Windows Defender:
- Stoneware folder:
Add-MpPreference -ExclusionPath "C:\UnifiedWorkspace"
- webNetwork.exe process:
Add-MpPreference -ExclusionProcess "webNetwork.exe"
- java.exe process:
Add-MpPreference -ExclusionProcess "java.exe"
- AD-LDS Process (if using LDS):
Add-MpPreference -ExclusionProcess "dsamain.exe"
- ADAM Folder (If using LDS):
Add-MpPreference -ExclusionPath "C:\Windows\ADAM"
- ADAM Data Folder (if using LDS):
Add-MpPreference -ExclusionPath "C:\Program Files\Microsoft ADAM\UnifiedWorkspace"