- This topic has 2 replies, 2 voices, and was last updated 4 months, 1 week ago by
May 15, 2020 at 6:20 am #228355ParticipantTopics: 41Replies: 94Points: 560Rank: Major Contributor
I want to change the default browser on our server from Internet explorer to Chrome
I can do my test to see see what the current property is withPowerShell12$test = get-itemproperty ‘HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice’ -name ProgID$test.ProgID
as such I’m also able to change the value of the default browser to the one I wantPowerShell12set-itemproperty ‘HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice’ -name ProgID ChromeHTMLset-itemproperty ‘HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice’ -name ProgID ChromeHTML
when doing this I see that under settings default app the web browser selection is empty
Do I specifically need to reboot or can I force the update on a different way?
- This topic was modified 4 months, 1 week ago by acer460527.
May 15, 2020 at 3:40 pm #228466ParticipantTopics: 13Replies: 1758Points: 3,153Rank: Community Hero
Have you searched for this? I searched “registry set default browser powershell windows 10” and there are a ton of threads. It’s not just setting a key and MS makes it painful to change the browser because they want you to use their browser. Many of the solutions are using a exe and then sendkeys to go thru the interface which is last ditch effort.
May 16, 2020 at 6:25 am #228559ParticipantTopics: 41Replies: 94Points: 560Rank: Major Contributor
yes I’ve seen these and unless I really have to I will go that road I would have liked to have just a simple way of changing this without having the users to go through that hassle.
on top of this it’s one of the features in my script that would be nice to be implemented but not a must
- The topic ‘get current value from registry’ is closed to new replies.