There are different options on how you can find this information.
Finding the MS Edge version using the UI
To check which version of Microsoft Edge you are using follow the below steps:
- Open Microsoft Edge.
- Select More actions in the upper-right corner, and then select Settings.
- Look for your version under About this app.
Please note that this is an example done from a Windows 10 Creator update 1703. To help you find the ProgID, you can look at the OEMDefaultAssociations.xml file. I have some steps at the end of this blog to help you find the version. You can modify the the Batch sample and reg export command accordingly!
Using Powershell option
From an elevated command windows type:
powershell get-appxpackage *edge* >c:\MSEdgeVersion.txt
RESULT:
Name : Microsoft.MicrosoftEdge
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : Neutral
ResourceId :
Version : 40.15063.0.0
PackageFullName : Microsoft.MicrosoftEdge_40.15063.0.0_neutral__8wekyb3d8bbwe
InstallLocation : C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe
IsFramework : False
PackageFamilyName : Microsoft.MicrosoftEdge_8wekyb3d8bbwe
PublisherId : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
IsPartiallyStaged : False
REGISTRY EXPORT
From an elevated command window type:
reg export "HKEY_CLASSES_ROOT\AppX3xxs313wwkfjhythsb8q46xdsq8d2cvv\Application" C:\MSEDGE_Version_Key.txt /y
RESULT:
Note: The output will give you the Prog ID and Version
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AppX3xxs313wwkfjhythsb8q46xdsq8d2cvv\Application]
"ApplicationName"="@{Microsoft.MicrosoftEdge_40.15063.0.0_neutral__8wekyb3d8bbwe?ms-resource://Microsoft.MicrosoftEdge/Resources/AppName}"
"ApplicationCompany"="Microsoft Corporation"
"ApplicationIcon"="@{Microsoft.MicrosoftEdge_40.15063.0.0_neutral__8wekyb3d8bbwe?ms-resource://Microsoft.MicrosoftEdge/Files/Assets/MicrosoftEdgeSquare44x44.png}"
"ApplicationDescription"="ms-resource:AppDescription"
"AppUserModelID"="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge"
Batch File that will execute the PowerShell and Registry export for you!
:Run from Elevated CMD window
:Start Batch
setlocal
set _FOLDERNAME=MSEDGE_logs_temp
set _TEMPDIR=%systemdrive%\%_FOLDERNAME%
@echo.
echo -------------------------------------------
echo Copying logs to temporary folder ...
echo -------------------------------------------
mkdir %_TEMPDIR% 2> NUL
@echo.
echo -------------------------------------------
echo Get MS EDGE Version ...
echo -------------------------------------------
powershell get-appxpackage *edge* >%_TEMPDIR%\MSEdgeVersion.txt
reg export "HKEY_CLASSES_ROOT\AppX3xxs313wwkfjhythsb8q46xdsq8d2cvv\Application" %_TEMPDIR%\MSEDGE_Version_Key.txt /y
goto end
:end
pause
@echo.
echo -------------------------------------------
echo Go to c:\MSEDGE_logs_temp
echo -------------------------------------------
start c:\MSEDGE_logs_temp
:End of Batch
If you want to see what the OEM xml file have and compare it with the output, you can export the OEMDefaultAssociations.xml to notepad. Here is how:
From an Elevated command prompt type:
C:\WINDOWS\system32>dir *.xml Volume in drive C is OSDisk Volume Serial Number is 749D-6F2C Directory of C:\WINDOWS\system32 03/18/2017 03:57 PM 446,124 ApnDatabase.xml 13 File(s) 587,884 bytes 0 Dir(s) 157,778,395,136 bytes free C:\WINDOWS\system32>notepad OEMDefaultAssociations.xml
|
When you open the OEMDefaultAssociations.xml in notepad, find the .htm and .html file extension to help you find the application handler. In this case, Windows 10 default .htm and .html is Microsoft Edge.
Example:
<Association Identifier=".htm" ProgId="AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9" ApplicationName="Microsoft Edge" ApplyOnUpgrade="true" OverwriteIfProgIdIs="AppX6k1pws1pa7jjhchyzw9jce3e6hg6vn8d" />
<Association Identifier=".html" ProgId="AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9" ApplicationName="Microsoft Edge" ApplyOnUpgrade="true" OverwriteIfProgIdIs="AppX6k1pws1pa7jjhchyzw9jce3e6hg6vn8d" />