Disable App-V creating HKEY_CLASSES_ROOT\Applications "shell open" registry key RRS feed

  • Question

  • We have sequenced an application that partly resides on our network.

    The shortcuts use UNC paths.

    App-V automatically creates a registry key: HKEY_CLASSES_ROOT\Applications\TheApp.exe\shell\open\command that also uses the UNC path.

    After lots and lots (and really lots) of troubleshooting we have determined that THIS is the cause of unexpected and unwanted behavior: it causes a minute(s) long delay in opening files on our laptops when they are not connected to our network but any other network. This occurs when double- or right-clicking any file.

    When we delete the registry key and restart explorer the behavior is normal and opening files is fast.

    When the package is repaired or refreshed the key re-appears and the problems start again.

    The OS is Windows 10 with the built-in App-V client.

    Editing the package shows this registry key is not in the package.

    Exporting the manifest does not show ContextMenuhandlers etc.

    It seems that the App-V client automatically creates an entry for each application in HKEY_CLASSES_ROOT\Applications.

    Is there any way to stop this?

    Otherwise we will have to reinstall / re-sequence the application to run locally or something like that.

    Deleting the key with GP Preferences is also not working because they run before the packages are refreshed (at each user logon).

    • Edited by UniMatrix Friday, August 11, 2017 7:20 AM
    Friday, August 11, 2017 7:19 AM

All replies

  • All applications which are listed by running the following PoSh command are listed here: 


    If you create a shortcut to such an application, it will also get an entry in your manifestfile like:

    		<Application Id="[{ProgramFilesX86}]\installdir\package.exe" Origin="Application" TargetInPackage="true">

    So if you pointed your shortcut to the unc path directly, I would assume, you also get an entry like this.
    Is it possible to create a batchfile, and run it through cmd.exe (point your shortcut to the batchfile, or cmd.exe /c wrapper)?

    Roy Essers

    • Edited by Roy Essers Friday, August 11, 2017 3:30 PM
    Friday, August 11, 2017 3:29 PM