Take the script from the first answerJudy Li’s answer and tweak it.
Option Explicit
Dim oShell, sWinDir
Set oShell = WScript.CreateObject("WScript.Shell")
sWinDir = oShell.ExpandEnvironmentStrings("%WINDIR%")
oShell.Run sWinDir & "\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram"
Set oShell = Nothing
WScript.Quit
Option Explicit
Dim oShell, sWinDir
Set oShell = WScript.CreateObject("WScript.Shell")
sWinDir = oShell.ExpandEnvironmentStrings("%WINDIR%")
oShell.Run sWinDir & "\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram"
Set oShell = Nothing
WScript.Quit
Save it on Desktopyour desktop as SetDefaultProgamsa .vbs
file
(e.vbsg., then double clickSetDefaultProgams.vbs
).
Double clicking it, will bring muchup the more familiar Set Default Programs with
with the list on the left, like previous versions of Windows 10 10.
This Script was tested by me on Windows Version 10.0.16299.192.(Of course there are other ways to invoke a program / script. You could put it on your Start Menu, or run it through CMD or PowerShell.)
This script was tested by me on Windows version 10.0.16299.192.