Skip to Content

Solved: How do i fix “A JavaScript Error Occurred in the Main Process” after installing FortiClient software in Windows?

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

Solved: How do i fix "A JavaScript Error Occurred in the Main Process" after installing FortiClient software in Windows?

Scope

FortiClient Software installed in a Windows Machine

Solution

Step 1: Uninstall the Forticlent Software using the FortiClient remover tool. Follow the steps to Remove the FortiClient Software from the Windows End-point. Reboot the Windows Machine after the Uninstallation process is completed.

Step 2: Install the latest version of the Microsoft Visual C++ Redistributable. It is possible to download the files from the above link.

Step 3: Uninstall any old C++ Redistributable found in Control Panel. Follow the article (Uninstall or remove apps and programs in Windows) to remove those old C++ services. Once removed, restart the windows machine.

Step 4: Reinstall the Intended FortiClient Version and run the application as an administrator.