-
Build the application:
dotnet build --configuration ReleaseOr simply run
build.bat -
Run the application:
dotnet run --configuration ReleaseOr run the executable:
bin\Release\net6.0-windows\DefaultBrowserWindows.exe -
Look for the tray icon: A blue circle with "B" should appear in your system tray
-
Register the application (requires administrator privileges):
- Right-click the tray icon
- Click "Register as Default Browser"
- If not running as admin, you'll be prompted to restart with admin privileges
-
Set in Windows Settings:
- Open Windows Settings (Win + I)
- Go to Apps > Default apps
- Find and select "Default Browser Windows" as your default web browser
- Right-click the system tray icon
- Select your preferred browser from the list
- All links will now open with your selected browser
- Browser Selection: Quick switching between installed browsers
- Settings: Configure startup behavior and notifications
- Persistent Selection: Remembers your choice across sessions
- Browser List: Shows all detected browsers (Chrome, Firefox, Edge, etc.)
- Settings...: Open configuration dialog
- Register/Unregister as Default Browser: System registration
- About: Application information
- Exit: Close the application
- Start with Windows: Automatically start when Windows boots
- Show notifications: Display notifications when switching browsers
- Use most recent browser: Always use the last selected browser
# Register as default browser (admin required)
DefaultBrowserWindows.exe --register
# Open a URL with selected browser
DefaultBrowserWindows.exe "https://example.com"
# Open an HTML file with selected browser
DefaultBrowserWindows.exe "file.html"- Make sure the browser is properly installed
- Check if it appears in Windows Settings > Apps > Default apps
- Run as Administrator when registering
- Check Windows defender/antivirus isn't blocking the registration
- Check if the icon is hidden in the overflow area (click the up arrow in system tray)
- The application might already be running (only one instance allowed)
- Ensure you've selected the desired browser from the tray menu
- Check that "Default Browser Windows" is set as default in Windows Settings
- Try registering the application again
- This issue has been resolved with inter-process communication
- Multiple instances now properly communicate via Named Pipes
- URLs are forwarded to the existing instance automatically
Settings are saved to: %APPDATA%\DefaultBrowserWindows\config.json
- Right-click tray icon and select "Unregister as Default Browser"
- Set a different default browser in Windows Settings
- Exit the application
- Delete the application folder
- Optionally delete:
%APPDATA%\DefaultBrowserWindows\