VB6 Impersonation in Windows 7
Posted on 2011-03-14
I have a legacy application that contains some VB6 impersonation code on startup.
I am trying to make the application function on Windows 7. I've tried creating a SHIM and also used the Standard User Analyzer to 'mitigate' issues, with no success.
To be clear, I am right-clicking the application and selecting 'run as administrator'. There is a chance the application is calling another application, but I'm sure if the first app is run as 'admin' then the rest would follow?
The error message:
CreateProcessWithLogonW() failed with error 740
I don't require the application to process the impersonation seqment and simply want the error to go away!