?
Solved

Bypass Open File - Security Warning

Posted on 2011-02-18
6
Medium Priority
?
1,504 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 82

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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Suggested Courses
Course of the Month14 days, 11 hours left to enroll

771 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