The default behavior of the User Profile service can lead to problems for the AB Suite Windows Runtime system running on a server. This is due to the user registry setting being prematurely unloaded by the operating system resulting in
The AB Suite Windows Runtime system becoming unresponsive.
The Windows Application event log displaying the following error:
0x800703fa : Illegal operation attempted on a registry key that has been marked for deletion
The AB Suite Windows Runtime System log displaying the following error:
ReportSessionManager(13264:21080) [Domain\Appuser]; COM Error -2147467259 occurred in :: class CRunningSystem *__cdecl CConfigurationAgent::ConfigDataForSystem(wchar_t *const)
The solution is to enable the following User Profile setting:
Do not forcefully unload the user registry at user logoff.
To modify the User Profile setting, perform the following:
Prerequisites:
From Component Services, shut down all the running AB Suite COM+ processes.
From Services, stop all the AB Suite services.
Ensure that there are no processes running under AB Suite Application User or Application Administrative User.
Open the Local Group Policy Editor.
You can open the Local Group Policy Editor through Run.
Start Run using Windows+R, type gpedit.msc, and click OK.
In the left pane, expand Computer Configuration, expand Administrative Templates, expand System, and then select User Profiles.
The User Profiles appear in the right pane.
Under Setting, select Do not forcefully unload the users registry at user logoff.
Click policy setting to edit the User Profile.
The Do not forcefully unload the users registry at user logoff window appears.
Select Enabled and click OK.
Restart the Runtime server.
Note: The procedure to configure User Profile service applies to Windows 10, Windows Server 2016, and Windows Server 2019.