Unable to Install ClickOnce Application due to Security Settings (Windows 10)











up vote
30
down vote

favorite
13












When attempting to install a Microsoft-signed ClickOnce application, an error appears stating "Your administrator has blocked this application because it potentially poses a security risk to your computer" and "Your security settings do not allow this application to be installed on your computer".



As the administrator who would have set said policies, I cannot for the life of me figure out why this is being blocked for just one user and not other users whose PCs are based off the same image and why it works for other users who should be enjoying the same privileges as the user who is receiving the following message. Note that the exact same domain group policies are applied to this user that is experiencing the error and to users who are not receiving the error.



Imgur



Even attempting to run the application "as an administrator" does not solve the issue. The event logs show no errors, and I cannot otherwise find any logs to help diagnose the issue.



What local policies or settings would allow or deny this application?










share|improve this question






















  • It requires Internet or Intranet Zone (Full Trust for CD-ROM installation) according to msdn.microsoft.com/en-us/library/142dbbz4(v=vs.90).aspx
    – user772515
    Sep 21 '17 at 19:43












  • This warning happening on a single user's machine or are multiple user's across multiple machines, having this problem?
    – Ramhound
    Sep 21 '17 at 22:12










  • I noted, though possibly not quite clearly, in the original question that it was being blocked for 'just one user'.
    – Beems
    Sep 22 '17 at 18:49










  • This seems like a big problem (34,438 views). How can I stop this from happening on another person's computer if I'm a developer? This problem arose from making programs in Visual Studio and trying to run the Setup.exe for my program.
    – Daniel
    Jul 31 at 12:43










  • @Daniel If your application doesn't require escalation, you can try to set the registry value under HKCU instead: HKCUSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet to Enabled (Full disclosure: I've not tested this). Otherwise, if that does not work, you can try to include an escalatable process that will set it under HKLM
    – Beems
    Aug 1 at 13:19

















up vote
30
down vote

favorite
13












When attempting to install a Microsoft-signed ClickOnce application, an error appears stating "Your administrator has blocked this application because it potentially poses a security risk to your computer" and "Your security settings do not allow this application to be installed on your computer".



As the administrator who would have set said policies, I cannot for the life of me figure out why this is being blocked for just one user and not other users whose PCs are based off the same image and why it works for other users who should be enjoying the same privileges as the user who is receiving the following message. Note that the exact same domain group policies are applied to this user that is experiencing the error and to users who are not receiving the error.



Imgur



Even attempting to run the application "as an administrator" does not solve the issue. The event logs show no errors, and I cannot otherwise find any logs to help diagnose the issue.



What local policies or settings would allow or deny this application?










share|improve this question






















  • It requires Internet or Intranet Zone (Full Trust for CD-ROM installation) according to msdn.microsoft.com/en-us/library/142dbbz4(v=vs.90).aspx
    – user772515
    Sep 21 '17 at 19:43












  • This warning happening on a single user's machine or are multiple user's across multiple machines, having this problem?
    – Ramhound
    Sep 21 '17 at 22:12










  • I noted, though possibly not quite clearly, in the original question that it was being blocked for 'just one user'.
    – Beems
    Sep 22 '17 at 18:49










  • This seems like a big problem (34,438 views). How can I stop this from happening on another person's computer if I'm a developer? This problem arose from making programs in Visual Studio and trying to run the Setup.exe for my program.
    – Daniel
    Jul 31 at 12:43










  • @Daniel If your application doesn't require escalation, you can try to set the registry value under HKCU instead: HKCUSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet to Enabled (Full disclosure: I've not tested this). Otherwise, if that does not work, you can try to include an escalatable process that will set it under HKLM
    – Beems
    Aug 1 at 13:19















up vote
30
down vote

favorite
13









up vote
30
down vote

favorite
13






13





When attempting to install a Microsoft-signed ClickOnce application, an error appears stating "Your administrator has blocked this application because it potentially poses a security risk to your computer" and "Your security settings do not allow this application to be installed on your computer".



As the administrator who would have set said policies, I cannot for the life of me figure out why this is being blocked for just one user and not other users whose PCs are based off the same image and why it works for other users who should be enjoying the same privileges as the user who is receiving the following message. Note that the exact same domain group policies are applied to this user that is experiencing the error and to users who are not receiving the error.



Imgur



Even attempting to run the application "as an administrator" does not solve the issue. The event logs show no errors, and I cannot otherwise find any logs to help diagnose the issue.



What local policies or settings would allow or deny this application?










share|improve this question













When attempting to install a Microsoft-signed ClickOnce application, an error appears stating "Your administrator has blocked this application because it potentially poses a security risk to your computer" and "Your security settings do not allow this application to be installed on your computer".



