When I got the machine I'm using now (less than a year old), Microsoft had done something underhanded then too: I could not switch the default browser or search engine away from Edge and Bing. Took almost two hours on the phone with HP tech support to get it done.
This behavior by Microsoft is almost criminal going to this extent.