RECOMMENDED: Click here to fix Windows errors and optimize system performance
In this article, we see how to unlock a file under Windows 10/8 via the context menu. If a file has been downloaded from another computer, network or the Internet, it may be blocked to protect your Windows PC. You can see that Windows has blocked access to this file. But if you are sure that the file is secure, you must unlock it before you can open it.
Unlock a file downloaded from the context menu
There is a TechNet message saying : To unlock a downloaded file, run the Unblock-File PowerShell 3.0 command as follows :
Unlock the.php_manual_en.chm file
Most Windows users may find themselves in unknown territory with this suggestion !
Add files to the context menu
If you wish, you can add the Unlock file entry to the context menu. This way, you can easily unlock the files.
To do this, copy the following into a notepad and save it in a.reg file.
Then double-click to add the content to your recording.
Windows Registry Editor version 5.00
[HKEY_CLASSES_ROOT*shellpowershell] @='Unlock Files'
[HKEY_CLASSES_ROOT*shellpowershellcommand] @='C:WindowsWindowsWindowsPowerShellv1. 0powershell.exe
Unlock file -LiteralPath'%L''
Now, if you right click on a foreign file, you see the Unlock file option.
To unlock a file, simply right-click the file and select Unlock Files! If you wish, you can download a finished registry file by clicking here. Extract the contents of this zip file and double-click the.reg file to add the entries to your registry.
This advice comes to you, thanks to MichaelCrump.net.