As the administrator who would have set said policies, I cannot for the life of me figure out why this is being blocked for just one user and not other users whose PCs are based off the same image and why it works for other users who should be enjoying the same privileges as the user who is receiving the following message. Note that the exact same domain group policies are applied to this user that is experiencing the error and to users who are not receiving the error.



Imgur



Even attempting to run the application "as an administrator" does not solve the issue. The event logs show no errors, and I cannot otherwise find any logs to help diagnose the issue.



What local policies or settings would allow or deny this application?







windows-10 clickonce






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 21 '17 at 19:39









Beems

3583819




3583819












  • It requires Internet or Intranet Zone (Full Trust for CD-ROM installation) according to msdn.microsoft.com/en-us/library/142dbbz4(v=vs.90).aspx
    – user772515
    Sep 21 '17 at 19:43












  • This warning happening on a single user's machine or are multiple user's across multiple machines, having this problem?
    – Ramhound
    Sep 21 '17 at 22:12










  • I noted, though possibly not quite clearly, in the original question that it was being blocked for 'just one user'.
    – Beems
    Sep 22 '17 at 18:49










  • This seems like a big problem (34,438 views). How can I stop this from happening on another person's computer if I'm a developer? This problem arose from making programs in Visual Studio and trying to run the Setup.exe for my program.
    – Daniel
    Jul 31 at 12:43










  • @Daniel If your application doesn't require escalation, you can try to set the registry value under HKCU instead: HKCUSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet to Enabled (Full disclosure: I've not tested this). Otherwise, if that does not work, you can try to include an escalatable process that will set it under HKLM
    – Beems
    Aug 1 at 13:19




















  • It requires Internet or Intranet Zone (Full Trust for CD-ROM installation) according to msdn.microsoft.com/en-us/library/142dbbz4(v=vs.90).aspx
    – user772515
    Sep 21 '17 at 19:43












  • This warning happening on a single user's machine or are multiple user's across multiple machines, having this problem?
    – Ramhound
    Sep 21 '17 at 22:12










  • I noted, though possibly not quite clearly, in the original question that it was being blocked for 'just one user'.
    – Beems
    Sep 22 '17 at 18:49










  • This seems like a big problem (34,438 views). How can I stop this from happening on another person's computer if I'm a developer? This problem arose from making programs in Visual Studio and trying to run the Setup.exe for my program.
    – Daniel
    Jul 31 at 12:43










  • @Daniel If your application doesn't require escalation, you can try to set the registry value under HKCU instead: HKCUSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet to Enabled (Full disclosure: I've not tested this). Otherwise, if that does not work, you can try to include an escalatable process that will set it under HKLM
    – Beems
    Aug 1 at 13:19


















It requires Internet or Intranet Zone (Full Trust for CD-ROM installation) according to msdn.microsoft.com/en-us/library/142dbbz4(v=vs.90).aspx
– user772515
Sep 21 '17 at 19:43






It requires Internet or Intranet Zone (Full Trust for CD-ROM installation) according to msdn.microsoft.com/en-us/library/142dbbz4(v=vs.90).aspx
– user772515
Sep 21 '17 at 19:43














This warning happening on a single user's machine or are multiple user's across multiple machines, having this problem?
– Ramhound
Sep 21 '17 at 22:12




This warning happening on a single user's machine or are multiple user's across multiple machines, having this problem?
– Ramhound
Sep 21 '17 at 22:12












I noted, though possibly not quite clearly, in the original question that it was being blocked for 'just one user'.
– Beems
Sep 22 '17 at 18:49




I noted, though possibly not quite clearly, in the original question that it was being blocked for 'just one user'.
– Beems
Sep 22 '17 at 18:49












This seems like a big problem (34,438 views). How can I stop this from happening on another person's computer if I'm a developer? This problem arose from making programs in Visual Studio and trying to run the Setup.exe for my program.
– Daniel
Jul 31 at 12:43




This seems like a big problem (34,438 views). How can I stop this from happening on another person's computer if I'm a developer? This problem arose from making programs in Visual Studio and trying to run the Setup.exe for my program.
– Daniel
Jul 31 at 12:43












@Daniel If your application doesn't require escalation, you can try to set the registry value under HKCU instead: HKCUSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet to Enabled (Full disclosure: I've not tested this). Otherwise, if that does not work, you can try to include an escalatable process that will set it under HKLM
– Beems
Aug 1 at 13:19






@Daniel If your application doesn't require escalation, you can try to set the registry value under HKCU instead: HKCUSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet to Enabled (Full disclosure: I've not tested this). Otherwise, if that does not work, you can try to include an escalatable process that will set it under HKLM
– Beems
Aug 1 at 13:19












