Home Networking

Antivirus Disconnecting Network Drives? How to Check & Fix

Yes — antivirus can interrupt mapped drives by blocking SMB traffic or disrupting authentication. Start by checking timing and AV logs, then run small, reversible tests that disable only the suspect module or add a narrow exclusion.

8 min read

Yes — antivirus software can disconnect a mapped network drive by blocking or delaying SMB/file traffic or by interrupting authentication, and you can confirm and fix this with small, reversible tests. Start by checking timing and logs, then run targeted tests that disable only the suspect AV module or create a narrow exclusion. If tests don’t reproduce the issue, focus on server and network troubleshooting or escalate to IT or the AV vendor with collected logs.

How do I know the disconnections are caused by antivirus?

Look for repeatable timing and matching log entries; those are the strongest indicators that the AV is the cause.

  • Typical observable symptoms that point to an AV cause:
  • The mapped drive drops immediately when a scheduled AV scan runs, right after an AV update, or while the machine is idle and the AV runs background tasks.
  • Only the machine running the suspect AV loses the mapping while other clients keep access.
  • The disconnects line up with AV timestamps (scan, quarantine, network-protection) within a minute or two.
  • What to check now (safe, non-invasive):
  • Record the exact clock time of the next disconnect.
  • Open the AV product’s Activity/History/Threat log and note any entries at that time.
  • On Windows, open Event Viewer and inspect System and Application logs for entries around that time.

Simple controlled test you can run without changing settings:

  1. Manually start an on-demand scan (or a targeted scan of the mapped share) from the AV UI.
  2. Watch the mapped drive for a disconnect while the scan runs.

If the drive drops consistently when the scan runs, the AV is a strong suspect.

