A known good App-V virtual application package may fail with error 19-00001003 after adding a pre-launch script

Applies to: Microsoft Application Virtualization 4.5 for Terminal ServicesApplication Virtualization 4.5 for Windows Desktops


A known good Microsoft Application Virtualization (App-V) package may fail with the following error after adding a pre-launch script:

Application Virtualization Error

The Application Virtualization Client could not launch <Package Name>.

The Application Virtualization Client encountered a problem while waiting for the application to be ready to interact with the user. Report the following error code to your System Administrator.

Error code: 4505CD-1F702A19-00001003


This is typically caused by a timing issue between the App-V client and the Windows Message Pump due to the pre-launch script.


To resolve this issue, change the <SUBSYSTEM VALUE="windows"/> XML tag in the .OSD file from windows to console. This change will need to be implemented in each OSD file in the package.



<VM VALUE="Win32">
<SUBSYSTEM VALUE="windows"/>


<VM VALUE="Win32">
<SUBSYSTEM VALUE="console"/>

If you are deploying packages using a Application Virtualization Server you will need to initiate a DC refresh on the App-V client to update the OSD cache. Once complete this issue should be resolved. If using Configuration Manager 2007 or an MSI package to deploy App-V applications, the package will need to be updated using the sequencer and redeployed.