Installing the LanSchool Connection Service

Installing the LanSchool Connection Service

System Requirements

A dedicated server or workstation is required to host the LanSchool Connection Service. Refer to LanSchool System Requirements for full details.

Installing the LanSchool Connection Service 

  1. In My Computer, go to the LanSchool product download location and double-click LCS.msi in the Windows\ConnectionServer folder. 



  2. Select Next
    .


  3. Read the license agreement, select I accept the terms in the license agreement, and then select Next.



  4. (Optional) Select a security mode option if desired. Select Enable a security mode to enable selection of one or both security modes. If Password Secure Mode
     is selected, then both teacher and student installations require that password to subscribe to a channel. If Active Directory Secure Mode is selected, then the LCS must be a member of the domain and can see the LanSchool Teachers Group.



  5. If desired, select Allow problem reports to be sent to Stoneware, Inc. to send anonymous and confidential problem reports. Select Next .
    .


  6. Select Install.



  7. Select Finish to complete the installation.



    When the installation finishes, a new LanSchool Connection Server shortcut is added to the Start menu and Desktop. Run the shortcut or go to http://localhost:8085/ to view the server state.



Additional LCS Configuration Options

Configure Automatic Updates for Teacher and Student Clients

The LanSchool Connection Service (LCS) can be configured to automatically deliver updated versions to Windows or macOS devices with LanSchool Teacher or LanSchool Student already installed and configured. See Updating LanSchool Remotely for more details.

Configure Multiple NICs on the LanSchool Connection Server

If the server has more than one network adapter (NIC), it is best to specify which IP Address the server will listen on. 
  1. Open Windows Registry Editor (regedit.exe)
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\LanSchool .
  3. Create two new String (REG_SZ) values:
    1. IPSubnet  (value equals their host IP address e.g - 192.168.1.0)
    2. IPSubnetMask  (value equals their IP subnet mask e.g - 255.255.255.0)
  4. Restart the LCS Service via Windows Services. 

Changing the default port used by the LanSchool Connection Service

If the server has another piece of software using TCP port 8080 you can create a registry key on the server and student machines to have them communicate on a different TCP port.

On the Server running the LanSchool Connection Service

If the following registry value exists on the Connection Server, it will read that value and bind to that port number, instead of 8080 :
  1. Open  Windows Registry Editor  ( regedit.exe ).
  2. Navigate to  HKEY_LOCAL_MACHINE\SOFTWARE\LanSchool .
  3. Create one new  String (REG_SZ) value: ConnectionServerPort  <NewPortNumber>.
  4. Restart the LCS Service via Windows Services.

On the Student Machines running LanSchool

Once the ConnectionServerPort is is set on the LCS machine, you will need to also modify the registry on the student machines and set the port number in the following Registry value to match the one that was set for the connection server, above. 
  1.      32bit:  HKEY_LOCAL_MACHINE\SOFTWARE\LanSchool ConnectionServerPort  REG_SZ  <NewPortNumber>
  1.      64bit:  HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LanSchool ConnectionServerPort  REG_SZ  <NewPortNumber>
This can be automated by scripting the student install as follows:

msiexec /i student.msi /qn ADVANCED_OPTIONS=1 LCS=192.168.1.149:<NewPortNumber>

Enabling Automatic Assignment of Teacher Channels

The LCS can auto-assign teacher channels. You can specify a range to use and the LCS will rotate through the range to assist with channel assignment. This can be very useful in scenarios where you do not want to have the teachers deal with the manual administration of channel settings. 

With each teacher on a unique channel, teachers can use Class Lists to pull rosters of students into their channels as needed.

This feature requires that all teachers be running LanSchool Teacher version 9.0.1 or later.

To enable this on the LCS, create the following registry keys and restart the LCS Server:
  1.    Create the following registry keys:
    •  HKEY_LOCAL_MACHINE\SOFTWARE\LanSchool DynamicChannelStart  REG_DWORD = #### (e.g. 1000, the start of auto channel range)
    •  HKEY_LOCAL_MACHINE\SOFTWARE\LanSchool DynamicChannelStop  REG_DWORD = #### (e.g. 5000, the end of auto channel range)
  2. From services.msc, restart the LanSchool Connection Server.
The teachers must be first installed with a channel number that is within the channel range. Ensure the range is large enough to accommodate all teachers using the LCS.

Example

