Lenovo Software Help Center

Tuning Windows Servers for UW/webNetwork Performance

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:
  1. 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

  2. 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:
  1. Adding TcpTimedWaitDelay Registry Entry:
    reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v TcpTimedWaitDelay /t REG_DWORD /d 30

  2. 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:

  1.  Stoneware folder:
    Add-MpPreference -ExclusionPath "C:\UnifiedWorkspace"

  2. webNetwork.exe process:
    Add-MpPreference -ExclusionProcess "webNetwork.exe"

  3. java.exe process:
    Add-MpPreference -ExclusionProcess "java.exe"


  4. AD-LDS Process (if using LDS):
    Add-MpPreference -ExclusionProcess "dsamain.exe"

  5. ADAM Folder (If using LDS):
    Add-MpPreference -ExclusionPath "C:\Windows\ADAM"

  6. ADAM Data Folder (if using LDS):
    Add-MpPreference -ExclusionPath "C:\Program Files\Microsoft ADAM\UnifiedWorkspace"

    • Related Articles

    • Move webNetwork to different server

      *** If you are moving to a different OS, please see : https://helpdesk.lenovosoftware.com/portal/kb/articles/migrate-webnetwork-to-windows-linux-22-8-2017 *** Keeping the same OS / version / IP As long as you are keeping the same OS/ version/IP then ...
    • Tuning Linux Servers for UW/webNetwork Performance

      The following changes will make sure Linux will clear unused connections faster: Important: This solution requires adjusting Linux kernel parameters. You should make a note of the original values so you can reset them if necessary. To reduce the ...
    • Windows server tuning

      Question Are there any suggested TCP parameters that should be changed on a Windows server running webNetwork. Windows Server OS out of the box should function properly with webNetwork. However, some customers have had to follow this information from ...
    • Migrate webNetwork to windows / linux

      To move from Linux to Windows on the same hardware: Backup the current install to cd, pen drive, network, etc...  Be sure to TAR, ZIP, GZ the files before transferring them or you risk corruption. * Install windows * Make a c:\stoneware directory * ...
    • Growing the number of UW servers

      Here is a document that shows a typical growth progression of UW servers. 
    • Popular Articles

    • Can a Teacher see Students outside of school?

      This content has moved! Visit the new LanSchool Classic Help Desk It looks like you may be interested in LanSchool Classic General FAQ.
    • LanSchool Latest Release Notes

      This content has moved! Visit the new LanSchool Classic Help Desk It looks like you may be interested in LanSchool Classic Latest Release Notes.
    • How to uninstall LanSchool Student and WebHelper from Chromebook

      This content has moved! Visit the new LanSchool Classic Help Desk It looks like you may be interested in Mass Deploying LanSchool Student for Chromebook.
    • LanSchool 8.0.2.82 Release Notes

      LanSchool™ Release Notes Updated: December 16, 2019 Component Versions LanSchool 8.0.2.82, December 16, 2019 Chromebook App 8.0.2.13, December 16, 2019 Chrome Web Helper: 8.0.2.5, December 16, 2019iOS TA and Student 8.2.0, December 16, 2019 Android ...
    • Controlling multiple students at once

      Problem: Can I remote control multiple computers at once? Cause: N/A Prerequisite(s): LanSchool Teacher and Student Solution(s): If all of the computers in the lab are the same basic image or configuration (for example. all Windows XP machines with ...
    • Recent Articles

    • Lenovo Software Newsletter

      Question Is there a way I can be notified about product updates? Solution To receive updates from Lenovo Software about product updates, we encourage customers to subscribe to our Lenovo Software Newsletter.
    • Allow Help Desk to reset Image Challenge images

      Issue Customer would like to allow Help Desk users to only be able to reset user Image Challenge images when they have been forgotten by a user. Solution This can be done by assigning specific users in the system the User Group Admin role, as well as ...
    • Troubleshoot RDS

      This is a good article, from Microsoft, on how to troubleshoot RDS/RDP logon issues. https://social.technet.microsoft.com/wiki/contents/articles/37841.remote-desktop-services-rds-logon-connectivity-overview-and-troubleshooting.aspx
    • Building an Employee Phonebook system

      Building a Mini Application Post #20 Can it really be that simple to create a little application with Report and Form Builder?  This tutorial shows you that it is - and actually helps you make a useful application at the same time as learning how to ...
    • Working with Binary Data in Report Services

      Quick Start Guide - Binary Data This tutorial is designed as a quick "How Do I Work With Binary Data" tutorial.  It walks through the steps necessary to upload an image to a database.  Every webNetwork 6.0 installation ships with a database called ...