Event Id | 304 |
Source | Microsoft-Windows-TerminalServices-Gateway |
Description | The user "%1", on client computer "%2", met connection authorization policy and resource authorization policy requirements, but could not connect to resource "%4". The following error occurred: "%5". |
Event Information | According to Microsoft : Cause : This event is logged when the user on client computer met connection authorization policy and resource authorization policy requirements, but could not connect to resource. Resolution : Ensure that Remote Desktop is enabled and that the user is a member of the Remote Desktop Users group, and if needed, fix network connectivity issues To resolve this issue, ensure that Remote Desktop is enabled and that the user is a member of the Remote Desktop Users group on the target computer. If this does not resolve the issue, fix any network connectivity issues. To perform the following procedures, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority. Ensure that Remote Desktop is enabled and that the user is a member of the Remote Desktop Users group on the target computer This procedure is not required if the target computer is a terminal server. To ensure that Remote Desktop is enabled and that the user is a member of the Remote Desktop Users group on the target computer:
Network connectivity issues might prevent the TS Gateway server from communicating with computers on the internal network and therefore prevent the client from connecting to the target computer through the TS Gateway server. Note : The following procedures include steps for using the ping command to perform troubleshooting. Therefore, before performing these steps, check whether the firewall or Internet Protocol security (IPsec) settings on your network allow Internet Control Message Protocol (ICMP) traffic. ICMP is the TCP/IP protocol that is used by the ping command. If ICMP traffic is not allowed in your environment and you cannot make a temporary exception for this traffic for troubleshooting purposes, skip the steps that involve using ping. By using ping to perform basic troubleshooting, you can determine whether there is a network connectivity, firewall configuration, or DNS host name resolution issue. If you can ping the target computer by IP address but not by fully qualified domain name (FQDN), this indicates an issue with DNS host name resolution. For DNS troubleshooting steps, see "Determine whether DNS servers are accessible" later in this topic. If you cannot ping the target computer by IP address, this indicates a network connectivity issue or firewall configuration issue. To identify and resolve the issue, perform the following additional troubleshooting steps:
To determine whether DNS servers are configured and accessible:
To verify that the TS Gateway server is available for client connections, examine Event Viewer logs and search for the following event messages. These event messages indicate that the Terminal Services Gateway service is running, and that clients are successfully connecting to internal network resources through the TS Gateway server. To perform this procedure, you do not need to have membership in the local Administrators group. Therefore, as a security best practice, consider performing this task as a user without administrative credentials. To verify that the TS Gateway server is available for client connections:
|
Reference Links | Event ID 304 from Source Microsoft-Windows-TerminalServices-Gateway |
Catch threats immediately
We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.