Solved

Bypass Open File - Security Warning

Posted on 2011-02-18
6
1,497 Views
Last Modified: 2012-05-11
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
Comment
Question by:Lester_Clayton
  • 3
  • 2
6 Comments
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 34926515
instead of a gpo try changing the local security policy.
0
 
LVL 9

Author Comment

by:Lester_Clayton
ID: 34926615
I'm trying to do this in an automated way - there should be no interaction during the automated unattended installation.
0
 
LVL 9

Accepted Solution

by:
Lester_Clayton earned 0 total points
ID: 34926972
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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 9

Author Closing Comment

by:Lester_Clayton
ID: 34959130
Managed to find a solution myself
0
 

Expert Comment

by:Gogburn1
ID: 36132307
Lester,

Mind sharing the solution you found?
0
 

Expert Comment

by:Gogburn1
ID: 36132321
Whoops. Didn't realize the accepted solution was your own! :)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question