Forum Discussion
AsherBowie
Aug 27, 2026Iron Contributor
Win11 Delete key stops working for file deletion after renaming a file
After renaming a file and pressing Enter to confirm the new name, you may sometimes find that the Delete key does not work to delete the selected file in File Explorer. The Delete key still works no...
Emily2002
Aug 28, 2026Tin Contributor
Since Delete still works in other applications, the keyboard is probably fine. This sounds like File Explorer sometimes keeps the keyboard focus in the rename field even after you press Enter.
When it happens, try this first:
- Press Esc once after confirming the new name.
- Click the file once or move the selection with an arrow key.
- Press Delete again.
You can also right-click the file and select Delete, or use the trash icon on the File Explorer toolbar. If those methods work, it confirms that the problem is with keyboard focus rather than file permissions.
To restart File Explorer without restarting the computer:
- Press Ctrl + Shift + Esc.
- Find Windows Explorer in Task Manager.
- Right-click it and select Restart.
Also test the same steps with a file in a normal local folder such as Documents. If it happens only inside OneDrive, a network folder or another synchronized location, wait for the rename to finish syncing before deleting the file.