Windows Security Error - Network Scanning


mccnavy

Well-known member
Member
VIP
Local time
1:55 PM
Posts
369
OS
Windows 11
Same settings on both my desktop and laptop, to include disabling network scanning. However, my laptop just started giving me the "The Windows Defender Antivirus can skipped an item due to exclusion or network scanning settings" error...after finding no threats. I know this issue came up years ago and Microsoft actually provided a fix. Desktop is not giving the error. If I enable network scanning on the laptop the error goes away...but I don't want that for resource reasons. I'm on 24H2 build 2454 but don't think that is the issue. I've tried repair and reset of Windows Security but that didn't work. Is there another setting, in Windows Security, or registry that will restore my ability to have network scan off and not get the error...just live with the error?
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel i7-7700K
    Motherboard
    Asus Prime Z-270A
    Memory
    32GB 2666Mhz (Kingston Hyper X Fury)
    Graphics Card(s)
    Asus Nvidia 1050Ti
    Sound Card
    N/A
    Monitor(s) Displays
    Samsung C27F390
    Screen Resolution
    1920 x 1080
    Hard Drives
    1TB Western Digital SN770 (System) and 2TB Western Digital SN770 (Storage)
    Antivirus
    Windows Security
  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell/XPS 15 9510
    CPU
    i9-11900H
    Motherboard
    Unknown
    Memory
    32GB
    Graphics card(s)
    Integrated Intel and Nvidia 3050Ti
    Sound Card
    Integrated (Realtek)
    Monitor(s) Displays
    None
    Screen Resolution
    1920 x 1200 (non-Touch)
    Hard Drives
    2TB SK Hynix P41 Platinum
    Antivirus
    Windows Security
Actually...it now looks like my desktop is the anomaly. My wife's laptop had the message too. I'll leave network scanning on.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel i7-7700K
    Motherboard
    Asus Prime Z-270A
    Memory
    32GB 2666Mhz (Kingston Hyper X Fury)
    Graphics Card(s)
    Asus Nvidia 1050Ti
    Sound Card
    N/A
    Monitor(s) Displays
    Samsung C27F390
    Screen Resolution
    1920 x 1080
    Hard Drives
    1TB Western Digital SN770 (System) and 2TB Western Digital SN770 (Storage)
    Antivirus
    Windows Security
  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Dell/XPS 15 9510
    CPU
    i9-11900H
    Motherboard
    Unknown
    Memory
    32GB
    Graphics card(s)
    Integrated Intel and Nvidia 3050Ti
    Sound Card
    Integrated (Realtek)
    Monitor(s) Displays
    None
    Screen Resolution
    1920 x 1200 (non-Touch)
    Hard Drives
    2TB SK Hynix P41 Platinum
    Antivirus
    Windows Security
Try the batch script i have posted, it works for Windows 10 should also work with Windows 11.

Code:
:: Enable or Disable Scan Mapped Network Drives with Windows Defender in Windows 10


@Echo Off

Cls & Color 0E



(Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)



:_CHOICE

Cls & Mode CON  LINES=11 COLS=70 & Color 0E & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo        1 - Enable Scan Mapped Network Drives during Full Scan   
Echo.       
Echo        2 - Disable Scan Mapped Network Drives during Full Scan
Echo.


Set /p input=:^>

If Not %input%==1 (Goto :_Ex) Else (Goto :_Enable)

:_Ex
If Not %input%==2  (Goto :_CHOICE) Else (Goto :_Disable)



:_Enable

Powershell Set-MpPreference -DisableScanningMappedNetworkDrivesForFullScan 0

Cls & Mode CON  LINES=11 COLS=70 & Color 0E & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo.
Echo          Scanning Mapped Network Drives during Full Scan Enabled   
Echo.
Echo.
Echo.
Ping -n 5 localhost >Nul
Goto Reboot



:_Disable


Powershell Set-MpPreference -DisableScanningMappedNetworkDrivesForFullScan 1

Cls & Mode CON  LINES=11 COLS=70 & Color 0E & Title Created By FreeBooter
Echo.
Echo.
Echo.
Echo.
Echo          Scanning Mapped Network Drives during Full Scan Disabled
Echo.
Echo.
Echo.
Ping -n 5 localhost >Nul


:Reboot

Cls
Echo.
Echo.
Echo.

CHOICE /C YN /M "Press Y to Reboot, N for exiting script."


If %errorlevel% == 1 ( Shutdown /r /t 0) Else (Exit)
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Latest Support Threads

Back
Top Bottom