Today I will discuss a small tip used when you migrate a file server to another domain.
The goal is to prevent all user to see the warning that file can be dangerous, as the client OS detect and treat that old domain as a internet domain, not an internal’s domain when the migration is finished.
An easy way is with Unblock-File commandlet from powershell.
Naviguate into your server, and issue that powershell command:
Get-ChildItem c:\path -recurse | Unblock-File
That will prevent that dialog from all the files:
Enjoy the small tip