Event ID - 1001

Event Id1001
SourceMicrosoft-Windows-TerminalServices-Gateway
DescriptionThe Terminal Services Gateway service cannot determine the version of Windows that this computer is running. Therefore, users cannot connect to this TS Gateway server. To resolve this issue, please contact Microsoft Product Support Services. The following error occurred: "%2".
Event InformationAccording to Microsoft :
Cause :
This event is logged when the Terminal Services Gateway service cannot determine the version of Windows that this computer is running.
Resolution :
Restart the TS Gateway server, and if needed, remove and reinstall the TS Gateway role service
To resolve this issue, restart the TS Gateway server. If the problem persists, try removing and reinstalling the TS Gateway role service.
The failure to determine the version of Windows that the computer is running might be caused by one of the following issues:
  • There is a problem with the Application Programming Interface (API) that provides the Windows version number (the API timed out).
  • There is a problem with a hotfix or other update that was applied to the TS Gateway server
Remove the TS Gateway role service
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To remove the TS Gateway role service:
  1. Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
  2. In the Server Manager console tree, click Roles. In the details pane, under Terminal Services\Role Services, click Remove Role Services.
  3. In the Remove Role Services Wizard, on the Select Role Services page, clear theTS Gateway check box, and then click Next.
  4. On the Confirm Removal Selections page, confirm that TS Gateway appears in the list of role services to be removed, and then click Remove.
  5. On the Removal Results page, Terminal Services (not TS Gateway) will appear, indicating that a restart is pending. You must restart the server to finish removing the TS Gateway role service.
  6. Click Close.
  7. You will be prompted to choose whether you want to restart the server now or later. Click Yes to restart the server immediately. Click No to restart the server later.
  8. After you restart the server, log on to the server by using the same user account that you used to log on to the server previously, when you began removing the TS Gateway role service.
  9. The Resume Configuration Wizard will open and the removal of the TS Gateway role service will be completed.
  10. On the Removal Results page, confirm that the removal succeeded for the TS Gateway role service.
  11. Click Close.
Reinstall the TS Gateway role service
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To reinstall the TS Gateway role service (if the Terminal Services role is not already installed):
  1. Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
  2. In Server Manager, under Roles Summary, click Add Roles.
  3. In the Add Roles Wizard, if the Before You Begin page appears, click Next. This page will not appear if you have already installed other roles and you have selected the Skip this page by default check box.
  4. On the Select Server Roles page, under Roles, select Terminal Services, and then click Next.
  5. On the Terminal Services page, click Next.
  6. On the Select Role Services page, select the TS Gateway check box.
  7. If prompted to specify whether you want to install the additional role services required for TS Gateway, click Add Required Role Services.
  8. On the Select Role Services page, click Next.
  9. On the Choose a Server Authentication Certificate for SSL Encryption, select the choice for an SSL encryption certificate that is appropriate for your environment, and then click Next. If you select Choose an existing certificate for SSL encryption (recommended), you must first click the certificate that you want to use, and then click Next.
  10. On the Create Authorization Policies for TS Gateway page, specify whether you want to create authorization policies (a TS CAP and a TS RAP) during the TS Gateway role service installation process or later, and then click Next.If you select Now, do the following:
    a.On the Select User Groups That Can Connect Through TS Gateway page, click Add to specify additional user groups. In the Select Groups dialog box, specify the user group location and name, and then click OK as needed to check the name and to close the Select Groups dialog box. To specify more than one user group, do either of the following: Type the name of each user group, separating the name of each group with a semi-colon; or add additional groups from different domains by repeating the first part of this step for each group.
    b.After you finish specifying additional user groups, on the Select User Groups That Can Connect Through TS Gateway page, click Next.
    c.On the Create a TS CAP for TS Gateway page, accept the default name for the TS CAP (TS_CAP_01) or specify a new name, select one or more supported Windows authentication methods, and then click Next.
    d.On the Create a TS RAP for TS Gateway page, accept the default name for the TS RAP (TS_RAP_01) or specify a new name, and then do one of the following: Specify whether to allow users to connect only to computers in one or more computer groups, and then specify the computer group; or specify that users can connect to any computer on the network.
    e.Click Next.
  11. On the Network Policy and Access Services page (which appears if this role service is not already installed), review the summary information, and then click Next.
  12. On the Select Role Services page, confirm that Network Policy Server is selected, and then click Next.
  13. On the Web Server (IIS) page (which appears if this role service is not already installed), review the summary information, and then click Next.
  14. On the Select Role Services page, accept the default selections for Web Server (IIS), and then click Next.
  15. On the Confirm Installation Selections page, confirm that the following role services will be installed, if they have not been already installed: Terminal Services\TS Gateway, Network Policy and Access Services\Network Policy Server, Web Server (IIS), and RPC over HTTP Proxy.
  16. Click Install.
  17. On the Installation Progress page, installation progress will be noted. If any of these roles, role services, or features has already been installed, installation progress will be noted only for the new roles, role services, or features that are being installed.
  18. On the Installation Results page, confirm that installation for these roles, role services, and features was successful, and then click Close.
To reinstall the TS Gateway role service (if the Terminal Services role is already installed):
  1. Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
  2. Under Roles Summary, click Terminal Services.
  3. Under Role Services, click Add Role Services.
  4. On the Select Role Services page, select the TS Gateway check box, and then click Next.
  5. If prompted to specify whether you want to install the additional role services required for TS Gateway , click Add Required Role Services. On the Select Role Services page, click Next.
  6. Proceed to step 9 in the previous section, "To reinstall the TS Gateway role service (if the Terminal Services role is not already installed)," and then follow the rest of the steps in that section.
Reference LinksEvent ID 1001 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.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.