Can I stop "The Publisher could not be verified. Are you sure you want to run this software"? from popuping up when I run an exe? It is really annoying :) Will it require me to completely disable DEP?
(PS I'm running windows 7 32 bit)
To disable this dialogue box for ALL .exe files, you can add the following key to your registry:
Note: this is not advisable, as it opens up your computer to other risks.
Other than that, ClickOff is your friend (a more general approach to such annoyances :)
ClickOff has been written out of a personal need - like most programs here. Questions like "are you sure you want to exit the program?" made me go insane after having seen them a dozen of times.
ClickOff is developed to be the Swiss Army knife for window handling, not just a simple popup blocker.
Here are some key features:
ClickOff is freeware.
When I download an EXE from the internet, it prompts me as you indicate. However, if I put an EXE on the desktop (for example) and run it, there's a checkbox that allows me to say "don't prompt me for this again". You might not get additional checkbox if you're running the program out of the program files directory. In this case, I believe you can turn off UAC, reboot, run the program, set the checkbox, and then turn back on UAC.
Another option is to delete the alternative file stream Zone.Identifier. This allows you to disable it from a particular .exe
If the EXE was extracted from a ZIP file downloaded from the Internet, do not use zipped folders (the File Explorer interface) but a third-party tool such as 7-Zip. (If you have already extracted the EXE and still have the ZIP file, you can simply delete the EXE and extract it again.)
Zipped Folders will preserve the Zone.Identifier ADS (which stores this information), 7-Zip (as of 16.04) will not.