how do i change default browser using c# or batch file
title speaks it all. The default browser is saved as an entry in the registry key of windows. The values are saved on a protocol basis like this HKEY_CLASSES_ROOT\[protocol]\shell\open\command Where protocol can be http, https, etc. On how to access/modify registry values inside C#, you can take a look at this article I think you will need to modify atleast two RegistryKeys and set the path to the alternative browser: HKEY_CLASSES_ROOT\http\shell\open\command HKEY_CLASSES_ROOT\htmlfile\shell\open\command An alternative may be to create an additional entry under the Shell key and set it as the