Harmful warning when copying/moving between webdav sites and libraries

Problem
Sometimes, when copying or moving documents between mapped libraries in SharePoint (whether they are network drives or just opened temporarily) we get the Windows Security warning:
"These files might be harmful to your computer".

This message is specially strange since the site already belongs to the Local Intranet Zone.


Solution
What we need to do is add the path "\\your-sharepoint-site" to the local intranet zone, save and log off and re-sign in.

Internally, this change will add a file entry to the zones in the registry.

Therefore, a way to perform this trough a .reg file, is:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\domain.com\*.subdomain]
"http"=dword:00000001
"https"=dword:00000001
"file"=dword:00000001

After adding this key and signing off or restarting, the warning no longer appears.



Comments

Popular posts from this blog

Mobile development opportunities

Breaking down document locking in SharePoint

Working around X-Frame-Options for iframes