Page 1 of 1
Custom manifest to make protected application run as admin
Posted: Sat Oct 05, 2013 8:33 am
by Tony
I was wondering what is the code i should input in the custom manifest to properly make my protected application run as an administrator in vista/7/8?
tried this and my application does not start
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
Re: Custom manifest to make protected application run as adm
Posted: Sat Oct 05, 2013 2:03 pm
by Enigma
Hi Tony,
The manifest text should be the following:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0"
processorArchitecture="X86"
name="IsUserAdmin"
type="win32"/>
<description>Description of your application</description>
<!-- Identify the application security requirements. -->
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="requireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Re: Custom manifest to make protected application run as adm
Posted: Wed Feb 19, 2014 11:18 am
by Tony
Im using this code on one of my applications and recently its being detected as a false detective from avast, i reported to avast many times that my file is clean and they still have not rectified the problem. Really frustrated.
Ive emailed the file to
support@enigmaprotector.com
Re: Custom manifest to make protected application run as adm
Posted: Thu Feb 20, 2014 9:07 am
by Enigma
Hi Tony,
Avast changed the way they accept false detected samples, you need to use this form:
http://www.avast.com/contact-form.php
Make sure you've noted there that there is a false alert on a file.
Try this way, it has to work.
Re: Custom manifest to make protected application run as adm
Posted: Thu Feb 20, 2014 3:26 pm
by Tony
I have send the form many times for weeks and still the same even after updates, not only avast but other antiviruses as well
only this gets detected, is there any better manifest so it wont be false detected
Re: Custom manifest to make protected application run as adm
Posted: Thu Feb 20, 2014 3:39 pm
by Enigma
You may simple put this content in separate manifest file.
For example, if your main app file name is game.exe, then create a text file with the game.exe.manifest and put this manifest content into it.
This way will give you same effect as if you use this feature in Enigma Protector.