Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to make available an .EXE file to someone but I want it to ask for a password before it executes. How can I do that?

share|improve this question
Hate to to give a stfw/lmgtfy comment, but did you try a simple search for password protect exe? The top hits I see all seem to be for programs that will do this. One of the popular solutions seems to be Empathy. –  Zoredache Feb 24 '12 at 0:53
Definitely could have been very easily researched online, but it is a valid question, even if it shows no effort. And it adds to SuperUser's rep as a compendium of valid and accurate solutions online. Unless there is a clear duplicate question already answered here, I'd refrain from closing this. –  music2myear Feb 24 '12 at 16:02
add comment

closed as not constructive by Zoredache, Simon Sheehan, DragonLord, Tom Wijsman, techie007 Mar 3 '12 at 20:32

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

4 Answers

You can use something like AxCrypt to encrypt your EXE before sending it to your friend. Remember to choose Encrypt copy to .EXE when creating the encrypted EXE. This will mean your friend doesn't have to install AxCrypt or any other additional piece of software to be able to decrypt it. When (s)he double clicks on it, (s)he will be asked for a password like you want.

AxCrypt is open source to boot.

share|improve this answer
add comment

Probably the best way is to make the EXE and then put it in a password protected ZIP file and send that to your friend. In order to do this you will need third-party software such as 7-zip (http://www.7-zip.org/)

share|improve this answer
But I want it to just ask for the password and then execute straightaway. –  CJ7 Feb 24 '12 at 0:37
add comment

If you have a non-Home edition of Windows, you simply use NTFS permissions to enable only certain users/groups to execute the program. You can shift-right-click the shortcut or .exe to Run as different user.

share|improve this answer
add comment

Try this:

KaKa ExeLock 3.15 : works with Windows 2000/2003/XP/Vista/Windows 7 (32&64)


Game Protector : works with Windows XP, Windows Vista and Windows 7. Any executable not only games.


Hope this help. Let us know.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.