Windows – Your administrator has blocked this application because it potentially poses a security risk to your computer

clickonceinstallationwindows 7

I have created an application I send (by email) with ClickOnce with Visual Studio C#.
Someone gets the following error:

Your administrator has blocked this application because it potentially poses a security risk to your computer.
Your security settings do not allow this application to be installed on your computer.

He uses Windows 7, 64 bits.

What can/should he do to be able to install the application?

Thanks in advance.

Best Answer

I think the issue really is that the system has the flag "do not allow unsigned code" enabled. This would make the downloaded file "blocked" by default if the code is not signed. Did you sign your code with a valid Authenticode certificate? Ask the user to right click the executable, and then find the "unblock" button. I cannot remember exactly which tab the button is on. I think that might fix your issue

Related Question