Security: This file came from another computer and might be blocked to help protect this computer.

Veera 260 Reputation points
2024-06-24T03:39:45.07+00:00

HI All,

We are copying filed from onprem VM to azure VM via express route connectivity using the windows share.

Azure VM -> run -> \opremvm\e and copy files from onprem share to azure VM and if we checked the copied files in azure VM, we see error "Security: This file came from another computer and might be blocked to help protect this computer."

we have already implemented the rebooted the server.

  1. gpolicy ""User Configuration > Administrative Templates > Windows Components > Attachment Manager" "Do not preserve zone information in file attachments" - "Enabled".
  2. Regedit -> Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies"SaveZoneInformation" to 1.

still we are facing the issue the same issue, any azure policy we have to check?

Thanks & Regrads,

Veera.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,562 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,606 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 25,941 Reputation points
    2024-06-24T03:59:56.6666667+00:00

    Hello Veera

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Looks like the issue is related to the security settings on the files that you are copying from the on-premises VM to the Azure VM.

    One possible solution is to unblock the files on the on-premises VM before copying them to the Azure VM.

    Another solution is to use PowerShell to unblock the files on the Azure VM after they have been copied. You can use the following command to unblock all files in a directory:

    Get
    

    You can replace "C:\Path\To\Directory" with the path to the directory where the files are located on the Azure VM.

    If these solutions do not work, it is possible that there is a policy in place that is blocking the files. You can check the Azure Security Center to see if there are any security policies that are affecting the files. You can also check the Azure Network Security Group to ensure that the necessary ports are open for file sharing.

    Hope this helps.

    0 comments No comments