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

veerabose chandran 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.
9,015 questions
Windows for business Windows Server User experience Other
{count} votes

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 26,487 Reputation points Moderator
    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

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.