New to Telerik Report Server? Download free 30-day trial

How to Create a Non-Privileged IIS User for Report Server and Service Agent

Environment

Product Progress® Telerik® Report Server
Version 10.1.24.514+

Description

This tutorial will show you how to change the Report Server's IIS application pool and service agent to use an identity with limited permissions.

Solution

  1. Create a new Windows user with limited permissions, for example, RSUser.

    Adding new Windows user with limited permissions to the system.

    For more help, see Microsoft Docs - Manage User Accounts in Windows.

  2. Go to Telerik Report Server's installation directory (C:\Program Files (x86)\Progress\Telerik Report Server) and give RSUser full access permissions to the Telerik.ReportServer.Web and Services sub-folders.

    Allowing full control for the Telerik.ReportServer.Web and Services sub-folders of the Report Server installation folder to the new user.

  3. Open Internet Information Services (IIS) Manager by selecting Windows Key + R to open the Run window, and then enter inetmgr.

  4. In the left column, expand the machine's node and select Application Pools. Right-click on the TelerikReportServer application pool and select Advanced Settings from the context menu.

    Opening Advanced Settings of the TelerikReportServer Application Pool.

  5. Select the Identity item and click the ellipsis button.

    Selecting the Application Pool Identity.

  6. Select Custom account, click Set…, and enter the name of the newly created user (for example, RSUser) and its password:

    Changing the Application Pool Identity to Custom account and setting the credentials.

  7. Right-click the TelerikReportServer application pool and select Recycle... from the context menu.

  8. Open the Report Server Manager application in the web browser to confirm it is working with the new user identity.
  9. Open Windows's Services app by selecting Windows Key + R to open the Run window, and then enter services.msc.
  10. Scroll to the Telerik.ReportServer.ServiceAgent service instance:

    Scrolling to the Telerik.ReportServer.ServiceAgent service instance.

  11. Double-click to show the service's Properties panel. Select the Log On tab.

  12. Click This account and enter the new user name (for example, .\RSUser) and its password:

    Changing the Log On credentials of the Telerik.ReportServer.ServiceAgent service.

  13. Right-click Telerik.ReportServer.ServiceAgent and select Restart to restart the service with the new user.

  14. Ensure it is working by running a scheduled task or a data alert from the Report Server Manager web UI, or on the URL http://{MachineNameHere}:82/ReportServer/ServiceAgent?wsdl:

    If the Report Server Manager cannot connect to the Telerik.ReportServer.ServiceAgent, most probably the WCF service doesn't have a reservation for the corresponding port (the default one is 82). Ensure reserving the port by running the proper Netsh command as an Administrator in the command prompt or terminal. Here is a sample command that reserves port 82 for ReportServer/ServiceAgent/ running under user RSUser:

    netsh http add urlacl url=http://+:82/ReportServer/ServiceAgent/ user=RSUser

    If the default port 82 is already reserved by another application, you may change the port and reserve the new port as above, or release port 82 with the delete urlacl command and then reserve it with the above command. Here is a sample code releasing port 82 from the Telerik.ReportServer.ServiceAgent:

    netsh http delete urlacl url=http://+:82/ReportServer/ServiceAgent/

Additional Actions: Consider adding the local user to databases used by Report Server data connections that utilize Windows Credentials login permissions.

In this article