SetWindowsServiceIdentity Method (WMI MSReportServer_ConfigurationSetting)
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Makes the Report Server Windows service run as a specified Windows user, and grants this account sufficient file system permissions to allow the report server to operate.
When the UseBuiltInAccount parameter is set to true and the report server is running on Microsoft Windows 2000 or Windows XP, the value of the Name, Domain, and Password parameters are ignored and the Local system account is used.
When the UseBuiltInAccount parameter is set to true and the report server is running on Windows Server 2003, the Domain and Password properties are ignored, and the name field must contain either “Builtin\NetworkService” or “Builtin\System” or “Builtin\LocalService”.
The SetWindowsServiceIdentity method sets file permissions on files and folders in the report server installation directory.
The account specified in the Account parameter requires LogonAsService rights in Windows. The method grants this right to the specified account.