To unlock a file in Windows 10 with the right mouse button Context menu

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

April 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


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

Have fun!

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance

Related Video