Down below you’ll find two methods that other users in a similar situation have used to get the issue resolved.
If you’re struggling to resolve the ‘ action cannot be completed because the file is open in windows explorer‘ error, this article will provide you with a couple of verified troubleshooting steps. In this case, the issue can be resolved by closing the process responsible for the conflict. Most likely, the process behind Windows Explorer (explorer.exe) or a different process is using the file you’re trying to handle. The file is being actively used by another process – This is one of the most common reasons why this error occurs.In this case, you can resolve the issue by disabling file previews in Windows Explorer.
As it turns out, the previewing feature of Windows Explorer can glitch out in certain situations and prevent the user from handling the file.