Fixing Invalid file handle Error during delete, rename, copy operations in Windows 10

Fixing Invalid file handle Error during delete, rename, copy operations in Windows 10

ATTENTION, PLEASE!

Malware may install itself multiple times if you don't delete its core files. This may require tracking down dozend of files in different locations.

We recommend downloading Restoro to eradicate Malware for you (The entire process takes about 15 minutes)

Fixing Invalid file handle Error during delete, rename, copy operations in Windows 10

If you encounter an error saying, “Invalid file handle” when you try to rename, copy, delete a file or other operations in your Windows 10 computer, then read on as this post will guide you in what you can do to fix it. This kind of error pops up when the operating system tries to carry out an operation on a folder or file using the following words:

CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9

When you rename or create a folder or file using the reserved words given above, you could encounter an error that says, “The specified device name is invalid”. This occurs since these words are Windows system reserved words that you can’t use unlike any other words. Thus, if you have a folder or file which contains any of the reserved words on another computer that runs a non-Windows operating system and you try to copy or rename it Windows, then it’s no wonder why you’re getting this error message. In such cases, you can always click on the Skip button to stop the operation. However, if there are various folders or files, you can just use the Command Prompt to carry out the task. All it takes is a simple command that will get rid of the folder as well as the files in it. How? Refer to the instructions given below.

Step 1: Tap the Win + R keys to open the Run utility.

Step 2: Next, type “cmd” in the field and then tap Enter to open Command Prompt.

Step 2: After opening Command Prompt, execute the following command:

rd \.file-folder-path /S /Q

Note: The “rd” command will remove the directory or the folder while the “\.” command will select the current computer. The “/S” command, on the other hand, helps you in removing all the sub-directories and the files that are in the CON folder. The “/Q” command is not really mandatory since it helps you remove everything silently without any confirmation message. For example, if you have a folder named “CON” located on your Desktop, the path will be like this “C:Users<username>DesktopCON”. In this case, the command should be like this:

rd \.C:Users<username>DesktopCON /S /Q

However, if the error pops up for a whole different reason, you could use the following command instead to remove the reparse point extended functionality. Once you’ve entered the given command below, you should now be able to delete the file.

FSUTIL reparsepoint delete C:Users<username>DesktopFileName

DEL C:Users<username>DesktopFileName

If your Windows 10 computer is experiencing other system issues aside from the “Invalid file handle” error, there is a one-click solution known as Restoro you could check out to resolve them. This program is a useful tool that could repair corrupted registries and optimize your PC’s overall performance. Aside from that, it also cleans out your computer for any junk or corrupted files that help you eliminate any unwanted files from your system. This is basically a solution that’s within your grasp with just a click. It’s easy to use as it is user-friendly. For complete set of instructions in downloading and using it, refer to the steps below.

  1. Turn on your computer. If it’s already on, you have to reboot

  1. After that, the BIOS screen will be displayed, but if Windows pops up instead, reboot your computer and try again. Once you’re on the BIOS screen, repeat pressing F8, by doing so the Advanced Option shows up.
  1. To navigate the Advanced Option use the arrow keys and select Safe Mode with Networking then hit
  1. Windows will now load the Safe Mode with Networking.
  1. Press and hold both R key and Windows key.

  1. If done correctly, the Windows Run Box will show up.
  1. Type in the URL address in the Run dialog box and then tap Enter or click OK.
  1. After that, it will download the program. Wait for the download to finish and then open the launcher to install the program.
  1. Once the installation process is completed, run Restoro to perform a full system scan.

  1. After the scan is completed click the “Fix, Clean & Optimize Now” button.