How to Validate Discord Files: Fix Corrupt Data
In this article
Yes, you can validate Discord files to fix corruption issues. This process forces the application to check its local data against official sources and replace any missing or damaged components, resolving launch failures, black screens, or persistent glitches without deleting your chat history or server settings.
What You'll Need
- A Windows PC running Discord (desktop version)
- Administrator privileges on your computer
- The Discord application installed
Note: This guide focuses on the desktop application for Windows and macOS, as these are the primary platforms where file validation is a standard troubleshooting step. Mobile versions do not offer this specific manual validation tool.
Step-by-Step
- Close Discord Completely: Ensure Discord is not running in the background. On Windows, right-click the Discord icon in the system tray (bottom right corner) and select "Quit Discord." On macOS, click the Discord icon in the menu bar and choose "Quit," or use Command+Q.
- Locate the Installation Folder: Open your file explorer. For Windows, navigate to
C:\Users\[YourUsername]\AppData\Local\Discord. For macOS, open Finder, press Command+Shift+G, and paste~/Applications/Discord.app. - Create a Backup (Optional but Recommended): Copy the entire Discord folder to a safe location like your Desktop. This ensures that if anything goes wrong during the repair, you have a restore point.
- Delete Specific Folders: Inside the Discord directory, delete the following folders:
app-*(the folder starting with "app-" followed by numbers),modules, andCache. Do not delete the entire Discord folder; only these specific subdirectories. Theapp-*folder contains the core application binaries, whilemodulesholds extension files. - Restart Discord: Launch Discord normally from your Start Menu or Applications folder. The application will detect the missing files and automatically download fresh copies from Discord's servers.
- Wait for Reinstallation: Allow the update process to complete. You may see a progress bar or a "Updating Discord" message. Once it finishes, log back into your account.
Common Mistakes
- Deleting User Data: Avoid deleting the
UserDatafolder unless instructed by support. This folder contains your login tokens, settings, and cached images. Deleting it will sign you out and reset preferences. - Skipping the Quit Step: If Discord is running in the background, the operating system will lock the files, preventing deletion. Always ensure the app is fully closed before proceeding.
- Using Third-Party Cleaners: Do not use generic registry cleaners or app uninstallers to fix Discord. These tools often remove essential dependencies or leave broken shortcuts, causing more issues than they solve.
Tips
- Check Internet Connection: Since the app must re-download files, a stable internet connection is crucial. A slow or unstable connection may result in incomplete downloads.
- Run as Administrator: If you encounter permission errors when deleting folders, right-click the Discord shortcut and select "Run as administrator" to gain necessary access.
- Clear Browser Cache: If you are using Discord via a web browser, clear your browser cache instead. Go to your browser settings, find the privacy section, and clear cached images and files.
Troubleshooting
If the validation process does not resolve your issue, try these additional steps:
- Reinstall Completely: Uninstall Discord via your system's control panel or settings. Then, download the latest installer from the official Discord website (
discord.com) and install it fresh. This ensures no residual corrupted files remain. - Check Antivirus Interference: Sometimes, security software flags Discord's file updates as suspicious. Add Discord to your antivirus exclusion list or temporarily disable real-time protection during the update.
- Verify Server Status: Visit the Discord Status page to ensure there are no ongoing outages affecting their CDN (Content Delivery Network). If servers are down, wait until they are restored before attempting validation.
- Reset App Settings: If specific features fail, try resetting your in-app settings. Go to User Settings > Advanced > Reset Settings. Note that this will revert all custom settings to default.
Frequently Asked Questions
Does validating files delete my messages?
No. Validating files only replaces application binaries and modules. Your chat history, server memberships, and personal messages are stored on Discord's servers, not in the local app folders you delete.
Can I do this on Mac?
Yes. The process is similar to Windows. You need to manually delete the contents of the ~/Library/Application Support/Discord folder, specifically the Cache, Code Cache, and GPUCache folders, then restart the app.
Why does Discord keep crashing after validation?
This may indicate a deeper issue with your graphics drivers or Windows installation. Update your GPU drivers, run a system file check (sfc /scannow on Windows), or consider a clean reinstall of the app.
Is it safe to delete the 'modules' folder?
Yes. The modules folder contains dynamic libraries that Discord loads at runtime. Deleting it forces the app to download fresh, uncorrupted versions upon next launch.
Will this fix audio problems?
It might. Audio issues are sometimes caused by corrupted audio processing modules. However, if the problem persists, check your system sound settings and Discord's Voice & Video settings for correct input/output devices.
How long does the re-download take?
Typically 1-5 minutes depending on your internet speed. Large updates or slow connections may take longer. Do not interrupt the process once it starts.