Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
428 views
in Technique[技术] by (71.8m points)

registry - How to set the default version of Chrome opened from run?

I have a windows 10 machine. I have installed multiple versions of Google Chrome on my machine.

  • Stable Version
  • Dev Version
  • Canary Version

When I run the command chrome from run it opens Google Canary by default. Google Canary was the last installed version.

Here is what I did to find the place where this behavior is stored.

  • I checked if chrome was added to path and found that it is not.
  • Found two registry keys
    • [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp Pathschrome.exe]
    • [HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionApp Pathschrome.exe]

Both the registry keys had path to Canary version. I changed it to stable version and it started to open the stable version when I pass chrome command from run.

However, after sometime, the behavior changes and I have to edit the registry key again to launch the stable version.

question from:https://stackoverflow.com/questions/66046766/how-to-set-the-default-version-of-chrome-opened-from-run

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...