Discord is the most widely utilized user-friendly application for gaming. It is known for its chat feature and live streaming option as well. Yet, like all applications, it also encounters errors. Several users have reported Discord JavaScript error on startup and Javascript error occurred in the main process during Discord app installation. It could indeed be quite frustrating to face this error on every startup. But don’t stress! Read below to resolve this error 1105 on Discord at the earliest.

Fix Discord JavaScript Error on Startup - 1
  • How to Fix Discord JavaScript Error on Startup on Windows 10
  • Method 1: Close All Discord Processes
  • Method 2: Run Discord Without Administrator Rights
  • Method 3: Update Group Policy in Command Prompt
  • Method 4: Delete Discord AppData
  • Method 5: Change Quality Windows Audio Video Experience Service
  • Method 6: Bypass Discord in Antivirus
  • Method 7: Update Discord App
  • Method 8: Update Windows OS
  • Method 9: Reinstall Discord
  • Method 10: Contact Discord Support

How to Fix Discord JavaScript Error on Startup on Windows 10

During our research, we found that the following are the major causes for Discord JavaScript error on startup and Javascript error occurred in the main process :

  • Disabled Quality Windows Audio Video Service
  • Discord app getting corrupt
  • Improper Discord Settings
  • Running Discord with Administrative Privileges

The methods listed below are arranged from basic to advanced level to fix Discord JavaScript error on Windows 10 desktop/laptop.

Method 1: Close All Discord Processes

Too many Discord processes might corrupt system files leading to Discord Javascript error. Hence, exit from Discord as instructed below.

  1. Right-click on the Windows icon from the Taskbar and click on the Task Manager option as depicted below.
Type task manager in the search bar in your Taskbar | Discord JavaScript error on startup - 2
  1. From the Processes tab in the Task Manager window, search and select Discord task.

  2. Then click on the End task option shown highlighted.

search and select Discord tasks How to Fix Discord JavaScript Error on Startup on Windows 10 - 3
  1. Restart the system to fix the Discord javascript error on startup issue.

Method 2: Run Discord Without Administrator Rights

Several users have noticed that the app does not face any error when logged in without administrative privileges. So, run Discord without administrative rights as follows:

  1. Right-click on the Discord shortcut and click on Properties .

Note: Or navigate to the installation directory and right-click Discord file.

Discord properties | Discord JavaScript error on startup - 4
  1. In the Properties window, switch to the Compatibility tab.
Discord Properties Box. How to Fix Discord JavaScript Error on Startup on Windows 10 - 5
  1. Now, uncheck the box marked Run this program as an administrator as shown below.
Run Discord without administrator rights. How to Fix Discord JavaScript Error on Startup on Windows 10 - 6
  1. Finally, click on Apply and OK to save the changes made.

  2. Now, relaunch Discord to see if the issue is fixed now.

Method 3: Update Group Policy in Command Prompt

To fix Discord JavaScript error on startup, you can update the group policy by executing a command line in the Command Prompt on Windows 10 as instructed below:

  1. Type cmd in the Windows search bar . Click on the Run as administrator option to run it with administrative rights.
Launch the command prompt by typing cmd or command prompt in the search bar - 7
  1. Here, type gpupdate /force command as depicted below and press Enter key.
gpupdate force | How to Fix Discord JavaScript Error on Startup on Windows 10 - 8
  1. Once the group policy is updated, launch Discord and resume playing.

Method 4: Delete Discord AppData

Temporary and corrupt Discord files could cause problems in app settings. Also, improper account settings in Discord lead to Discord JavaScript error on startup. Thus, clear all the Discord AppData to fix this problem on Windows 10.

  1. Type %appdata% in the Windows Search bar and click Open as illustrated below.
Open appdata folder - 9
  1. Double click on the Roaming folder to open it.
Double click on Roaming folder | Discord JavaScript error on startup - 10
  1. Here, right-click on the Discord folder and click Delete option as depicted below.
Select the AppData Roaming folder and navigate to the Discord. How to Fix Discord JavaScript Error on Startup on Windows 10 - 11
  1. Once again, type %localappdata% and click Open as shown.
localappdata | Fix A JavaScript Error Occurred in the Main Process - 12
  1. Find the Discord folder and click the D elete option after right-clicking on it.
Find the Discord folder by using the search menu and delete it. How to Fix Discord JavaScript Error on Startup on Windows 10 - 13
  1. Finally, restart your PC .

Method 5: Change Quality Windows Audio Video Experience Service

When you change the startup type of Quality Windows Audio Video Experience service from Manual to Automatic, you can resolve a JavaScript error that occurred in the main process issue.

Note: This method is capable of resolving JavaScript errors of all other applications and programs including Discord.

Here’s how to change the startup type of Quality Windows Audio Video Experience service:

  1. Type Run in the Windows search bar to open Run dialog box.
Open a Run dialog box by going to the Start menu search and typing Run - 14
  1. Type services.msc as depicted below and click OK .
Type services.msc as follows and click OK. - 15
  1. In the Services window, right-click Quality Windows Audio Video Experience service.

  2. Then, click on the Properties option as illustrated below.

Quality Windows Audio Video Experience service | How to Fix Discord JavaScript Error on Startup on Windows 10 - 16
  1. Click on the Stop option to halt the running service.
Quality Windows Audio Video Experience Stop service - 17
  1. Click on the Start button to run the service again.
Quality Windows Audio Video Experience Start Service - 18
  1. Set the Startup type to Automatic using the given drop-down menu.
