jadtunrau Posted June 1, 2010 Posted June 1, 2010 I just started using WPI (awesome app by the way!), but I'm getting a security warning before installing each program. I'm using Windows 7, and the warning I get is "Open File - Security Warning". Once I click OK, the rest is silent. I don't want to disable this warning functionality permanently, just while WPI is installing. Maybe there is something I can add to the command line, like /s or something? Any help would be appreciated.
cluberti Posted June 2, 2010 Posted June 2, 2010 What file throws the warning, and from what path is it running? Usually you get that warning when a file has been downloaded from the internet (and still has the unsafe flag set in it's file stream), or you're running something from a network source (and the network server's path isn't listed in the Local Intranet Zone in IE).
jadtunrau Posted June 2, 2010 Author Posted June 2, 2010 What file throws the warning, and from what path is it running? Usually you get that warning when a file has been downloaded from the internet (and still has the unsafe flag set in it's file stream), or you're running something from a network source (and the network server's path isn't listed in the Local Intranet Zone in IE).It doesn't seem to matter what program - almost all of them throw that warning. The warning says "The publisher could not be verified. Are you sure you want to run this software?" It is not being run from a network drive, but rather from my desktop. Isn't there a way to skip this warning? I'm going to deploy WPI upon the initial install of windows, but I want it to run without any user intervention (bypassing all prompts, etc).
cluberti Posted June 2, 2010 Posted June 2, 2010 Try the following registry modification (documented pretty well here) before running WPI:Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\AssociationsValue: LowRiskFileTypesType: REG_SZData: .exe
jadtunrau Posted June 2, 2010 Author Posted June 2, 2010 Try the following registry modification (documented pretty well here) before running WPI:Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\AssociationsValue: LowRiskFileTypesType: REG_SZData: .exeAwesome! That's exactly what I need. Now how can I make it into a script, one to run before, and then one to run after WPI completes, to change it back to have the security again.
cluberti Posted June 2, 2010 Posted June 2, 2010 You can either use reg add/reg delete or regedit /s <reg file containing settings> from a batch, or use a vbscript calling the StdRegProv (you could even do it with a powershell script for Vista or Win7) to add/delete reg keys. This is the easy part, I expect you've at least written a batch or vbscript before, yes?
mritter Posted June 2, 2010 Posted June 2, 2010 That key, and 2 others, are already set internally by WPI. If it is not working properly, as in, need to set before WPI runs, then I can update the WPI.exe to set them before the mshta is launched.Keep me informed.
jadtunrau Posted June 2, 2010 Author Posted June 2, 2010 That key, and 2 others, are already set internally by WPI. If it is not working properly, as in, need to set before WPI runs, then I can update the WPI.exe to set them before the mshta is launched.Keep me informed.Ok, I did a little more testing and found out that it's only happening when I run WPI from a network drive. Is that supposed to happen?
cluberti Posted June 2, 2010 Posted June 2, 2010 Ok, I did a little more testing and found out that it's only happening when I run WPI from a network drive. Is that supposed to happen?Emphasis mine:Usually you get that warning when a file has been downloaded from the internet (and still has the unsafe flag set in it's file stream), or you're running something from a network source (and the network server's path isn't listed in the Local Intranet Zone in IE).
jadtunrau Posted June 2, 2010 Author Posted June 2, 2010 Ok, I did a little more testing and found out that it's only happening when I run WPI from a network drive. Is that supposed to happen?Emphasis mine:Usually you get that warning when a file has been downloaded from the internet (and still has the unsafe flag set in it's file stream), or you're running something from a network source (and the network server's path isn't listed in the Local Intranet Zone in IE).Sorry, guys that was my bad. I was testing it on a Virtual Box, so I sort of forgot that I was running it from a network drive. Anyway thanks for your help and the terrific program!
djackson Posted December 8, 2010 Posted December 8, 2010 (edited) Sorry to relaunch an old post...What file throws the warning, and from what path is it running? Usually you get that warning when a file has been downloaded from the internet (and still has the unsafe flag set in it's file stream), or you're running something from a network source (and the network server's path isn't listed in the Local Intranet Zone in IE).I'm just updating my WPI USB disk and keep getting a similar problem, but mine is only related to downloaded and updated apps. How do I clear the unsafe flag on the downloaded file?---------8<---------Please disregard...I found the setting...cheers! Edited December 8, 2010 by djackson
FoaMDarT Posted February 1, 2011 Posted February 1, 2011 I'm just updating my WPI USB disk and keep getting a similar problem, but mine is only related to downloaded and updated apps. How do I clear the unsafe flag on the downloaded file?---------8<---------Please disregard...I found the setting...cheers!Where is the setting? Thanks.
Configinator Posted December 8, 2011 Posted December 8, 2011 Right Click on file > Properties > unblock
Kelsenellenelvian Posted December 9, 2011 Posted December 9, 2011 ummm thanks for answering a year old question?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now