Program works fine with UAC turned off, not at all with it is turned on

Answered Program works fine with UAC turned off, not at all with it is turned on

  • Monday, August 20, 2012 5:33 AM
     
     

    I have a launcher program that has an embedded manifest (c++) that requires admin access.  With UAC turned off, it runs fine.  The manifest was set up using the linker settings in VS 2010.

    If UAC is turned on (win 7 or 8), it doesn't appear to run at all, nor are any UAC messages or errors presented.  If it is executed at all, it's too fast for the refresh time in task manager.  It also didn't show up in the Win8 task manager history.

    I have another program written in c# that also has an embedded manifest with admin required.  This one works fine in both win7 and 8.

    Anyone have any ideas?

    Andy

    More info.  Tried removing the manifest.  On the Win7 VM, with UAC off, it worked, on Win8 VM, it still didn't work.

    This is a c++ program that doesn't use the .NET framework.  It is just used to check if v4 is installed, and if not it installs it, then runs the program that requires it.

    It is rather odd the behavior of this program.

    • Edited by LLAndyW Monday, August 20, 2012 5:51 AM
    •  

All Replies

  • Tuesday, August 21, 2012 2:55 AM
     
     Answered

    I compiled it with VS 2012, and everything worked fine.

    Used the same settings with both.

    • Marked As Answer by LLAndyW Tuesday, August 21, 2012 2:55 AM
    •