I am finding, when I try to rename a file on Windows 7, I typically select the file I want to rename, hit F2 (rename) and type the new name.

I've been getting this weird bug that the file name gets selected again, sometimes right in the middle of me typing. I can sit there and watch it reselect the entire filename every second or so as if someone is invisibly hitting Ctrl + A while typing. I have tried making sure that my keys aren't being pressed and also have even gotten a new keyboard, and this problem still consists.

This is on a desktop machine, not a laptop, so there's no issue with a trackpad.

  • 1
    Try booting into safe mode and see if the problem still exists. That would help narrow it down to hardware/drivers or software. – Stephen Jennings Jan 25 '11 at 2:18
  • I just found this post from googling the exact same problem. It's driving us insane. It's like there's a periodic reselection of the entire text. You'll click in the middle of it to change something, start typing, and it will reselect the whole thing. Of course, this then overwrites the file name with the last character you typed. As far as I can tell it's nothing to do with keyboard input, because I can give focus to any other text box and the problem does not exist. Arrrrrrrrrgggggg. – antsyawn Apr 28 '11 at 6:53
  • I haven't found a solution to this, but I have narrowed the problem down a little, in our case at least. It seems to only happen when renaming a JPG file on a network drive. If I copy the JPG file locally, the problem does not occur. If I rename some other kind of file on the network drive, the problem does not occur. The network drive is a QNAP NAS. It's as if the code that automatically selects the "everything-but-extension" part of the file name is constantly being triggered. – antsyawn May 2 '11 at 6:49
  • 1
    I have the same problem when renaming folders on a PC. It's really annoying! Have you found a fix? – axon Sep 12 '13 at 1:16
  • 1
    Have same problem. Not on network drive. Not on laptop. :( – Mr. Flibble Oct 1 '13 at 11:52

It sounds like you're using a laptop and accidentally touching the touchpad. Try disabling it. Or if you have the feature, set it to ignore spurious activity.

  • +1 for suggesting the touchpad. I didn't even think of that. – user3463 Jan 25 '11 at 1:51
  • 1
    Yea, I would've thought of this myself, but i'm a desktop machine. No trackpad at all :( – Roy Rico Feb 13 '11 at 23:17

I found that stopping Carbonite solved the problem, for me. It seems that however they hook into Windows Explorer was causing the whole filename to be re-selected shortly after starting to rename a file.

  • What is Carbonite? – Peter Mortensen Apr 26 '17 at 8:02
  • A backup program that caused the exact same symptoms to happen. I ran across this question when I was trying to find a solution to my own experiences, and figured out that Carbonite was causing the issue. – wersimmon Apr 26 '17 at 16:08
  • Had the same problem on a desktop machine (so no touchpad) and the culprit was SpiderOakONE (similar backup software to Carbonite). They're clearly using a similar hooking process. Pausing backups prevented it happening. – BinarySolo Oct 4 '17 at 10:59

I often resorted to copying to desktop, renaming and then copying back to network. If I access files through Windows 7 'Library' before accessing the server directly (through 'network' in explorer), the problem occurs.

Access the share on the server first and then it doesn't matter how you access the file – rename works fine.

I also discovered if I didn't access the server first, I got "RPC failed" when trying to access the server after using Library (which continued to let me access the server – perverse!).

protected by Community Jul 15 '12 at 20:30

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.