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:
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.
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:
- Same Google Drive account mounted as G: produced the warning.
- Same Google Drive account mounted as J: did not produce the warning.
- A normal local test folder mounted as G: using subst also produced the same warning.
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
At a glance
Windows 11
- OS
- Windows 11
- Computer type
- PC/Desktop






