Migrating files from an Active Directory Domain to another, unblocking the files ?

Hi everyone

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

unlockfiles

That will prevent that dialog from all the files:

1425.FilePropertiesUnblock

 

Enjoy the small tip

 

 

Advertisement