I keep getting this irritating warning when copying files over the network:
These files might be harmful to your computer
Your internet security settings suggest that one or more files may be harmful. Do you want to use it anyway?
I am copying a file from \\192.168.0.197\c$ (home server) to my local machine which is at \\192.168.0.4.
How do I turn off this meaningless "warning"?
212 Answers
I found a fix by changing "internet options" -- so I guess Windows is detecting the "internet" as my own network.. sigh.
- Click Start / Control Panel / Internet Options
- Click Security tab.
- Click Local Intranet
- Click Sites button.
- Click Advanced button.
- Enter the IP Address of the other machine or server (wildcards are allowed) and click Add
- Click Close, then OK, then OK again.
- Disconnect, and reconnect the network drive
This worked for me, but it's a bummer I have to manually enter IPs here.. it would be nice if Windows could detect this is a local network file copy and skip the irritating (and pointless) warning about "dangerous" files.
Sidenotes:
- If you are using a DNS name to map the network drive, adding the IP address of the server to the zone will not work. You will need to add the DNS name, and vica-versa.
- When adding an IP address, you can use wildcards like so: 192.168.1.*
- Whan adding a DNS name, you can use wildcards like so: *.example.com
Using Windows 7, I added my IP address with a wildcard:
10.55.25.*Now all the ip's in this range are part of the "Local Intranet".
4If you want to do this in Group Policy, this quote may be helpful to you.
You can control this with Group Policy, as well. Use
gpedit.mscand drill down toUser Configuration → Policies → Administrative Templates → Windows Components → Internet Explorer → Internet Control Panel → Security Page
Enable "Intranet Zone Template" with the Low option.
Then enable "Site to Zone Assignment List" and use the Show button to add your "sites" (servername, servername.domain, ipaddress - the values you enter depend on what name or IP you use to access the share) with a value of 1.
Lastly - and this is the most important step - drill down one folder in gpedit to "Intranet Zone" and enable for "Show security warning for potentially unsafe files", choosing Enable from the drop-down.
Close gpedit, reboot or run
gpupdate /forceand enjoy no more annoying Windows Security dialogues!
From the bottom of
2I have been getting the same error recently, and found a way to disable this warning forever (I know what files I want to open, so yes, I am sure I want to disable this warning...):
- go to Internet Settings (in Internet Explorer)
- go to the "Security" tab
- click on "Custom level" (with "Internet" selected = first icon)
- in the "Miscellaneous" part, select "Enable (not secure)" for the option "Launching applications and unsafe files (not secure)"
- click "OK" and then apply the changes; you'll have a warning asking if you're sure you want to do this (you'll have to say yes)
And that's it. :) Have fun.
2I believe you wouldn't get the warning if you used the netbios name of your home server instead of the ip address. If you use the ip address or say the fully qualified dns name of the remote computer it doesn't recognize it as being in the intranet zone. the other option as mentioned earlier is to manually add it to the intranet zone list.
1We recently put in a new server using DFS and I was having this same error. I ended up putting in:
" \\\servername.local.?"After clicking add, it then showed:
file://*.servername.local.I tried the * verses the ?, but that was not allowed.
I did a procmon and found where the settings are stored in the registry - this is for my 192.168.1.* network:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range1]
"*"=dword:00000001
":Range"="192.168.1.*"This is for my \\NAS server:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\nas]
"file"=dword:00000001This is how it looks in the internet settings control panel:
Adding these two lines (without changing the default Local Intranet settings) is a quick fix:
file://10.*.*.*
10.*.*.*You need to disconnect and reconnect shares for this to work.
The other solutions here didn't work for me on Windows 7, but I found one that worked: remove Internet Explorer through Add/Remove Programs and then Adjust Windows Features. Unclick Internet Explorer 8. No more nag dialog!
This is what worked for me;
Click Start / Control Panel / Internet Options
Click Security tab.
Click Local Intranet
Click Sites button.
Click Advanced button.
Where it says "Add this website to the Zone:" you want to switch to Explorer and copy the URL in the address bar; Eg if your network drive is mapped to your N: drive the address you copy would be "N:\" or if it's a network share it would be "\\Sharename", and click Add.
These will show as something like; "file://192.168.100.123" and "file://Sharename"
Click Close, then OK, then OK again.
If "Require server verification..." is ticked, untick it.
Faster Way:
Open the Internet Properties dialog box, go to the Security tab, and click on "Trusted sites":
- Select the "Sites" button
- Enter your private domain (i.e. "192.168..")
- uncheck "Require server verification (https:) for all sites in this zone"
- click Add to close the dialog box
- then Apply the changes
I tried Everything Above Said but Using the Reg Code Mentioned below Did it for me.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\ProtocolDefaults]
@=""
"http"=dword:00000000
"ftp"=dword:00000000
"file"=dword:00000000And Restart after that!