UPDATE: App-V application was unable to start correctly on Windows 10

26 Jun 2017 by Ryan Ververs-Bijkerk

Category:

    App-V

UPDATE: App-V application was unable to start correctly on Windows 10

Table of Content

  • Application was unable to start correctly
  • How to reproduce the error
  • Possible cause of the error
  • Conclusion
  • Update

A couple weeks ago I received an email regarding an issue with App-V packages unable to start correctly on the latest version of Windows 10 (Creators Update, build 1703). When App-V packages are removed and added it won’t start and produces an error. This blog post will take a closer look at this strange behavior on the latest release of Windows 10.

Application was unable to start correctly

When an App-V package is removed and re-added on Windows 10 (Creators Update, build 1703) the following error will be shown during the startup of the App-V package.

The application was unable to start correctly (0xc0000142). Click OK to close the application.

After the error, the App-V package is not able to start anymore and the only way to start the package again is to reboot the entire machine.

How to reproduce the error

Let me explain how to reproduce this error. In my case, I have a publishing server configured in my environment and once the user is logged on a couple App-V packages are added.

When I start Adobe Reader the App-V package starts fine without any issues.

Now let’s remove and re-add all the packages.

It will take a while before the application responds with the error message.

Possible cause of the error

Within the Windows event log, the following error is logged.

{Registry Hive Recovered} Registry hive (file): '\??\C:\ProgramData\Microsoft\AppV\Client\VREG\Packages\fc6e9f2f-48d8-4ad9-92a2-7d50ec692c31\SIDS\S-1-5-21-1375947726-2994949748-3919233647-500\a178a63a-cfb1-4dfa-b5c3-7aa03c11967b\REGISTRY\MACHINE\SOFTWARE.dat' was corrupted and it has been recovered. Some data might have been lost.

According to the error, it seems the registry file of the App-V package is corrupt. To validate I have loaded the “Registry.dat” within the Registry Editor without any errors.

Conclusion

This error may not occur in a default App-V scenario but it’s possible when packages are regularly removed and added again. Currently, there is no real solution yet and the only way to avoid this nasty error is to reboot the machine. I hope Microsoft will follow up with an explanation and a fix. A very important takeaway: Always properly test the new releases of Windows 10 as they may break your environment!

Please let me know if you are encountering this same behavior or if you have any suggestions to further troubleshoot. Special thanks to Valery Atlas for reporting and helping troubleshoot this issue.

Update

It took some time but there is a patch! According to Vigneshwaran, the following KB patches will fix the issue described above:

October 18, 2018—KB4462939

October 18, 2018—KB4462932

October 24, 2018—KB4462933

Thanks for sharing!

Tags:
    1703
    app-v
    app-v
    creators update
    error
    windows 10
Ryan Ververs-Bijkerk
Written by Ryan Ververs-Bijkerk

Ryan is a self-employed technologist at GO-INIT who specializes in the EUC and code area. He primarily focuses on the user experience in centralized desktop environments.

Search

    Follow me

    Community