Beta preview — heading toward 1.0. Issues?
Game Hosting

Add a Windows Defender exclusion for the FiveM folder

Exclude your FiveM server folder from Windows Defender scans — via the UI or one PowerShell command — so the antivirus doesn't delete server files.

Jun 23, 20263 min di letturafivemwindows-defenderantivirusexclusionwindowstroubleshooting

Windows Defender sometimes flags FiveM server files (FXServer, resource files) as false positives and quarantines or blocks them. Adding the folder to exclusions prevents this.

Option 1 — From Windows Security (UI)

  1. Open Windows Security (Start → type "Windows Security").
  2. Go to Virus & threat protection.
  3. Under Virus & threat protection settings click Manage settings.
  4. Scroll down to Exclusions and click Add or remove exclusions.
  5. Click Add an exclusion → Folder and select your FiveM server folder (e.g. C:\FXServer).

Option 2 — With a single command (PowerShell)

Open PowerShell as administrator and run (replace the path with your folder):

Add-MpPreference -ExclusionPath "C:\FXServer"

To confirm the exclusion was added:

Get-MpPreference | Select-Object -ExpandProperty ExclusionPath

Remove the exclusion (optional)

Remove-MpPreference -ExclusionPath "C:\FXServer"
Only exclude folders you trust. An excluded folder is no longer scanned, so install only verified FiveM resources and builds into it.

Questo articolo ti è stato utile?

Sii il primo a valutarlo

Utilizziamo i cookie

Utilizziamo i cookie per migliorare la tua esperienza, analizzare il traffico del sito e personalizzare i contenuti. Puoi scegliere quali cookie accettare.