The process of building custom applications and tools that interact with Microsoft Exchange Server
Hi John
Thank you for reaching out to Microsoft Q&A
Based on the error code you provided, specifically the inner exception System.ComponentModel.Win32Exception: Le service ne peut pas être démarré parce qu’il est désactivé ou qu’aucun périphérique activé ne lui est associé (Windows Error 1058) is a very specific Windows service error. It practically always means that although you are trying to start the MSExchangeADTopology service, one of its required dependent services is currently disabled.
However, to better assess the situation, could you please share the source or documentation for the steps you are following?
This will help me understand the exact process and provide more accurate guidance.
In the meantime, you may review the settings outlined below to determine whether any of them help resolve the problem.
1. Enable the Net.TCP Port Sharing Service
By default, Windows Server installs the Net.TCP Port Sharing Service (NetTcpPortSharing) in a Disabled state. MSExchangeADTopology strictly depends on this service. It is an often-missed prerequisite prior to running the Exchange Setup.
- Open
services.msc(or use PowerShell). - Locate the Net.TCP Port Sharing Service.
- Change its Startup Type to Automatic.
2. Ensure IPv6 is NOT Disabled
Exchange Server requires IPv6 to be enabled (even if you only route via IPv4) to function correctly, particularly for the Active Directory Topology service layer.
So kindly ensure the Internet Protocol Version 6 (TCP/IPv6) checkbox is ticked in your network adapter properties.
I am looking forward to hearing from you
Regards
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.