How to Configure Omada Controller as a Windows Service(above Controller 2.5.4)

Configuration GuideUpdated 09-21-2018 09:28:34 AM

14108This Article Applies to:

Introduction

This document introduces how to configure Omada Controller as a Windows Service by using NSSM.

Prerequisites

1. A computer with the Omada Controller installed already.

2. Download the NSSM – the Non-Sucking Service Manager (https://nssm.cc/download)

Procedures

1. Extract nssm.exe to a convenient location, here I use “C:\Program Files (x86)\TP-LINK\EAP Controller\bin” as example.

2. Make sure you have ran Omada Controller before, or you can just keep Omada Controller running during this operation.

3. Run Windows Command Line as administrator and cd to the path you placed nssm.exe. Here is the C:\Program Files (x86)\TP-LINK\EAP Controller\bin.

4. Type nssm install “Omada Controller” to create a new Service using nssm.  

Set the following parameters as listed below:

Application 

Path:

C:\Program Files (x86)\TP-LINK\EAP Controller\jre\bin\java.exe

Startup directory:

C:\Program Files (x86)\TP-LINK\EAP Controller\jre\bin\

Arguments: 

-server -Xms128m -Xmx1024m -XX:MaxHeapFreeRatio=60 -XX:MinHeapFreeRatio=30 -XX:+HeapDumpOnOutOfMemoryError -Deap.home=”C:\Program Files (x86)\TP-LINK\EAP Controller” -cp “C:\Program Files (x86)\TP-LINK\EAP Controller\lib\*” com.tp_link.eap.start.EapMain

Details

Description: 

Add one if you want

Startup type:

Automatic

Log on

Local System account and select “Allow service to interact with desktop”

Environment

set scriptDir=”C:\Program Files (x86)\TP-LINK\EAP Controller\bin”

set eapHome=”C:\Program Files (x86)\TP-LINK\EAP Controller”

JAVA_HOME=”%eapHome%\jre”

PATH=%JAVA_HOME%\bin;%path%

5. Click Install service and will show you the successful note.

6. After the Omada Controller service is successfully set up, please restart your computer and the Omada Controller service will startup automatically. Please check on Windows Task Manager to see if the java.exe and mongod.exe are running properly. Then you can type http://127.0.0.1:8088 or https://127.0.0.1:8043 to login to the Omada Controller’s Web management page.

Note: 

1. After the NSSM is installed successfully, you can also use nssm edit “Omada Controller” command to edit the service.

2. When you are going to update the Controller, please remember to stop the service first, or the process will be denied.

Remove Outlook Attachment file size limit

To modify the default attachment limit size in Outlook for an Internet email account yourself, follow these steps: 

  1. Exit Outlook.
  2. Start Registry Editor.
  3. Locate and then select one of the following registry subkeys:
     HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Outlook\PreferencesHKEY_CURRENT_USER\Software\Policies\Microsoft\Office\x.0\Outlook\PreferencesNotes
    • The x.0 placeholder represents your version of Office (16.0 = Office 2016, Office 365 and Office 2019, 15.0 = Office 2013).
    • Manually create the path in the registry if it does not currently exist.
  4. Add the following registry data under this subkey:
     Value type: DWORDValue name: MaximumAttachmentSizeValue data: An integer that specifies the total maximum allowable attachment size. For example, specify 30720 (Decimal) to configure a 30-MB limit.Notes
    • Specify a value of zero (0) if you want to configure no limit for attachments.
    • Specify a value that is less than 20 MB if you want to configure a limit that is less than the default 20 MB.
  5. Exit Registry Editor
  6. Start Outlook.

Windows – Quick Fix for Networking Problems (WinSock Reset)

Use this document to repair Internet connection problems in Windows 10, 8, 7, Vista and XP. These commands reset TCP/IP, Windows Socket, and Windows Firewall.

Programs like firewalls, antivirus applications, VPN clients, and various malware can cause Internet connection problems. When there are Internet connection problems in Windows 7, Vista, or XP, make sure there are no firewalls installed other than the Windows Firewall. If other firewalls are in use, consider uninstalling them and re-enable the Windows Firewall. If problems persist, try the following commands.

Windows 8 and 10
Windows 7 & Vista
Windows XP
Summary
Windows 8 and 10
Open the Metro screen and type “command” which will automatically open the search bar. Right-click on Command Prompt and choose Run as administrator at the bottom of the screen.

Type the following commands, pressing Enter after each command:

netsh int ip reset reset.txt
netsh winsock reset
netsh advfirewall reset

Restart the computer.

Windows 7 & Vista
Click Start and type “command” in the search box. Right-click on Command Prompt and choose Run as administrator.

Type the following commands, pressing Enter after each command:

netsh int ip reset reset.txt
netsh winsock reset
netsh advfirewall reset

Restart the computer.

Windows XP
Click Start, then select Run.

Type “command” and press enter.

Type the following commands, pressing Enter after each command:

netsh int ip reset reset.txt
netsh winsock reset
netsh firewall reset

Note: Windows XP must have Service Pack 2 (or later) installed in order for these three commands to work properly. Otherwise, only the first command will work.

Restart the computer.

Sage Splash screen then disappears

Came across an issue with Sage V22 after a recent powercut at a clients office. Sage would display their splash screen then disappear not showing the companies to select screen.

We tried everything in this article https://my.sage.co.uk/public/help/askarticle.aspx?articleid=17559

.net, uninstalling SBDDesktopUpdateInstaller.msi, reinstalling Sage V22 from scratch nothing seemed to fix it.

Then we renamed the sage.usr file (C:\ProgramData\Sage\Accounts\[year]) which is used to register the software (you will need serial number and activation code) Once we put in their details it finally got past the splash screen Success!

Description of the standard terminology that is used to describe Microsoft software updates

Summary


This article describes the standard terminology that defines the software updates for the Windows Update and Microsoft Update services.

More Information


Microsoft uses the following standard terminology to describe software updates:

  • Critical update

    Definition: A widely released fix for a specific problem that addresses a critical, non-security-related bug.
  • Definition update

    Definition: A widely released and frequent software update that contains additions to a product’s definition database. Definition databases are often used to detect objects that have specific attributes, such as malicious code, phishing websites, or junk mail.
  • Driver

    Definition: Software that controls the input and output of a device.
  • Feature pack

    Definition: New product functionality that is first distributed outside the context of a product release and that is typically included in the next full product release.
  • Security update

    Definition: A widely released fix for a product-specific, security-related vulnerability. Security vulnerabilities are rated by their severity. The severity rating is indicated in the Microsoft security bulletin as critical, important, moderate, or low.

    Additional information: Microsoft security updates are available for customers to download and are accompanied by two documents: a security bulletin and a Microsoft Knowledge Base article. For more information about the format of Microsoft Knowledge Base articles for Microsoft security updates, click the following article number to view the article in the Microsoft Knowledge Base:824689 Description of the format of Microsoft Knowledge Base articles for Microsoft Security Updates
  • Service pack

    Definition: A tested, cumulative set of all hotfixes, security updates, critical updates, and updates. Additionally, service packs may contain additional fixes for problems that are found internally since the release of the product. Service packs my also contain a limited number of customer-requested design changes or features.
  • Tool

    Definition: A utility or feature that helps complete a task or set of tasks.
  • Update

    Definition: A widely released fix for a specific problem. An update addresses a noncritical, non-security-related bug.
  • Update rollup

    Definition: A tested, cumulative set of hotfixes, security updates, critical updates, and updates that are packaged together for easy deployment. A rollup generally targets a specific area, such as security, or a component of a product, such as Internet Information Services (IIS).
  • Security-only update

    Definition: An update that collects all the new security updates for a given month and for a given product, addressing security-related vulnerabilities and distributed through Windows Server Update Services (WSUS), System Center Configuration Manager and Microsoft Update Catalog. Security vulnerabilities are rated by their severity. The severity rating is indicated in the Microsoft security bulletin as critical, important, moderate, or low. This Security-only update would be displayed under the title Security Only Quality Update when you download or install the update and will be classified as an “Important” update.
  • Monthly Rollup

    Definition: A tested, cumulative set of updates. They include both security and reliability updates that are packaged together and distributed over Windows Update, WSUS, System Center Configuration Manager and Microsoft Update Catalog for easy deployment. The Monthly Rollup is product specific, addresses both new security issues and nonsecurity issues in a single update and will proactively include updates that were released in the past. Security vulnerabilities are rated by their severity. The severity rating is indicated in the Microsoft security bulletin as critical, important, moderate, or low. This Monthly Rollup would be displayed under the title Security Monthly Quality Rollup when you download or install. This Monthly Rollup will be classified as an “Important” update on Windows Update and will automatically download and install if your Windows Update settings are configured to automatically download and install Important updates.
  • Preview of Monthly Rollup

    Definition: A tested, cumulative set of new updates that are packaged together and distributed over Windows Update, WSUS, System Center Configuration Manager and Microsoft Update Catalog ahead of the release of the next Monthly Rollup for customers to proactively download, test and provide feedback. The Preview of Monthly Rollup is product specific and addresses new non-security updates, and includes fixes from the latest Monthly Rollup. This Preview of Monthly Rollup would be displayed under the title Preview of Monthly Quality Rollup when you download or install and will be classified as an “Optional” update.
  • Servicing Stack Updates (SSU)

    Definition: The “servicing stack” is the code that installs other operating system updates. Additionally, it contains the “component-based servicing stack” (CBS), which is a key underlying component for several elements of Windows deployment, such as DISM, SFC, changing Windows features or roles, and repairing components. The CBS is a small component that typically does not have updates released every month.

SSL Certificate Renewl: Certify the Web – Lets Encyrpt

1.) Connect to VPN

  1. Connect to VPN
  2. Login to Router
  3. Go to Firewall – Nat
  4. Enable the Temp SSL Rule
  5. Go to Firewall – WAN
  6. Enable Temp SSL Rule
  7. Login to applicable server
  8. Open the Certify the Web tool
  9. If at the top of the window it displays an update available install the update
  10. Run the tool
  11. Once applied open CMD as administrator
  12. Run iisreset /restart
  13. Once complete test sites/remote apps
  14. If all is working disable nat rule on router

Avast Business Anti-Virus, Eradicating CF 100%.

When uninstalling Avast business AV with either the built in uninstaller it still leaves a CF service running called [Avast Business Cloud Care – Content Filter] that can be found in Task Manager.

Right click and end this task.

Reboot the PC/Laptop and then check that the service has not started again, if it has, try the Avast removal tool to fully eradicate.

Now if you reinstall Avast Business Anti-Virus without content filter, it will not install this additional service that can still at upon apps and give false results.

On Prem AD Account & Office 365 Outlook AutoDiscover Issue

IF running a sit with both AD Users and Exchange On Prem and Office 365 Outlook AutoDiscover – Add Registry Keys to the below location

HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Outlook\AutoDiscover

 Note

x.0 in this registry path corresponds to the Outlook version (16.0 = Outlook 2016, 15.0 = Outlook 2013, 14.0 = Outlook 2010, 12.0 = Outlook 2007).

ExcludeExplicitO365Endpoint
ExcludeHttpRedirect
ExcludeHttpsAutoDiscoverDomain
ExcludeHttpsRootDomain
ExcludeLastKnownGoodURL
ExcludeSCPLookup

ENSURE ALL VALUES ARE SET TO 1