Discord is undoubtedly one of the most trending platforms for instant messaging, meetups, and sharing ideas and strategies while gaming and streaming. You can use this program over the browser or the dedicated application.
But, the Discord app is not free from errors. Users have complained that they are witnessing the ‘Discord error EPERM operation not permitted’ message when they launch the application.
Generally, you can mend this ‘Discord error EPERM operation not permitted’ issue by repairing the Discord data or files. A reinstallation can also help. But, if there’s some kind of interference with third-party applications, then you have to use other troubleshooting ideas.
Delete Discord AppData
Discord applications store data or files to run smoothly on the computer interface. They are user logs, configurations, cached thumbnails, etc., and the application uses them so that you can quickly access the application.
If the Discord AppData folder is corrupted, you might encounter the ‘Discord error EPERM operation not permitted’ problem.
You can delete the existing AppData folder of Discord, and it will eliminate the corruption. After that, Discord will automatically re-generate the AppData folder again. Before removing the AppData folder, end each Discord process using the Task Manager on your Windows PC.
Here’s what you need to follow for the rest of the method:
- Press the keyboard shortcut Windows+E to launch File Explorer.
- Go to the navigation bar at the top and enter ‘%appdata%’. This will redirect you to the particular Windows user account’s AppData folder.
- Find the Discord folder and right-click on it.
- Choose the Delete option from the pop-up menu.
- Next, move to the Recycle Bin and right-click on its icon.
- Click the option that says, ‘Empty Recycle Bin’.
Once you have deleted the Discord AppData folder, the desktop app will regenerate the AppData folder on its own. It will instruct you to sign in again and load configuration files.
If you’re still facing the Discord error EPERM operation not permitted issue, then go to the next solution.
Run the Discord Desktop App as an Administrator
The admin rights can make a difference. Discord desktop app can run on both standard and administrator Windows user accounts. So, it’s worth attempting to run the app with admin privileges.
Go through the instructions below:
- Navigate to the C:\Users\user_name\AppData\Local\Discord file path using Windows File Explorer. Here, user_name stands for the particular user’s profile folder.
- You will witness numbered folders, such as app-0.0.307, inside the Discord folder. Sort the content of the folder according to the Date Modified option.
- Next, locate the executable file of the Discord app and right-click on it. Choose Properties from the menu.
- Go to the Compatibility tab. Check the box next to the ‘Run this program as an administrator’ option. Proceed with a click on the OK button.
Now, you can double-click on the Discord.exe option. You have to pass the User Access Control prompt with a Yes when it opens. If there has been any difficulty due to another service using the Discord desktop app, then adding the admin privileges would solve the issue.
Let Your Antivirus Software Allow Discord
Another reason behind the ‘Discord error EPERM operation not permitted’ problem is the interference with the antivirus program. Discord operates within the AppData folder and works with an update file every time you open it.
It makes sure that you can get the scope to work with the latest Discord version. However, the installed antivirus application on your computer might have restrictions against this mechanism. As a result, it can block the Discord desktop app and prevent it from running properly.
Therefore, you should allow the Discord desktop app through your antivirus software. Head towards the security settings of the antivirus software and enable permissions for the Discord app. The steps might vary from one antivirus to another. So, check the instructions online for your system’s antivirus.
Reinstall the Discord Application
Use the following guidelines to uninstall and reinstall the desktop app of Discord:
- Press the Windows button and click on Settings from the Start menu.
- Select Apps, and then click on Apps & Features. Scroll down to locate the Discord application.
- Click the Discord entity on the menu and click on Uninstall.
- Confirm the process by hitting the Uninstall button again.
- After you have successfully removed the Discord desktop application, go to the official website of Discord.
- Download the latest version of Discord that is compatible with your PC.
Make sure that you follow the on-screen instructions to make a successful installation of the Discord application. Now, launch the application and check if the error still persists.
Finally, Make Changes in System File through Command Prompt
Corrupted system files can lead to the ‘Discord error EPERM operation not permitted’ issue. To resolve this, you can open a Command Prompt window and do as mentioned below:
- Use the Search icon to open a Command Prompt window. Type in ‘cmd’ and right-click the Command Prompt option. Make sure that you hit the option ‘Run as administrator’.
- When the Command Prompt window appears, type the following command: gpupdate /force. Press the Enter key to execute the command.