Assume a dynamic channel range of 1000 to 5000 is set and that all teachers are currently set to channel 1001 at the time of install.
  1.     The first teacher connects to the LCS stays on channel 1001 because it is in the dynamic range and is currently unused.
  2.     The second teacher that connects to the LCS is moved to a random channel within the dynamic range (e.g. 3500), because 1001 is currently in use.
  3.     The process repeats for each teacher that connects to the LCS.
  4.     Once moved to a channel within the dynamic range, the teacher stores that new channel in registry and connects to that channel in the future.
If a teacher manually changes their channel back to a number within the dynamic range, they will not be moved again. This is to support scenarios in which schools may wish to have two teachers on the same channel. Be aware that this could cause undesired channel conflicts.



    • Related Articles

    • Installing LanSchool Student for Windows

      Overview The following instructions will assist you with manually installing LanSchool Student on a single Windows student device. For information on installing the teacher client or mass deploying LanSchool throughout your organization, see Setting ...
    • LanSchool System Requirements

      LanSchool 9.0 Teacher Console Requirements The LanSchool Teacher Console software must be installed on each instructor device. Supported device operating systems include: Windows 7, 8.1, 10 Windows Server 2008, or 2012 (for Terminal Services/Thin ...
    • Installing LanSchool Teacher for Windows

      Overview The following instructions will assist you with manually installing LanSchool Teacher on a single Windows teacher device. For information on installing the student client or mass deploying LanSchool throughout your organization, see Setting ...
    • LanSchool Classic Setup Guide

      Overview This setup guide is intended for administrators preparing to implement LanSchool Classic in their environments. LanSchool Classic is the locally hosted, client-based version of LanSchool's award-winning classroom management solution, ...
    • Installing LanSchool Student on Android

      LanSchool Student 9.1 supports Android 8 or greater and requires the LanSchool Connection Service (LCS) for communication. Installing the LanSchool Student app for Android The following instructions will assist you with manually installing LanSchool ...
    • Popular Articles

    • Installing LanSchool Teacher for Windows

      Overview The following instructions will assist you with manually installing LanSchool Teacher on a single Windows teacher device. For information on installing the student client or mass deploying LanSchool throughout your organization, see Setting ...
    • Latest Release Notes

      LanSchool Classic Release Notes Customers with an active LanSchool subscription will have access to download the latest version from the LanSchool Customer Portal. For instructions, see Downloading LanSchool Installers. LanSchool Classic 9.1.0.42 ...
    • Limiting Application Use

      Overview Teachers can control the applications that are allowed to run on the student computers. The application limiting policy can stop ALL applications from running except for those specified in an "allow list" or can allow all application except ...
    • Limiting Website Use

      Overview Limit the websites that can be accessed by one or more student computers. The teacher can choose to restrict all web activity, allow only certain websites, or block only certain websites. This is often used to keep students focused or to ...
    • Configuring and Troubleshooting Wake on Lan

      Wake on Lan Configuration Your device manufacturer will be able to assist you with the Wake on Lan configuration.  That information is proprietary to the devices and is not provided by LanSchool. LanSchool utilizes Wake on Lan to power on the student ...
    • Recent Articles

    • LanSchool Teacher Channel Assignment Using Group Policy

      Overview LanSchool provides an option to utilize a PowerShell script at teacher login to change the LanSchool Teacher channel to a unique channel from a CSV file. This is recommended for customers who are not using a LanSchool Connection Server or ...
    • Logging On or Off Students Remotely

      Overview The LanSchool Teacher console has the ability to only log on wired and wireless Windows devices using Log On Students. The LanSchool Teacher console has the ability to log off wired and wireless Windows and Mac devices using Log Off Students ...
    • LanSchool Classic Video Tutorials

      For detailed information on how to use each feature of LanSchool Classic, visit the Using LanSchool Classic in the Classroom section of our Help Center. For quick, video demonstrations of each feature in action, visit our "LanSchool Classic Features" ...
    • Deploying LanSchool Using Group Policy

      Overview  The LanSchool Group Policy deployment guide is designed to assist with some basic settings and deployment using Active Directory Group Policy settings.  Please note that our support team can only provide limited assistance with configuring ...
    • Adding the LanSchool Teacher Console Shortcut to Desktop

      By default, the LanSchool Teacher Console will always be running the Windows system tray. To make it easier for teachers to launch, consider creating a shortcut for the LanSchool Teacher Console to place on the Desktop or pin to the Taskbar. Open the ...