Way to stop windows explorer from prepending http to unknown names in address bar?
Problem
Is there a way to stop my Windows Explorer from launching the browser when typing an unknown name into the address bar? It seems that the default behaviour is to prepend "http://" to any name not a valid path or an (indexed) file or folder name.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Disable HTTP Prepend in Windows Explorer Address Bar
Windows Explorer is designed to interpret input in the address bar as a URL if it does not match a valid file or folder path. When an unknown name is entered, it automatically prepends 'http://' to the input, treating it as a web address. This behavior can be inconvenient for users who want to navigate local files or directories without triggering a web search.
Awaiting Verification
Be the first to verify this fix
- 1
Open Folder Options
Access the Folder Options settings to modify how Windows Explorer handles address bar inputs. This can be done by opening any folder, clicking on the 'View' tab in the ribbon, and then selecting 'Options'.
- 2
Change File Explorer Settings
In the Folder Options dialog, navigate to the 'View' tab. Look for the option labeled 'Hide extensions for known file types' and ensure it is unchecked. This will help Windows Explorer better recognize file types and paths.
- 3
Modify Registry Settings
To further prevent Windows Explorer from treating unknown names as URLs, modify the registry. Open the Registry Editor (regedit) and navigate to 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer'. Create a new DWORD value named 'NoInternetOpenWith' and set its value to '1'. This will disable the automatic HTTP prepend behavior.
bashreg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer" /v NoInternetOpenWith /t REG_DWORD /d 1 /f - 4
Restart Windows Explorer
After making changes, restart Windows Explorer to apply the new settings. This can be done by opening Task Manager, finding 'Windows Explorer' in the list, right-clicking it, and selecting 'Restart'.
Validation
To confirm the fix worked, open Windows Explorer and type an unknown name into the address bar. If the behavior is corrected, Windows Explorer should no longer prepend 'http://' and should not launch a browser.
Sign in to verify this fix