![]() ![]() However, I decided to launch it a different way. ![]() But if you actually navigated to the the file in the folder and right mouse click and pin it to the taskbar, it will launch it, but it opens a second icon on the bar, yet, you are still showing you are logged in your google account, but that seems just too buggy for me. And if you launch the chrome.exe that is pinned to the taskbar, it will not show you are logged into your account and put your data in a different place, kind of like if you just copied the chrome folder from appdata folder where chrome is usually installed when not portable. I also sent feedback to MS via Feedback app, about this and another thing which is, that when you pin the icon to the Taskbar after launching it as a portable, you don't actually pin googlechromeportable.exe but the Chrome.exe that is in the C:\PApps\PortableApps\GoogleChromePortable\App\Chrome-bin folder. I just went through the registry after setting it as default, and scanned all chrome.exe entries that went to my PApps folder on C: drive, and change the path in the registry to C:\PApps\PortableApps\GoogleChromePortable\googlechromeportable.exeĪnd it worked out great. I noticed this same problem, about the Chrome.exe file being registered and not the GoogleChromePortable.exe not being in the registry. Now when you go into Windows settings and select a default browser you will have a "Google Chrome Portable" option and all links will open using the portable version. Make sure to only change the paths and leave other portions unchanged.Ĭomputer\HKEY_CURRENT_USER\Software\Classes\ChromeHTML.S4BDWR3EJ3B62QJRNXKZH4AGKM\Application\ApplicationIconĬomputer\HKEY_CURRENT_USER\Software\Classes\ChromeHTML.S4BDWR3EJ3B62QJRNXKZH4AGKM\DefaultIcon\(Default)Ĭomputer\HKEY_CURRENT_USER\Software\Classes\ChromeHTML.S4BDWR3EJ3B62QJRNXKZH4AGKM\shell\open\command\(Default) (Where the portion that says "NUMBERSANDLETTERS" will be a unique string of numbers and letters.)ģ.) Create a backup by clicking File > ExportĬomputer\HKEY_CURRNT_USER\Software\Classes\ChromeHTML.S4BDWR3EJ3B62QJRNXKZH4AGKM\Application\ApplicationNameĥ.) In the following registry keys change the value (double click on them.) Change the path from the normal (non-portable) chrome.exe to the GoogleChromePortable.exe path. These instructions simply points the registry's Application User Model ID entry for Chrome towards the portable executable (instead of the "normal" one.)ġ.) Click on the start button and type "regedit", click on the regedit icon.Ĭomputer\HKEY_CURRENT_USER\Software\Classes\ChromeHTML.NUMBERSANDLETTERS This is because Windows uses a "Application User Model ID" to allocate certain behaviours. Normally if you use Google Chrome Portable then make "Google Chrome" the default browser app via "Windows Settings" it opens the normal Chrome (the one in C:\Path\\PortableApps\GoogleChromePortable\App\Chrome-bin\chrome.exe) and uses the profile in \Users\user_name\AppData\Local\Google\Chrome.Įven if you associate everything web related (HTML, SHTML etc.) to the Google Chrome Portable executable in some cases (like when an application opens a URL) it will use the normal, non-portable chrome.exe that's also created during a Google Chrome Portable install. # Open a sample URL in the new default browser, if requested.(I Googled and found a fare few people wanting this with none of the methods working completly. # Close the window, unless requested not to. # Sleep a little so that the application-details page has a chance to open, # Select the (first) search result to go to its details page. # Send the target browser's display name, which triggers a search. ' Adjust number of tabs until you reach the browser choice setting ![]() WScript.Sleep 5000 ' Wait until open (adjust if necessary) WshShell.Run "%windir%\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram\pageAdvancedSettings?pszAppName=google%20chrome" VBS Code Set WshShell = WScript.CreateObject("WScript.Shell") Store the file in the startup folder to execute the script with each restart.Open folder shell:startup with + or file explorer.However, I had to update the the number of tab's and sleep commands. The answer from Judy Li still worked for me on with the latest windows 10 built. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |