question

StanKasper-4297 avatar image
0 Votes"
StanKasper-4297 asked Reza-Ameri commented

unable to start dcom server microsoftedge error 2147942402

Removed Edge using the setup.exe options in the 'program files (x86) ...' directory. Gotten past the May update issue when Edge removed. Now dealing with event log error on startup. Appears to be some 'scheduled task' in regards to Edge or may be something else. Upon startup there is some process that is run from somewhere that tries to run Edge. When Edge has been uninstalled this generates an event log error. Is it possible to disable this process so the event log error does not appear? Here is the event log error message:

Log Name: System
Source: Microsoft-Windows-DistributedCOM
Date: 5/16/2021 2:35:43 AM
Event ID: 10001
Task Category: None
Level: Error
Keywords: Classic
User: DESKTOP-SUTJ1E2\xxxxxxxxxxxxxx
Computer: DESKTOP-SUTJ1E2
Description:
Unable to start a DCOM Server: Microsoft.MicrosoftEdge_44.19041.964.0_neutral_8wekyb3d8bbwe!MicrosoftEdge as Unavailable/Unavailable. The error:
"2147942402"
Happened while starting this command:
"C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe" -ServerName:MicrosoftEdge.AppXdnhjhccw3zf0j06tkg3jtqr00qdm0khc.mca
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">;
<System>
<Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
<EventID Qualifiers="0">10001</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2021-05-16T06:35:43.6191708Z" />
<EventRecordID>5400</EventRecordID>
<Correlation ActivityID="{0e353aee-e77a-4842-8e3c-598b00650948}" />
<Execution ProcessID="760" ThreadID="500" />
<Channel>System</Channel>
<Computer>DESKTOP-SUTJ1E2</Computer>
<Security UserID="S-1-5-21-2003226174-3757829130-4265491147-1001" />
</System>
<EventData>
<Data Name="param1">"C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe" -ServerName:MicrosoftEdge.AppXdnhjhccw3zf0j06tkg3jtqr00qdm0khc.mca</Data>
<Data Name="param2">2147942402</Data>
<Data Name="param3">Microsoft.MicrosoftEdge_44.19041.964.0_neutral
_8wekyb3d8bbwe!MicrosoftEdge</Data>
<Data Name="param4">Unavailable</Data>
<Data Name="param5">Unavailable</Data>
</EventData>


windows-10-general
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Would you mind share the process you used to remove the Microsoft Edge?
Uninstalling Microsoft Edge is unsupported and I believe you used some methods which didn't completely removed it.

0 Votes 0 ·

Apparently removing Edge is supported. It is allowed in the setup.exe --uninstall
which can be found in c:\program files (x86)\microsoft\edge\application*version*\installer

0 Votes 0 ·

Just for test , try download and install the latest version of the Microsoft Edge and see if the problem persist?

0 Votes 0 ·
Show more comments
Reza-Ameri avatar image
0 Votes"
Reza-Ameri answered Reza-Ameri commented
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Microsoft gives you the option of uninstalling it in the Edge setup.exe. So it appears you can uninstall it but there is no support as per your link. IMHO the OS needs to be separate from the web browser. I have many applications that run on the OS that do NOT require a web browser. Having a web browser is like having a tatoo - it is there for all to see. At this point I will accept the error message and be grateful that I can still uninstall Edge.

0 Votes 0 ·

The method you mentioned which is Setup.exe is not supported and that is why you are facing this problem after using it.

0 Votes 0 ·
CarlFan-MSFT avatar image
0 Votes"
CarlFan-MSFT answered StanKasper-4297 commented

Hi,
I suggest that you could reinstall then uninstall edge to check.
Also perform a clean boot.
https://support.microsoft.com/en-us/topic/how-to-perform-a-clean-boot-in-windows-da2f9573-6eec-00ad-2f8a-a97a1807f3dd
Open the Microsoft.MicrosoftEdge_8wekyb3d8bbwe folder.
Locate the MicrosoftEdge.exe and MicrosoftEdgeCP.exe files. Rename both files to something else of your choosing. For example, rename the files to blockMSEdge.exe and blockMSEdgeCP.exe.
By renaming the files, Windows will no longer be able to find the MicrosoftEdge.exe and MicrosoftEdgeCP.exe files, preventing Microsoft Edge from running.
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you. I will look at the 'clean boot'. However I noticed this error appears to be generated by an admin login at logon time. It doesnt seem to appear for a general user. Strange.

0 Votes 0 ·

Thank you. Tried this. Error still generated unless Edge is installed or you can uninstall Edge and install another browser. Unfortunately I have machines that I would like to have NO browser installed. Microsoft is making it harder and harder to accommodate that scenario.

0 Votes 0 ·
StanKasper-4297 avatar image
0 Votes"
StanKasper-4297 answered

Digging deeper I now see how this error occurs. In Settings / Apps / Default apps / Web browser has 'Edge' listed although it is no longer installed. For this particular machine I do not use a web browser. Is there any way to set this to 'blank' in the registry or GPO like the other entries (EMail / Maps / Music player / etc)?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.