Answered UAC Virtualization and NTVDM

  • Thursday, January 10, 2013 2:17 PM
     
     

    I've recently run into a problem with a 16 bit application that has been installed onto our new Windows 7 (x86) fleet.

    The users originally reported that the software would only run correctly when they turned UAC down to the minimum level (via control panel). After investigation i've norrowed it down to the UAC virtualization component. If the UAC virtualization is disabled (via reg key) and the machine restarted, the software works. If UAC virtualization is enabled it does not work. Obviously I dont want to disable either these for the machine for the sake of one application. The underlying issue appears to be interaction with a service and content on a mapped drive, although not confirmed, currently awaiting the source to put this on my VM and have a proper play. Until i can investigate further i would like to find a better solution that disables the UAC virtualization component for the one application.

    Normally in this situation i would use the application compatability toolkit, however as a 16 bit application it won't work.

    A previous alternative was to use manifest files. This doesnt seem to work, again due to it being a 16bit app and therefore NTVDM.

    I've also used procmon to find files/folders and registry entries to ensure the permissions are set appropriately.

    So my basic question.. is there a way to disable UAC virtualization for a single 16bit application? Or any other suggestions?

    (There is no new version of this software currently available)

All Replies

  • Thursday, January 10, 2013 8:54 PM
     
     

    Rather than using a manifest or a shim. Have you tried by setting the application compatibility on the .exe?

    I believe if you select Windows XP SP3 or whatever is required, it should be similar to setting up a shim with the reg and directory virtualization.


    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog: rorymon.com Twitter: @Rorymon

  • Friday, January 11, 2013 7:39 AM
    Moderator
     
     

    Hi,

    Yeah, first of all, we could try the compatibility mode for a check.

    If you have any feedback on our support, please click here


    Alex Zhao
    TechNet Community Support

  • Monday, January 14, 2013 6:00 AM
    Moderator
     
     

    Hi,

    I am just writing to check the status of this thread. Was the information provided in previous reply helpful to you? Do you have any further questions or concerns? Please feel free to let us know.

    If you have any feedback on our support, please click here


    Alex Zhao
    TechNet Community Support

  • Wednesday, January 16, 2013 10:02 AM
     
     

    Apologies for the delay, seems as though I cannot post using my paid up technet account.....

    thanks for the responses. The solution provided above does not fix the application. It still fails to function.

    I suspect that this is due to the compatibility changes requiring elevation when launched, which then cannot access items on the mapped drive.

    Regards

  • Tuesday, January 22, 2013 2:46 AM
    Moderator
     
     Answered

    Hi,

    Based on my knowledge, there is no way to disable  UAC  for one specific application.

    If you have any feedback on our support, please click here


    Alex Zhao
    TechNet Community Support