Solved

How do I pre-define a firewall "zone" in the Windows Firewall for a specific connection name?

Posted on 2014-03-10
2
302 Views
Last Modified: 2014-03-13
Folks -

I have an application that creates a software NIC with a '2' after my domain name and it uses this for various tunneling operations.  Let us say my domain name is "Contoso.com".  Therefore, the connection name is "Contoso.com 2".

Following the application's install, I receive the Windows Firewall screen asking me to choose a zone from the "Home", "Work", "Public" list we've all seen.

What I'd like to do is either use Group Policy or a command-line command to pre-specify where "Contoso.com 2" should go, in this case, the "Work" zone.  That way, following the application's installation, the user won't be prompted for this information.

Is there a way to do this that you're aware of?  I can't seem to find the setting for a specific connection name in Group Policy but might not be looking in the right area.  Perhaps a netsh command can handle it?

Thanks in advance.
0
Comment
Question by:amendala
2 Comments
 
LVL 38

Accepted Solution

by:
Rich Rumble earned 500 total points
Comment Utility
0
 

Author Comment

by:amendala
Comment Utility
The PowerShell script does in fact work.  Unfortunately, what I didn't realize is that the classification of the network isn't machine specific, it's user profile specific.  So running this in one user context doesn't fix everyone.  :(

That said, it's precisely what I asked for so I appreciate your help!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Printer Server  - Drivers 3 32
Folder size tool 6 60
Disabling Admin account 1 38
SQL Server Communications Audit 5 19
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on 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.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now