Windows Defender real time scanning problem with USB flash drives?


  1. Posts : 985
    Windows 10 Home 21H1
       #1

    Windows Defender real time scanning problem with USB flash drives?


    Has anybody else had any issues when using USB flash drives with antivirus real time scanning?
    Today I was putting my flash drive back to factory settings using Diskpart. Everything went as expected until after I completed the full format to FAT32. The last line in Diskpart I typed was "Active" and the command failed saying something like unable to access file. The "what would you like to do with removable drives" popup appeared as it does when you first insert the flash drive. I'm guessing that Windows Defender may have interrupted Diskpart and be causing the issue as something similar once happened a while ago using the Media Creation Tool with McAfee to create a bootable Windows 10 installation USB . As soon as I stopped Real time scanning it was fine.
    Does anybody ever disable Antivirus Real Time scanning..is it safe to do so?
    Obviously it would have to be immediately re-enabled afterwards
      My Computer


  2. Posts : 1,079
    10 + Linux
       #2

    Right Click Format


    There is an easier method to format a flash drive (unless infected) that doesn't affect Real Time Protection. Always On here and there's an internal mechanism that will re-enable it.
    Attached Thumbnails Attached Thumbnails Windows Defender real time scanning problem with USB flash drives?-formatflashdrive.png  
      My Computer


  3. Posts : 985
    Windows 10 Home 21H1
    Thread Starter
       #3

    MikeMecanic said:
    There is an easier method to format a flash drive (unless infected) that doesn't affect Real Time Protection. Always On here and there's an internal mechanism that will re-enable it.
    Hi Mike. Yeah ive used that method before but I want to put this USB flash drive back to its factory settings. Because of Rufus it has a GPT partition so I'm wiping it clean and starting over and converting it back to MBR using Diskpart.
    Is it OK do you think to turn off Windows Defender Real time scanning temporarily for such situations.
    I also wondered if it would be acceptable to turn Windows Defender real time scanning off when using the Media Creation Tool to creating Windows 10 bootable flash drive as well in the future?
      My Computer


  4. Posts : 1,079
    10 + Linux
       #4

    If you work off-line, yes.
      My Computer


  5. Posts : 985
    Windows 10 Home 21H1
    Thread Starter
       #5

    MikeMecanic said:
    There is an easier method to format a flash drive (unless infected) that doesn't affect Real Time Protection. Always On here and there's an internal mechanism that will re-enable it.
    Hi Mike, It turns out that it isn't a Windows Defender real time scanning issue after all.
    I used the following method to create a bootable USB flash drive and got the following error straight after the "Active" command was typed. "Diskpart has encountered an error. The system cannot find the file specified. See the system event log for more information". At the time of the error there are no errors shown in the system event log. All the other commands were successful.
    diskpart
    select disk <X>, where X is the drive number or drive letter of the USB flash drive
    clean
    create partition primary
    select partition 1
    format fs=fat32 quick
    active

    I did a couple of things slightly differently.
    1. I added Convert MBR after the Clean command to ensure that the flash drive was converted back to MBR partitioning from GPT partitioning.
    2. I removed "quick" and did a full format instead so that the flash drive would be checked for errors as well.

    I have tried this method on two different flash drives and get the same error each time.
    I ran an SFC scan on my laptop to see if anything was wrong and checked for malware. Everything is fine. Can anybody tell me what Im doing wrong?
    As regards the Active command..what should I do? I'm concerned now that because of this error my flash drive might be corrupted so I'm going to have to do all the commands again to be sure that everything has been done correctly
      My Computer


  6. Posts : 1,079
    10 + Linux
       #6

    Maybe I misread, but Rufus offers the MBR option.
    Attached Thumbnails Attached Thumbnails Windows Defender real time scanning problem with USB flash drives?-rufus.png  
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:36.
Find Us




Windows 10 Forums