1 Answer
1






active

oldest

votes

















up vote
39
down vote



accepted










This is caused by the "ClickOnce Trust Prompt Behavior": https://msdn.microsoft.com/en-us/library/ee308453.aspx



To adjust this, simply change the values in the Registry and you should be able to install the application.




To enable the ClickOnce trust prompt by using the registry editor Open
the registry editor:



Click Start, and then click Run.



In the Open box, type regedit32, and then click OK.



Find the following registry key:



HKEY_LOCAL_MACHINESOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevel



If the key does not exist, create it.



Add the following subkeys as String Value, if they do not already
exist, with the associated values shown in the following table.




Table Image



On my computer, the values were set to "Disabled" and I have no clue which application did that. I changed the values to default and now everything works again like it should.



Or you can just delete the key "TrustManager" itself and everything is working as well.









share|improve this answer



















  • 11




    Thanks, this was indeed the problem. I changed "HKLMSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet" to Enabled and it works as-intended now.
    – Beems
    Sep 22 '17 at 19:15












  • I would like to mention that default option is "Enabled" for all but Untrusted sites.
    – Hooch
    Nov 6 '17 at 8:03






  • 2




    In my case i need to change HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkSecurityTrustManagerPromptingLevelto Enabled
    – MaciejLisCK
    Jan 6 at 1:36






  • 1




    There are different entries for different zones, such as Internet, LocalIntranet, MyComputer, TrustedSites, UntrustedSites. Pick the one that fits your scenario and change its value to Enabled.
    – smwikipedia
    Aug 1 at 2:14










protected by Community Sep 26 at 11:05



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
39
down vote



accepted










This is caused by the "ClickOnce Trust Prompt Behavior": https://msdn.microsoft.com/en-us/library/ee308453.aspx



To adjust this, simply change the values in the Registry and you should be able to install the application.




To enable the ClickOnce trust prompt by using the registry editor Open
the registry editor:



Click Start, and then click Run.



In the Open box, type regedit32, and then click OK.



Find the following registry key:



HKEY_LOCAL_MACHINESOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevel



If the key does not exist, create it.



Add the following subkeys as String Value, if they do not already
exist, with the associated values shown in the following table.




Table Image



On my computer, the values were set to "Disabled" and I have no clue which application did that. I changed the values to default and now everything works again like it should.



Or you can just delete the key "TrustManager" itself and everything is working as well.









share|improve this answer



















  • 11




    Thanks, this was indeed the problem. I changed "HKLMSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet" to Enabled and it works as-intended now.
    – Beems
    Sep 22 '17 at 19:15












  • I would like to mention that default option is "Enabled" for all but Untrusted sites.
    – Hooch
    Nov 6 '17 at 8:03






  • 2




    In my case i need to change HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkSecurityTrustManagerPromptingLevelto Enabled
    – MaciejLisCK
    Jan 6 at 1:36






  • 1




    There are different entries for different zones, such as Internet, LocalIntranet, MyComputer, TrustedSites, UntrustedSites. Pick the one that fits your scenario and change its value to Enabled.
    – smwikipedia
    Aug 1 at 2:14















up vote
39
down vote



accepted










This is caused by the "ClickOnce Trust Prompt Behavior": https://msdn.microsoft.com/en-us/library/ee308453.aspx



To adjust this, simply change the values in the Registry and you should be able to install the application.




To enable the ClickOnce trust prompt by using the registry editor Open
the registry editor:



Click Start, and then click Run.



In the Open box, type regedit32, and then click OK.



Find the following registry key:



HKEY_LOCAL_MACHINESOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevel



If the key does not exist, create it.



Add the following subkeys as String Value, if they do not already
exist, with the associated values shown in the following table.




Table Image



On my computer, the values were set to "Disabled" and I have no clue which application did that. I changed the values to default and now everything works again like it should.



Or you can just delete the key "TrustManager" itself and everything is working as well.









share|improve this answer



















  • 11




    Thanks, this was indeed the problem. I changed "HKLMSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet" to Enabled and it works as-intended now.
    – Beems
    Sep 22 '17 at 19:15












  • I would like to mention that default option is "Enabled" for all but Untrusted sites.
    – Hooch
    Nov 6 '17 at 8:03






  • 2




    In my case i need to change HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkSecurityTrustManagerPromptingLevelto Enabled
    – MaciejLisCK
    Jan 6 at 1:36






  • 1




    There are different entries for different zones, such as Internet, LocalIntranet, MyComputer, TrustedSites, UntrustedSites. Pick the one that fits your scenario and change its value to Enabled.
    – smwikipedia
    Aug 1 at 2:14













