How to Remove Annoying Focus Rectangle Around Buttons and Other Items in Windows?

In Windows, whenever we select an item such as drop-down list, buttons, etc, an annoying focus rectangle is automatically shown around it as shown in following screenshot:

The rectangle is also shown on buttons, etc in dialog boxes. Although its shown to help you in easily find out the control item which is having focus but it doesn't look good and many people want to get rid of it.

Thanks to our friend "localhost" who made a small program to remove the annoying focus rectangle which works in almost every version of Windows.

How to Instructions:

1. First download following ZIP file and extract it:

It seems the official download page is no longer available so we have uploaded the utility at our server for your convenience.

Download Link

2. You'll get a DLL file "RemoveFocusRectangle.dll" in the extracted folder. Copy this DLL file to C:\Windows\System32 folder. You can directly open this folder by typing system32 in RUN or Start Menu searchbox and press Enter.

PS: If you are using 64-bit version of Windows, copy the DLL file to C:\Windows\SysWOW64 folder too.

3. Now open Command Prompt as Administrator using steps given here and execute following command:

regsvr32 RemoveFocusRectangle.dll

4. Close Command Prompt and restart Windows and you'll never see the annoying focus rectangle again.

5. If you want to uninstall this patch in future, simply execute following command in Command Prompt:

regsvr32 /u RemoveFocusRectangle.dll

After executing the above command, you can safely delete the DLL file from System32 and SysWOW64 folders.





Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Software, Windows 7, Windows Vista, Windows XP


Other similar articles that may interest you


Comments

  • I skimmed through alot of websites, this is the only thing that actually worked! Just make sure you do a reboot after you install and then try shift+clicking on something. If no dotted lines appear, then it worked!

  • The problem is: when I try to regsrv32 the DLL, I get an error message that says "Regsvr32: the module was loaded but the entry-point dllregisterserver was not found".

  • Hello, this file fix only works for windows 7, vista, or xp in only 32 bit format. i would like to see a windows 8/8.1 32 AND 64 bit fix. Been looking everywhere and alot of people are asking for the fix, but none have published or found a solution, thanks

  • Dotted focus outline was a rush-to-8 boo-boo now buries under too many layers for Microsoft to save itself: according to senior Microsoft Research and Development. I was told to use it as a flag, since we confirmed (at least on my machine) that the "boo-boo-bug" creates self-replicating system cache garbage. Left unchecked, one visible dotted icon outline on desktop will progress to two dotted icon outlines, at which time unusual HK User roots of same name will appear in Registry and even if you want to ignore the desktop dotted icon outline (singular) when it appears, you are now sinking into BSOC nightmare and your Windows installation is "not recoverable". Good advice: when you see a dotted outline, immediately Restart your machine. This may delay Windows reinstallation for even months. Microsoft's muti-layer WINDOWS miracle will maybe get its boo-boo-bug restrained in some sort of useful annexation of function round-about release 6,v11 (Windows 11) or later. Whoever chalked up RemoveFocusRectangle.dll did a lot of homework! 2015 March dl is of a 2007 January effort (uh-oh). However, since the boo-boo-bug is a formal backboard "Recovery Focus" at Research and Development, fair guess that sooner than later each version of RemoveFocusRectangle.dll will have to be urgently updated at short notice, to tag into whatever turns in the witches gut.

  • Essential testing hardware would be Sandybridge (Mac or Win), anything else will most certainly fry.

  • Hi!
    Here is the very simple fix for 64 bit Windows 7:
    1. Place RemoveFocusRectangle.dll into %windir%\SysWOW64
    2.open command line (run cmd.exe) an an administrator
    3. cd %windir%\SysWOW64
    4. regsvr32 RemoveFocusRectangle.dll
    5. Relog, and you are fine.

  • Hi all! I'm hoping whoever did/does the programming for RemoveFocusRectangle.dll will rewrite it so it works with Windows 10 (both 32 and especially 64bit) under the new UEFI bootup scheme. I just "upgraded" to a new 6th Gen i7 computer, and like all computers being made nowadays it utilizes UEFI... from what I've read this wreaks havoc with RemoveFocusRectangle.dll. That would make sense, as before the upgrade I was running Windows 10 on a 64bit Duo Core Quad machine and RemoveFocusRectangle.dll worked fine. Now though, nothing I've tried gets rid of this hideous leftover from the 1990s. I even tried changing my BIOS to Legacy boot rather than UEFI, but that didn't work, it just left me with an unbootable computer. So please VG, or some bright programmer, please provide us with a new and improved solution to remove the focus rectangle. —Thanks :)

  • Fixed the issue, but I HAVE A WORSE PROBLEM

    every button in office 2016 has this stupid rectangle

    It wasn't there, now it is. How do i get rid of it.

Leave a Comment

(required)