Solved

Turn "OFF" Domain Network Firewall in All the Desktops in AD Domain

Posted on 2015-02-03
9
179 Views
Last Modified: 2015-02-08
Hello Expert,
I am doing a Windows Domain Scan using a third party software to generate Asset Inventory in our company, to get the scan results properly we need to Disable the "Domain Network" Firewall in All the Desktops which is joined to the AD domain. Please help me to create a GPO which can disable the "Domain Network" Firewall in All the Desktops which is joined to our AD domain.
We are using windows 2008 Domain Controllers and All the Desktops in our company is placed under the OU called "StaffComputers" .

Thank you for the excellent support we are getting from all the "Experts" from Expert-Exchange

Regards...
0
Comment
Question by:smpvm
9 Comments
 
LVL 17

Accepted Solution

by:
Chris Millard earned 500 total points
ID: 40585776
Before creating the GPO to disable the firewall, can I please advise that you do NOT do this - you open yourself up for all sorts of trouble. Instead, find out from the software manufacturer what ports need to be open in order for this software to work.

There is a good article at http://www.petenetlive.com/KB/Article/0000979.htm which takes you step by step through adding firewall exceptions
0
 
LVL 19

Expert Comment

by:helpfinder
ID: 40585789
0
 
LVL 35

Expert Comment

by:Mahesh
ID: 40585947
Create GPO with startup script (.bat file) with below code
netsh advfirewall set domainprofile state off
Apply this script under computer configuration\windows settings\scripts\startup script


Apply this GPO to OU containing computers, during computer start GPO will be applied
After creation and application of GPO run gpupdate /force on DC once
0
 
LVL 3

Expert Comment

by:donciakas
ID: 40587067
Easy steps to do that:
http://www.systemcentercentral.com/how-to-disable-windows-firewall-via-group-policy/

after that assign GPO to OU you want
0
Being driven mad by email signature updates?

Having to make a change to your users’ email signatures, yet again? Feel like your head is going to explode? Rely on an Exclaimer email signature management solution to make the process simple!

 
LVL 24

Expert Comment

by:lionelmm
ID: 40588539
The easiest and fastest way to do this is to use a script that looks at a list of all the windows computers you want to do this on. This way you can tun them off, run your software to get the asset report and then run another script and turn them on again.
assuming you have a list called pc-list.txt with systems like this
pc1
pc1
pc3
Then run a batch file name, for example, firewalloff.bat; add this to the batch file
for /F "tokens=1 delims=," %%i in (C:\Utils\PC-List.csv) do netsh -r %%1 advfirewall set domainprofile state off
this may require a username and password added to this command but try that. Then create another batch file called firewallon.bat and add this line to it
for /F "tokens=1 delims=," %%i in (C:\Utils\PC-List.csv) do netsh -r %%1 advfirewall set domainprofile state on
This way you can minimize the amount of time the firewalls are off.
0
 

Author Comment

by:smpvm
ID: 40597743
Thank you for giving me a perfect solution
0
 

Author Comment

by:smpvm
ID: 40597799
I've requested that this question be closed as follows:

Accepted answer: 0 points for smpvm's comment #a40597743
Assisted answer: 500 points for Chris Millard's comment #a40585776

for the following reason:

Good Solution.
0
 
LVL 17

Expert Comment

by:Chris Millard
ID: 40597793
Original poster has said that he has been given the solution, however is trying to close the question by accepting his own comment.
0
 

Author Closing Comment

by:smpvm
ID: 40597800
Perfect solution
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

914 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

16 Experts available now in Live!

Get 1:1 Help Now