up vote
39
down vote



accepted







up vote
39
down vote



accepted






This is caused by the "ClickOnce Trust Prompt Behavior": https://msdn.microsoft.com/en-us/library/ee308453.aspx



To adjust this, simply change the values in the Registry and you should be able to install the application.




To enable the ClickOnce trust prompt by using the registry editor Open
the registry editor:



Click Start, and then click Run.



In the Open box, type regedit32, and then click OK.



Find the following registry key:



HKEY_LOCAL_MACHINESOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevel



If the key does not exist, create it.



Add the following subkeys as String Value, if they do not already
exist, with the associated values shown in the following table.




Table Image



On my computer, the values were set to "Disabled" and I have no clue which application did that. I changed the values to default and now everything works again like it should.



Or you can just delete the key "TrustManager" itself and everything is working as well.









share|improve this answer














This is caused by the "ClickOnce Trust Prompt Behavior": https://msdn.microsoft.com/en-us/library/ee308453.aspx



To adjust this, simply change the values in the Registry and you should be able to install the application.




To enable the ClickOnce trust prompt by using the registry editor Open
the registry editor:



Click Start, and then click Run.



In the Open box, type regedit32, and then click OK.



Find the following registry key:



HKEY_LOCAL_MACHINESOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevel



If the key does not exist, create it.



Add the following subkeys as String Value, if they do not already
exist, with the associated values shown in the following table.




Table Image



On my computer, the values were set to "Disabled" and I have no clue which application did that. I changed the values to default and now everything works again like it should.



Or you can just delete the key "TrustManager" itself and everything is working as well.










share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 26 at 16:43









Preston

1033




1033










answered Sep 22 '17 at 12:00









Thomas Sturzenegger

50633




50633








  • 11




    Thanks, this was indeed the problem. I changed "HKLMSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet" to Enabled and it works as-intended now.
    – Beems
    Sep 22 '17 at 19:15












  • I would like to mention that default option is "Enabled" for all but Untrusted sites.
    – Hooch
    Nov 6 '17 at 8:03






  • 2




    In my case i need to change HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkSecurityTrustManagerPromptingLevelto Enabled
    – MaciejLisCK
    Jan 6 at 1:36






  • 1




    There are different entries for different zones, such as Internet, LocalIntranet, MyComputer, TrustedSites, UntrustedSites. Pick the one that fits your scenario and change its value to Enabled.
    – smwikipedia
    Aug 1 at 2:14














  • 11




    Thanks, this was indeed the problem. I changed "HKLMSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet" to Enabled and it works as-intended now.
    – Beems
    Sep 22 '17 at 19:15












  • I would like to mention that default option is "Enabled" for all but Untrusted sites.
    – Hooch
    Nov 6 '17 at 8:03






  • 2




    In my case i need to change HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkSecurityTrustManagerPromptingLevelto Enabled
    – MaciejLisCK
    Jan 6 at 1:36






  • 1




    There are different entries for different zones, such as Internet, LocalIntranet, MyComputer, TrustedSites, UntrustedSites. Pick the one that fits your scenario and change its value to Enabled.
    – smwikipedia
    Aug 1 at 2:14








11




11




Thanks, this was indeed the problem. I changed "HKLMSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet" to Enabled and it works as-intended now.
– Beems
Sep 22 '17 at 19:15






Thanks, this was indeed the problem. I changed "HKLMSOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevelInternet" to Enabled and it works as-intended now.
– Beems
Sep 22 '17 at 19:15














I would like to mention that default option is "Enabled" for all but Untrusted sites.
– Hooch
Nov 6 '17 at 8:03




I would like to mention that default option is "Enabled" for all but Untrusted sites.
– Hooch
Nov 6 '17 at 8:03




2




2




In my case i need to change HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkSecurityTrustManagerPromptingLevelto Enabled
– MaciejLisCK
Jan 6 at 1:36




In my case i need to change HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkSecurityTrustManagerPromptingLevelto Enabled
– MaciejLisCK
Jan 6 at 1:36




1




1




There are different entries for different zones, such as Internet, LocalIntranet, MyComputer, TrustedSites, UntrustedSites. Pick the one that fits your scenario and change its value to Enabled.
– smwikipedia
Aug 1 at 2:14




There are different entries for different zones, such as Internet, LocalIntranet, MyComputer, TrustedSites, UntrustedSites. Pick the one that fits your scenario and change its value to Enabled.
– smwikipedia
Aug 1 at 2:14





protected by Community Sep 26 at 11:05



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

Mouse cursor on multiple screens with different PPI

Agildo Ribeiro

Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”