Windows >
Software Development for Windows Client Forums
>
Application Compatibility for Windows Development
>
Windows 7 - UAC problems Administrator account
Windows 7 - UAC problems Administrator account
Hello, Our legacy application use COM Server which require compatibility to XPSP2 to run in Widows Vista and Windows 7. This application runs without any messages and problems in Vista but in Windows 7, in Administrator account UAC message shown on launch of the application and warns that this application is about to change files. However when running this application in standard user the application launches without UAC messages. Is there way to launch the application in administrator account with lesser privileges as it runs in the standard account ?
- Changed TypeJialiang Ge [MSFT]MSFT, ModeratorTuesday, November 03, 2009 7:15 AMOP does not follow up.
All Replies
- Hello Eyal
The behavior looks like highestAvailable requestedExecutionLevel
http://msdn.microsoft.com/en-us/library/bb756929.aspx
highestAvailable
The application runs with the highest privileges the current user can obtain.
Recommended for mixed-mode applications. Plan to refractor the application in a future release.
Could you please use this tool to retrieve the manifest of the application, and post the manifest content here?
http://weblogs.asp.net/blogs/kennykerr/ManifestView.zip
Regards,
Jialiang Ge
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Thanks for your answer
Unfortanently I am not in work so I cant give you the manifest today.
We embeded the manifest with runexecution level as invoker and uiaccess=false in addition application is not installed in the program files directory but in c:\application name and also the executable is signed. - Hello
> in Windows 7, in Administrator account UAC message shown on launch of the application and warns that this application is about to change files.
What file is the application about to change? Is the file under restricted locations like C:\Program Files?
Are you using COM Elevation Moniker http://msdn.microsoft.com/en-us/library/ms679687(VS.85).aspx?
Regards,
Jialiang Ge
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Hello
How are you? Could you please check the above-mentioned inforamtion for me?
Regards,
Jialiang Ge
MSDN Subscriber Support in Forum
If you have any feedback of our support, please contact msdnmg@microsoft.com.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Regards,
Jialiang Ge
MSDN Subscriber Support in Forum
If you have any feedback of our support, please contact msdnmg@microsoft.com.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.


