How can I make Google Chrome the default browser in Windows 10 batch file?

I tried using PowerShell commands

Set-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice' -Name ProgId -Value 'ChromeHTML' Set-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice' -Name ProgId -Value 'ChromeHTML' 

But it does not work. Although fulfills without errors

I also tried

 chrome.exe --make-default-browser 

It also works without errors, but does not give any result.

There is also a Wishlist to install the AdBlock extension immediately when installing the browser (but this is the second question)

  • Is it read? winaero.com/blog/… - Viktor Tomilov
  • @ViktorTomilov Ie in any case, you need to edit your hands in the settings? I have about 100 cars, my hands are sad ( - MARKSIST

0