The Streaming Process Has Completed But the Progress Indicator Remains at 100%
Why does this happen?
Some applications start a background process while streaming and the streaming dialog box never closes, remaining at 100%
What to do now?
The streaming product has a function called LongLived which can be used to watch for these processes and close the streaming progress dialog at completion.
First we need to identify which process is responsible for preventing the streaming from ending. You can do this by opening the Windows task manager and look for a processes that probably has a name that is relevant to the application. In most cases this will be true, but for the times it is not you will need to identify it by monitoring the processes on the system at time of streaming to see which processes are started. You can end the task on the process and if you have the correct one, the 100% progress indicator will close and the caching will complete.
- Browse to the root of your streaming package folder.
- Locate the file that ends with ".pdr.xml" and edit this file either with Notepad.exe or an XML editor.
- Insert the following line between the description tags. Note the "/" in the tag, and no spaces between the last " and /.
<PROPERTY NAME="processhooking:LongLived.1" VALUE="process.exe"/>
Where process.exe is the name of the running process which has been started during streaming and when stopped allows the streaming to complete. If there is more than one processes you can add multiple values for each process by changing the .1 to a .2, .3, incremented sequentially for each process.
- Save and close the file.
- Re-open the package with the Streaming Composer and generate a new .zip file by going to Package-->Create
Example with iTunes:
iTunes exhibits the above behavior due to the process iTuneHelper.exe starting up at time of streaming. Following the above steps this can be handled by adding the following line to the .pdr.xml file and re-creating the streaming package.
<PROPERTY NAME="processhooking:LongLived.1" VALUE="iTuneHelper.exe"/>

The Endpoint Virtualization Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Virtualization community. Any authenticated Connect member can contribute to this blog.