• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1512
  • Last Modified:

Bypass Open File - Security Warning

I'm using Windows Deployment Services to build a Windows 2008 Server and I have configured an unattended build to run an additional installation VBScript via FirstLogonCommands Synchronous Commands to install things like Office, Acrobat, etc.  The VBScript calls many objShell.Run commands to install applications from a network drive.

Naturally, they are getting the Open File - Security Warning, because all my sources are on a network drive.

I know of two ways to get around this dialog - the first is to change your Internet Zones so that Intranet includes all UNC paths, and the second is to use GPO to make Attachment Manager have ".exe" as a low risk attachment.

I can do neither of these two because the machine does not join a domain and therefore cannot use GPO's, and it runs the scripts automatically even before a user can log on.

Does anybody have an idea how else I can circumvent this security warning - preferably in the way of a command line which I could run prior to installing the network shared apps.

I do not want to:

Use SCCM
Join to a Domain
Copy the sources over to the local volume and install from there

Thanks in advance.

Open File Security Warning
0
Lester_Clayton
Asked:
Lester_Clayton
  • 3
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
instead of a gpo try changing the local security policy.
0
 
Lester_ClaytonAuthor Commented:
I'm trying to do this in an automated way - there should be no interaction during the automated unattended installation.
0
 
Lester_ClaytonAuthor Commented:
Easy fix :)

Adding this is doing it the same way by adding executables to Attachment Manager

WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Associations\LowRiskFileTypes", ".exe" ,"REG_EXPAND_SZ"

Open in new window

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Lester_ClaytonAuthor Commented:
Managed to find a solution myself
0
 
Gogburn1Commented:
Lester,

Mind sharing the solution you found?
0
 
Gogburn1Commented:
Whoops. Didn't realize the accepted solution was your own! :)
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now