User gets error - "Failed to create rendering component" in Web Access 8.1/16.3

User gets error - "Failed to create rendering component" in Web Access 8.1/16.3

WX 8.1/16.3 -Failed to create rendering component - E_Fail error.



Issue:

Error returned when rendering task:

Failed to create rendering component.


Cause:

The render server has 2 COM+ components whose identities use the service credentials configured in AX Administrator > Server Management > Rendering Server > Service Credentials.


-Web Access Foreign File Convertor

-Web Access Image Convertor


When a COM+ component uses an identity, it loads the HKEY_CURRENT_USER registry hive for that account. If a separate process (such as a task configured in the Windows Task Scheduler) uses the same account, it may unload HKEY_CURRENT_USER when the process completes. As a result, the COM+ Components will fail to read the Identity’s HKEY_CURRENT_USER hive and fail to initialize.


Solution:
1- Launch the Local Group Policy Editor.
      - Click Windows and in the search type “group policy” it should find an entry for “Edit group policy”
2- Under Computer Configuration, expand Administrative Templates > System > User Profiles.

3- Double click on “Do not forcefully unload the users registry at user logoff”

4- Click “Enabled”, then click “OK”
5- Reboot to implement the change.

In addition to this, you’ll want to make sure your impersonation account has the User Rights Assignment of “Log on as a batch job” in the 'Local Security Policy' on the render server. This especially helps if you’re running the render server as the impersonation account (also recommended).

From <https://metasource.desk.com/customer/portal/articles/2924532>