Event Id | 2004 |
Source | Microsoft-Windows-TerminalServices-Gateway |
Description | The policy and server configuration settings for the TS Gateway server "%1" could not be exported. The following error occurred: "%2". |
Event Information | According to Microsoft : Cause : This event is logged when the policy and server configuration settings for the TS Gateway server could not be exported. Resolution : Ensure that the required permissions are granted to the Core registry key, and if needed, delete and recreate TS RAPs and TS RAPs To resolve this issue, ensure that the required permissions are granted to the Core registry key. If the problem persists, you might have to delete and recreate the Terminal Services resource authorization policies (TS RAPs) and the Terminal Services connection authorization policies (TS CAPs) on the TS Gateway server. To perform these procedures, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority. Grant the required permissions to the Core registry key Caution : Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data. To grant the required permissions to the Core registry key:
Delete and recreate the TS RAPs on the TS Gateway server Note : After you rename rap.xml and restart TS Gateway Manager, no TS RAPs will appear, so you must reconfigure the TS RAP settings. To back up and delete rap.xml and then open the TS Gateway Manager console:
If backing up and removing the current copy of Rap.xml and recreating the TS RAP settings does not resolve the problem, try renaming IAS.xml to IASbak.xml, and then starting TS Gateway Manager. Opening the console will create a new IAS.xml file. Note : After you rename IAS.xml and restart TS Gateway Manager, no TS CAPs will appear, so you must reconfigure the TS CAP settings. To back up and delete IAS.xml and then open TS Gateway Manager:
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 2004 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.