Note: if the first one helps, you can then add some vbs code to your UFT script prior to SystemUtil.Run statement to temprary apply the setting through Windows registry, and then - at the script end - revert back this setting.
I think this is only thing you can do from within UFT in this case.
But probably you wont be able to turn off temporary UAC itself this way because it would require system reboot in order to take effect.
“HP Support If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Altering the setting in the Local Security Policy - to change opening the application in administrator mode to 'Elevate without prompting' does work, and it seems in Win8.1 it doens't require a reboot.
You mention adding vbs code to temporarily apply the setting through the Windows registry, could you advise or point me in the direction of what code I should be using here? UFT cannot be run in record or spy mode on the Local Security Policy dialog.
I've now got round to looking at this in a little more depth and have found a way of doing it that suits me better and thought you might like to know in case its of use to you (or others) in the future.