Custom manifest to make protected application run as admin

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
Tony
Posts: 41
Joined: Mon Jul 12, 2010 1:53 pm

Custom manifest to make protected application run as admin

Post by Tony » Sat Oct 05, 2013 8:33 am

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>

Enigma
Site Admin
Posts: 2554
Joined: Wed Aug 20, 2008 2:24 pm

Re: Custom manifest to make protected application run as adm

Post by Enigma » Sat Oct 05, 2013 2:03 pm

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>

Tony
Posts: 41
Joined: Mon Jul 12, 2010 1:53 pm

Re: Custom manifest to make protected application run as adm

Post by Tony » Wed Feb 19, 2014 11:18 am

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

Enigma
Site Admin
Posts: 2554
Joined: Wed Aug 20, 2008 2:24 pm

Re: Custom manifest to make protected application run as adm

Post by Enigma » Thu Feb 20, 2014 9:07 am

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.

Tony
Posts: 41
Joined: Mon Jul 12, 2010 1:53 pm

Re: Custom manifest to make protected application run as adm

Post by Tony » Thu Feb 20, 2014 3:26 pm

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

Enigma
Site Admin
Posts: 2554
Joined: Wed Aug 20, 2008 2:24 pm

Re: Custom manifest to make protected application run as adm

Post by Enigma » Thu Feb 20, 2014 3:39 pm

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.

Post Reply