Now, set the Startup type to Automatic. How to Fix Discord JavaScript Error on Startup on Windows 10 - 19
  1. Click on Apply > OK to save the changes.

Note: You may receive the following error message while changing the startup type: Windows could not start the service on Local Computer. Error 1079: The account specified for this service differs from the account specified for other services running in the same process.

  1. In this case, switch to the Log on tab in the Quality Windows Audio Video Experience Properties window and click on the Browse… button as highlighted below.
When this happens, switch to the Log on tab in the Quality Windows Audio Video Experience Properties window and click on the Browse… button  - 20
  1. Here, type the name of your user account in the Enter the object name to select box and click on Check Names button.
Here, type the name of your account in the Enter the object name to select box and click on Check Names  - 21
  1. Once done, click on OK and type in your Password when prompted.

  2. Now, launch Discord without any errors.

Method 6: Bypass Discord in Antivirus

Sometimes, you may face Discord JavaScript error on startup in Windows 10 due to restrictions of the installed Antivirus program. It may prevent certain programs from being opened or launched including Discord. You can resolve this by adding Discord as an exception to Antivirus or disabling it temporarily.

Note: Here, we are using Avast Free Antivirus as an example. The steps may differ based on the Antivirus software installed on your PC.

  1. Launch Avast Antivirus and click on Menu in the top right-hand corner.
click on Menu in Avast free antivirus | Discord JavaScript error on startup - 22
  1. Click on the Settings option from the drop-down menu.
click on Settings from the dropdown list Avast Free Antivirus. Fix Steam Keeps Crashing - 23
  1. Select General > Blocked & Allowed apps . Then, click on ALLOW APP under the List of allowed apps section, as highlighted below.
select General then, blocked and allowed apps and click on allow app button in Avast Free Antivirus settings - 24

4A. Now, click on ADD corresponding to the Discord option to add it to the whitelist.

4B. Alternatively, you may also browse the Discord app by selecting the SELECT APP PATH option.

Note: We have depicted App Installer being added as an exclusion in the image below. You have to add Discord similarly.

click on app installer and select add button to add exclusion in Avast Free Antivirus.  - 25
  1. Finally, click on ADD in the prompt to add the Discord app to the Avast whitelist.

Note: You can choose to disable the antivirus or disable Windows Defender Firewall temporarily or uninstall Avast if needed.

Method 7: Update Discord App

If you face a Discord JavaScript error on startup , it’s possible that the recent update is incompatible with the application, and a new update has been released to fix the problem. Download and install the latest update of Discord as follows:

  1. Press the Windows Key and type %LocalAppData% in the search bar as shown below. Click on Open as shown.
LocalAppData - 26
  1. Find and double-click on the Discord folder to open it.
Open the best results and double-click on the Discord folder to open it.How to Fix Discord JavaScript Error on Startup on Windows 10 - 27
  1. Run the Update application by double-clicking on it and Wait for the process to complete.
Now, run the Update application and wait for the process to be completed. How to Fix Discord JavaScript Error on Startup on Windows 10 - 28
  1. Lastly, relaunch Discord to see the error fixed.

Method 8: Update Windows OS

If you still face a JavaScript error that occurred in the main process, update Windows as follows:

  1. Press the Windows + I keys simultaneously to open the Settings app.

  2. Now, select Update & Security as shown.

Now, select Update and Security | Fix A JavaScript Error Occurred in the Main Process - 29
  1. Click on Check for updates in the right pane.
Now, select Check for Updates from the right panel.  - 30

4A. Click on the Install now option. After downloading and installing the updates, Restart your system to see the Discord error is resolved.

Follow the on-screen instructions to download and install the latest update available.  - 31

4B. If no updates are available, You’re up to date message will be displayed. In this case, try the next solution.

windows update you're up to date message - 32

Method 9: Reinstall Discord

If none of the methods has helped you, then try to reinstall the software if possible. All the settings and configurational setup will be refreshed when you reinstall Discord, and hence there are more chances that you will attain a fix for your problem.

  1. Launch Control Panel by searching for it in Windows search bar .
Press the Windows key. Type Control Panel and launch it to fix the handle is invalid error - 33
  1. Set View by: Large icons and click Programs and Features as shown.
Click on Programs and Features - 34
  1. Click on Discord and select the Uninstall option.
Now, click on Discord and select Uninstall How to Fix Discord JavaScript Error on Startup on Windows 10 - 35
  1. When prompted, Are you sure want to uninstall Discord? click on Yes.

  2. Restart your PC .

  3. Open Discord download page and click on the Download for Windows button as depicted below.

Click on the Download for Windows button - 36
  1. Navigate to My downloads and launch the DiscordSetup file.

  2. Follow the on-screen instructions to complete the installation on your PC.

Method 10: Contact Discord Support

If nothing works, then drop an Email to the Discord support team . They will analyze the issue and recommend an optimal fix for the Discord JavaScript error on startup.

Contact Discord Support. How to Fix Discord JavaScript Error on Startup on Windows 10 - 37

Recommended:

  • How to Access Blocked Sites in UAE
  • How to Use Push to Talk on Discord
  • Fix Discord Keeps Crashing
  • Fix Discord Not Detecting Mic

We hope this article resolved Discord JavaScript error on startup issue on Windows 10 PC . Let us know which method worked for you the best. Also, feel free to reach out to us in the comment section below with your queries or suggestions.