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

Updated May 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

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

May 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • 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!

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Related Video