Fix for Windows Security Warning When Dragging Files on a Specific Drive Letter


thorazine

New member
Local time
12:15 PM
Posts
2
OS
Windows 11
Fix for Windows Security Warning When Dragging Files on a Specific Drive Letter

I was getting this warning constantly in Windows 11:

“Your internet security settings suggest that one or more files may be harmful. Do you want to use it anyway?”

The strange part was that it only happened when I used drag-and-drop in File Explorer. Ctrl+C / Ctrl+V worked without any warning.

My setup: Google Drive for desktop, with one account mounted as G:. I also had other Google Drive accounts mounted under other drive letters.

What I tested:

  1. Same Google Drive account mounted as G: produced the warning.
  2. Same Google Drive account mounted as J: did not produce the warning.
  3. A normal local test folder mounted as G: using subst also produced the same warning.
That proved the issue was not Google Drive, not the files, and not Mark-of-the-Web on individual files. The problem followed the drive letter G:.

The fix/workaround:

After the G: drive is mounted, restart Windows Explorer.

Open Command Prompt and run:

taskkill /F /IM explorer.exe
start explorer.exe

The desktop and taskbar disappear briefly, then come back. After that, drag-and-drop on G: worked normally with no Windows Security warning.

You can also make a small batch file:

@echo off
taskkill /F /IM explorer.exe
start explorer.exe
exit

Important: run it after the drive letter is already mounted. If you run it before the drive exists, the warning may come back when the drive mounts later.

Credit where credit is due: I use ChatGPT to problem-solve weird Windows issues, and it helped me isolate this by testing whether the warning followed the files, Google Drive, or the drive letter. The key diagnostic step was mounting a normal local folder as G: with subst. Since the warning still occurred, the drive letter itself was the culprit.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
PC/Desktop
did you try this:

1783119922032.webp
1783119946957.webp
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
Yes all three of those are already checked. But thank you for the idea. I also tried adjusting many, many other security settings.

As a follow up, my solution only temporarily fixes the problem. On reboot, the problem recurs. Ai's Explanation was that Explorer Is making a bad start up time security classification for G: Where we have the google drive mounted. We isolated it to G: If we mount the google drive on a different letter everything is fine. If we mount a system folder on G the problem manifests. It is clearly associated with whatever is mounted to G: And fixing it only lasts until the next reset.

As a semi permanent solution ChatGPT made me .bat file that I can double click To execute. This bat file kills explorer and then restarts it. Just takes a second. This consistently fixes the problem. Admittedly, I might not truly know its root cause, but this is the only solution I have found. I have attached the bat file as a text file here. For anyone who runs across this and wants to use it you have to change the extension from text to bat.

If the bright people on this forum come up with a more permanent solution, I certainly welcome it.
 

Attachments

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
PC/Desktop
did you try unchecking this

1783130579428.webp

and adding the drive's path/ip to the list?


and / or Enable this

1783130757315.webp
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
Just curious and maybe a dumb idea, but have you tried creating another user account (or enabling hidden administrator account) to see if the problem exists to make sure there is no corruption in the user account.
I know user mount points (removable drives and network paths) are mapped per user under
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.8655i9-10900 10 core 20 threads32 gbnone-Intel UHD Graphics 630
    OS
    Windows 11 Pro 25H2 26200.8655
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    2x1tb Solidigm m.2 nvme /External drives 512gb Samsung m.2 sata+2tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    #1 Edge #2 Firefox
    Antivirus
    Defender+MWB Premium
  • At a glance

    Windows 11 Pro 24H2 26200.8457AMD Ryzen 7 6800U32 gbintegrated
    Operating System
    Windows 11 Pro 24H2 26200.8457
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink Mini PC SER5
    CPU
    AMD Ryzen 7 6800U
    Memory
    32 gb
    Graphics card(s)
    integrated
    Sound Card
    integrated
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Crucial nvme
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    still too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender
    Other Info
    System 3 is non compliant Dell 9020 i7-4770/24gb ram Win11 PRO 26200.8457
Back
Top Bottom