MSFN Forum: How do I skip the Open File Security Warning - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How do I skip the Open File Security Warning Rate Topic: -----

#1 User is offline   jadtunrau 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 12-January 10

Posted 01 June 2010 - 01:36 PM

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.


#2 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,000
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 June 2010 - 06:36 PM

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).

#3 User is offline   jadtunrau 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 12-January 10

Posted 01 June 2010 - 06:47 PM

View Postcluberti, on 01 June 2010 - 06:36 PM, said:

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).

#4 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,000
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 June 2010 - 10:13 PM

Try the following registry modification (documented pretty well here) before running WPI:
Key:   HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations
Value: LowRiskFileTypes
Type:  REG_SZ
Data:  .exe


#5 User is offline   jadtunrau 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 12-January 10

Posted 02 June 2010 - 07:10 AM

View Postcluberti, on 01 June 2010 - 10:13 PM, said:

Try the following registry modification (documented pretty well here) before running WPI:
Key:   HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations
Value: LowRiskFileTypes
Type:  REG_SZ
Data:  .exe



Awesome! 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.

#6 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,000
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 June 2010 - 08:55 AM

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?

#7 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 02 June 2010 - 09:01 AM

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.

#8 User is offline   jadtunrau 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 12-January 10

Posted 02 June 2010 - 10:20 AM

View Postmritter, on 02 June 2010 - 09:01 AM, said:

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?

#9 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,000
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 June 2010 - 01:22 PM

View Postjadtunrau, on 02 June 2010 - 10:20 AM, said:

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:

View Postcluberti, on 01 June 2010 - 06:36 PM, said:

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).


#10 User is offline   jadtunrau 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 12-January 10

Posted 02 June 2010 - 03:42 PM

View Postcluberti, on 02 June 2010 - 01:22 PM, said:

View Postjadtunrau, on 02 June 2010 - 10:20 AM, said:

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:

View Postcluberti, on 01 June 2010 - 06:36 PM, said:

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!

#11 User is offline   djackson 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 13-January 05

Posted 08 December 2010 - 12:11 PM

Sorry to relaunch an old post...

View Postcluberti, on 01 June 2010 - 06:36 PM, said:

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!

This post has been edited by djackson: 08 December 2010 - 01:15 PM


#12 User is offline   FoaMDarT 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 28-December 04

Posted 31 January 2011 - 07:09 PM

View Postdjackson, on 08 December 2010 - 12:11 PM, said:

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.

#13 User is offline   Configinator 

  • Group: Members
  • Posts: 2
  • Joined: 22-October 11
  • OS:95
  • Country: Country Flag

Posted 08 December 2011 - 01:25 PM

Right Click on file > Properties > unblock

#14 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,756
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 December 2011 - 09:58 PM

ummm thanks for answering a year old question?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy