Skip to main content
JaskiratM
Staff & Editor
Staff & Editor
Nov 25, 2022 5:37 AM UTC

Technical Tip: How to fix the 'A JavaScript Error Occurred in the Main Process' after installing the FortiClient software in Windows

Description

 

This article describes how to fix the A JavaScript Error Occurred in the Main Process' after installing the FortiClient software in Windows.

 

JaskiratM_0-1669332847043.png

 

Scope

 

FortiClient Software installed on a Windows Machine.

 

Solution

 

  1. Uninstall the existing FortiClient Software first using the conventional method.

  2. If still having issues, utilize the FortiClient remover tool to perform a clean uninstall of the software.

    Follow the steps in the linked article to remove the FortiClient Software from the Windows End-point. Reboot the Windows Machine after the Uninstallation process is completed.

  3. Install the latest version of the Microsoft Visual C++ Redistributable.

  4. Uninstall any old C++ Redistributable found in Control Panel (eg: 2008, 2013). After removal, restart the windows machine.

  5. Reinstall the Intended FortiClient Version and run the application as an administrator.

 

Related document:

Technical Tip: How to uninstall a managed FortiClient in Windows Machines.

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024