Background: I am virtualizing a legacy VB6 application. Current envrironment that the application runs in requires that the users be administrators of the local machine when this application is installed locally on the machine.
I have successfully packaged this application to run when the logged on user is not an administrator, but I am running into a problem when the virtualized exe file is executed on a Windows Vista/Windows 7 machine. The application will start, without a UAC prompt, but when the database connections that are created by the application are initialized, the application tries to escalate privilege and requires administrative user logon, defeating the purpose of running the application without administrator privilege. When this same packaged application is run on a Windows XP machine with a user that does not have administrative privilege, the virtualized application works as intended.
My assumption is that for a user to initialize ODBC connections in Windows Vista/Windows 7, requires an escalation of privilege, while this could be wrong, when an administrator's credentials are entered in the UAC prompt, the application then runs as intended.
Is there any way to account for this need to escalate privilege within the application package and still meet the needs of not having the users and adminstrator on the local machine?