groupopk.blogg.se

Set default browser windows 10
Set default browser windows 10




$file_CopyToKeepInCase = "C:\Windows\System32\OEMDefaultAssociations_ORIG_Edge_BEFORE_replacingWithIE.xml" $file_OriginalWithEdge = "C:\Windows\System32\OEMDefaultAssociations.xml" #'Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope LocalMachine #' IE_ratherThan_Edge_MakeDefaultForNewUserProfiles_inWin10.ps1 The file "OEMDefaultAssociations.xml" acts like a configuration file for new profiles. I know this works for any new user profiles that are created on the computer after this change is made. You can do the same thing in C#, here I did it with PowerShell.

set default browser windows 10

default browser 'Edge') with another string (e.g with IE). Essentially this involves replacing a string in the file "C:\Windows\System32\OEMDefaultAssociations.xml" that contains the original string from Microsoft (e.g. There are various articles on using DISM to change the default browser for Windows 10 (e.g.






Set default browser windows 10