When antivirus can (and can't) interfere with network drives

How AV features commonly interrupt network shares:

  • On-access (real-time) scanning hooks into file operations and inspects SMB/network file traffic. If the AV blocks or stalls SMB requests, open files can fail and the OS may unmap the drive.
  • Network protection modules (labels like "Network Shield", "Network Protection", "Web Shield") can block or reclassify SMB traffic and interrupt sessions.
  • The AV’s built-in firewall can block SMB ports (TCP 445 and older NetBIOS ports 137–139) or block the server’s IP after a perceived threat.
  • AV components that inspect or intercept authentication (NTLM, Kerberos) can disrupt session establishment or re-authentication.

When AV is unlikely to be the cause:

  • Physical network issues (bad cables, weak Wi‑Fi) or server-side reboots/overload cause disconnects without AV correlation.
  • Server-side policies: expired credentials, Active Directory policies that drop idle sessions, or server SMB timeouts will disconnect clients independently.
  • Network equipment, VPNs or routing problems that affect multiple clients at once point to infrastructure, not a single client AV.

If multiple clients lose access at once, investigate server and network infrastructure before changing AV settings on any single workstation.

Before you start

This section explains scope, permissions and safe stopping conditions.

  • Applicability: these steps target a user with local administrative rights on the workstation who suspects the workstation’s antivirus is causing disconnects. If you don’t have admin rights, stop and contact IT.
  • Preconditions:
  • You can view AV logs and Event Viewer (or the OS equivalent).
  • You can temporarily toggle AV modules or add exclusions, or you can get IT to do that for you.
  • Safe checks before changing anything:
  • Save work and note when disconnects typically happen.
  • Collect AV activity entries and Event Viewer entries covering a disconnect.
  • Stopping conditions: if you cannot reproduce the issue with minimal tests, or if this is a managed device that forbids changes, restore all settings and escalate to IT. Do not continue if you’re unsure what a setting will do.

Safe checklist: test and adjust antivirus settings without exposing yourself

  1. Prepare: record the disconnect time, capture AV and Event Viewer logs, and save any unsaved work.
  1. Identify suspect AV modules in the product UI. Common names include "On-Access Scan", "Real-Time Protection", "Network Protection", "Web Shield", and "Firewall".
  1. Do a minimal reversible test by disabling only the suspect module and immediately reproducing the action that usually triggers the disconnect.
  1. If the AV offers only coarse toggles, create a narrow exclusion instead of disabling modules. Typical exclusion targets are the server IP, the specific network share path, or the process that accesses the share.
Settings path
Server IP: 10.0.0.42
Network share: \\10.0.0.42\SharedFolder
Process exclusion: explorer.exe
Port exclusion: TCP 445
  1. Test: reconnect the mapped drive or wait for the usual interval and observe whether it stays connected. Record the outcome and re-enable the module if the issue did not reproduce.
  1. Cross-check from another machine: if possible, access the same mapped share from a second PC with a different AV configuration. If that PC stays stable while the first does not, the AV on the first machine is more likely the cause.
  1. If disabling the module or adding the exclusion fixes the problem, keep the exclusion as narrow as possible (server IP + share path or a single process). Note the exact UI path where you made the change so you can undo it later.

If the test did not reproduce the issue, restore original settings and move to non-AV troubleshooting (network, server, credentials). Before making exclusions or firewall changes, check your AV vendor’s product documentation for recommended exclusion formats or special SMB handling; if unsure, contact the vendor or IT admin.

How to verify the fix and prevent recurrence

Verify the fix by reproducing the original failure pattern under controlled conditions.

  1. Re-enable default protections, then reapply the minimal change (the exclusion or module toggle) that fixed the issue.
  1. Monitor during the time window when disconnects used to occur.
  1. Check these places for confirmation:
  • AV activity/logs for entries showing the excluded path or IP was skipped or allowed.
  • Event Viewer (System) for SMB or network session events that used to coincide with the disconnect.
  1. Expected verification outcomes:
  • The mapped drive stays connected through the timeframe that previously produced disconnects.
  • AV logs show the excluded path/IP was not scanned or the firewall allowed SMB traffic.
  1. Durable prevention steps:
  • Move AV scan schedules away from the times you use the share heavily.
  • Keep the AV and OS patched; vendor fixes can address SMB handling bugs. Check the vendor’s support site for current guidance before assuming a specific update will help.
  • Adjust VPN and power-save network settings if they drop idle sessions.
  1. If the problem returns:
  • Collect AV logs, Event Viewer entries and, if IT can, a packet capture around the failure time.
  • Provide these logs to the AV vendor or your sysadmin with a clear reproduction case. Confirm with the vendor or IT exactly which diagnostic files they need before sending sensitive data.

What to check if the antivirus is NOT the cause

If your tests don’t show the AV as the cause, move to server and network troubleshooting.

  • Quick checks:
  • Try the mapped share from another client. If multiple clients lose access, the server or network is likely at fault.
  • Check server health and recent reboots.
  • Confirm the account credentials and check for expired passwords or AD policies that close idle sessions.
  • Inspect switches, routers, VPN logs and Wi‑Fi stability for outages or flapping.
  • When to escalate: if multiple clients are affected, if packet captures show reset/timeout behavior you can’t interpret, or if server-side logs show SMB session resets, hand the data to your network or server admin.

Conclusion

If your mapped drive drops in sync with AV scans, updates or firewall events, test by disabling only the suspect AV module or adding a tight exclusion and check logs to confirm. If tests don’t reproduce the problem, collect logs and escalate to IT or the AV vendor rather than leaving protections disabled.

Frequently Asked Questions

Is it safe to add a network share to my antivirus exclusions?

A narrow exclusion for a single, trusted server or share is usually safer than disabling protection entirely, but it reduces inspection on that path. If the server is managed, patched and behind a firewall, a targeted exclusion is reasonable. Check vendor documentation and your organization’s policy before adding exclusions.

What if I’m on a company-managed PC that won’t let me change AV settings?

Stop and contact your IT team. They have administrative control and should perform diagnostics or apply a support-approved exclusion. Trying to bypass corporate controls can violate policy and reduce your ability to get help.