How to Resolve Error Code 10037 : "Creating application process failed".

book

Article ID: 157866

calendar_today

Updated On:

Products

Workspace Streaming (formerly AppStream)

Issue/Introduction

Users intermittently encounter Error Code 10037 when launching applications from the streaming portal.

Error Code 10037 : Creating application process failed. Please try removing the application cache and accessing the application again. If the problem persists, contact your system administrator.

In the streaming client logs, you will find errors such as:

FATAL  [2512] ProcessControl,MainProcess::createUniqueSurrogate#517| Unable to create unique surrogate at C:\Users\username\AppData\Local\Temp\ProcessCreator2512.exe, error: 5
FATAL  [2512] Management,LaunchSession::createApplicationMainProcess#189| Could not create main process: C:\Program Files\7-Zip\7zFM.exe , in dir: C:\Program Files\7-Zip\
INFO   [2512] Management,Session::sessionErrorHandler#1418| Error handler reached for session 6, error: "Error Code 10037 : Creating application process failed. Please try removing the application cache and accessing the application again. If the problem persists, contact your system administrator.".  Closing session.
INFO   [576] GuiHandler,CEventHandler::notifyUI#76| Sends message to the Gui: Error Code 10037 : Creating application process failed. Please try removing the application cache and accessing the application again. If the problem persists, contact your system administrator.
 

Cause

The SYSTEM process keeps a file handle open of any .EXE file that is deleted when the "Application Experience" service is disabled. When SWS tries to delete a temporary copy of the ProcessCreator.exe in the user's temp directory, the SYSTEM process holds open a file handle preventing the file from being deleted. When SWS tries to create another copy of ProcessCreator.exe in the user's temp directory, it fails because the file still exists in the directory.

 

Resolution

Set the "Application Experience" service from 'disabled' to 'manual'; this allows the file to be deleted without significant delay.


Applies To

The "Application Experience" service is disabled.