If you cannot rename a file and get Can’t find the specified file error while renaming a file or folder, here is how you can fix the issue. It is pretty common when you move files from one folder to another and try to rename a folder at the same time. However, there could be other reasons too. That is why you need to follow this step-by-step guide to get rid of this issue.
Can’t find the specified file. Make sure you specify the correct path and file name.
It displays a Try Again button. However, it doesn’t do anything fruitful at all.
Can’t find the specified file when trying to rename a file or folder
To fix the Can’t find the specified file error on Windows 11/10, follow these steps:
- Make sure the file/folder exists
- Restart Windows Explorer process
- Sign out and sign in to try again
- Create RunOnce key
- Delete registry keys
To learn more about these steps, continue reading.
1] Make sure the file/folder exists
It is the first thing you need to check before heading to other solutions. As mentioned earlier, you might get this error when moving the file from one folder to another while renaming it. That is why you must check if the file or folder exists in the respective folder where it should be. If it doesn’t, you need to find the file or folder in the new location to rename it.
2] Restart Windows Explorer process
Restarting the Explorer process might be handy for you in this situation. If you get some issues with the File Explorer, you may fix it by restarting this process. To restart the Windows Explorer process, follow these steps;
- Press Win+X to open the WinX menu.
- Select the Task Manager from the menu.
- Find out the Windows Explorer process.
- Click the Restart button.
After that, check if you can rename the file and folder or not.
3] Sign out and sign in to try again
At times, some internal background processes might cause this issue. You might need to sign out of the account and re-sign into it in such situations. For that, click on the Start Menu, click the profile picture, and select the Sign out option. Then, select your account again and enter the password to log in.
4] Create RunOnce key
Your computer’s registry must have the RunOnce key in the predefined location. If it doesn’t have the key, you might get the issues we are discussing. To verify or create the RunOnce key, follow these steps:
Press Win+R to open the Run prompt.
Type regedit > press the Enter button > click the Yes option.
Navigate to this path:
Check if there is a key named RunOnce.
If not, right-click on CurrentVersion > New > Key.
Name it as RunOnce.
Restart your computer.
After that, try renaming the file or folder.
5] Delete registry keys
There are five registry keys that might cause this issue on your computer. They are as follows:
You need to delete them from the Registry Editor to get rid of the issue. For that, open the Registry Editor and navigate to the following path:
After that, right-click on each subkey > select the Delete option > click on the Yes button.
At last, you need to restart your computer.
How do I fix the system Cannot find the file specified?
If you get Can’t find the specified file error while renaming, make sure that the file or folder exists in the respective location. Apart from that, you can try some other solutions mentioned in this article. For example, you can restart the Windows Explorer process, sign out of your account, re-sign into it, create the RunOnce key, etc.
That’s all! Hope this guide helped you rename the desired file or folder.