Remote Desktop Gateway Service Starts Then Stops Immediately

Issue

When attempting to start the Remote Desktop Gateway service from the Services management console, the service fails to start and displays the following error:

The Remote Desktop Gateway service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.



Cause

The network adapter configuration has been disabled, reset, or modified, causing theRemote Desktop Gateway server to lose its IP address bindings for the HTTPS and UDP transports.

When this occurs, the IP address selection for one or both transport types is blank, preventing the Remote Desktop Gateway service from starting successfully.



Resolution

  1. Open Remote Desktop Gateway Manager.

  2. Right-click the gateway server and select Properties.

  3. Select the Transport Settings page.

  4. Verify that valid IP address bindings are configured for both HTTPS Transport and UDP Transport.

  5. If either field is blank, select the correct IP address from the drop-down list, or select All Unassigned if appropriate for your configuration.

  6. Apply the changes and close the properties window.

  7. Start the Remote Desktop Gateway service again.

Once the HTTPS and UDP transport bindings have been configured with valid IP addresses or set to All Unassigned, the service should start normally.


Verified on Windows Server 2016.

Date Created: 17 September 2026