• 0

Anyone know a good bat to exe converter?


Question

i've been using bat to exe converter 1.5.1 from f2ko.de but now when i compile bat files to exe with the "vista administrator manifest" option selected the exe's crash out, this happened before when i upgraded to windows 7 sp1 and since then they released a new version which fixed it. tried running it in several compatibility states still a no go. so im looking for a replacement that can compile bat to exe with the administrator manifest option (makes the program run as administrator with uac in win 7 / vista)

post-248303-0-34524500-1310508677.png

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

ive already scoured the web and found the two that you guys found (thanks btw) i just cant find one that will allow me to add the administrator manifest to the exes it creates so that when they are ran u get the administrator uac prompt

Guess: To hide what the .bat is doing?

that and to prevent reverse engineering

Link to comment
Share on other sites

  • 0

ive already scoured the web and found the two that you guys found (thanks btw) i just cant find one that will allow me to add the administrator manifest to the exes it creates so that when they are ran u get the administrator uac prompt

that and to prevent reverse engineering

You can reverse engineer the exe file...

Link to comment
Share on other sites

  • 0

what specific manifest are you adding? And what crash are you getting exactly. Does it run and then windows just ask if ran correctly?

Also can't you just use the mt windows tool to add your manifest, why does it have to be built into the bat to exe tool?

http://msdn.microsoft.com/en-us/library/aa375649%28v=vs.85%29.aspx

The Mt.exe file is a tool that generates signed files and catalogs. It is available in the Windows SDK. Mt.exe requires that the file referenced in the manifest be present in the same directory as the manifest.

So something like

mt -manifest somename.exe.manifest -outputresource:somename.exe;#1

Link to comment
Share on other sites

  • 0

Try this

make manifest file "YourExeName.exe.manifest" as follows:

NOTE: there is one more YourExeName in the code below. replace that with your exe file name. Exe and the manifest file should be in the same folder

<?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="YourExeName" type="win32"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Create this manifest file and use budmans method above this post. that would embed the manifest file in the exe.

Link to comment
Share on other sites

  • 0

I've coded a converter in C#, fully working... Is .net dependency a issue for you?

Link to comment
Share on other sites

  • 0

yea basically i need the exe to prompt for administrator privileges before it runs or some of the command the batch exe executes will not run properly. the batch converter that i was using did work flawlessly but now when you go to run the compiled batch exe the program crashes and you get the program failed to load message from windows. like i said this compiler did this when i upgraded to windows 7 sp1 and its not isolated ive tried it on 3 non related machines, they released a patch after sp1 that fixed it but nothing now. i even mailed the developer. grrr

I've coded a converter in C#, fully working... Is .net dependency a issue for you?

no thats fine please share :)

Link to comment
Share on other sites

  • 0

"i need the exe to prompt for administrator privileges before it runs"

Because why, right click run as admin is too much work, or what about just setting the shortcut to run as admin?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.