Bypass UAC
Many times in XP I had to create a package for a locked down environment. Using Wise Script Editor you can call a .DLL and basically mimic doing a "run as" for your commands and then RunAs DOMAIN\AdminUser. It works quite well. So a member of the USERS group can run the exe and install it.
Can you do the same thing in Windows 7 when the user is locked down via UAC? And if so how?
Can you do the same thing in Windows 7 when the user is locked down via UAC? And if so how?
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
PackageExpert
14 years ago
A thorough learning of this topic will help....
http://msdn.microsoft.com/en-us/library/dd744763(VS.85).aspx
The tool is Application Compatibility Toolkit.msi and you may install it to have fixes for Windows 7 MSI's.....eg..supress UAC...run exe as admin..... you got to read a lot...
Fixes are done using Compatibility Administrator and it creates a .sdb file which you need to install with your package. A little pain I know..but thats the only method I'm aware of.... Hope it helps.
http://msdn.microsoft.com/en-us/library/dd744763(VS.85).aspx
The tool is Application Compatibility Toolkit.msi and you may install it to have fixes for Windows 7 MSI's.....eg..supress UAC...run exe as admin..... you got to read a lot...
Fixes are done using Compatibility Administrator and it creates a .sdb file which you need to install with your package. A little pain I know..but thats the only method I'm aware of.... Hope it helps.
Posted by:
elgwhoppo
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.