Solved

Remotely disable / enable windows firewall

Posted on 2007-03-28
5
5,775 Views
Last Modified: 2010-08-03
How can I disable / enable windows firewall remotely?
Windows XP SP2 machines connected to Active Directory domain.
0
Comment
Question by:bigd563
[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
5 Comments
 
LVL 12

Expert Comment

by:alandc
ID: 18810607
Yes, you most definately can.

See:
Managing Windows XP Service Pack 2 Features Using Group Policy
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/mangxpsp2/mngdepgp.mspx

Disabling the Windows Firewall
http://www.utexas.edu/its/windows/resources/disable-wfw.html
(Scroll down to Method C)
0
 
LVL 19

Accepted Solution

by:
aissim earned 500 total points
ID: 18812960
That is definitely the best solution for a long-term fix.

Just in case you were looking to disable/enable the firewall as needed, or more of a short-term thing, Microsoft (Sysinternals) has a utility that allows you to stop or start services on a remote machine: http://www.microsoft.com/technet/sysinternals/utilities/psservice.mspx
0
 
LVL 11

Expert Comment

by:kamalgopi
ID: 18813513
hi i think the best way is to GPO so you can control it globally raher going to individual pc.
see the link below and you will understand
http://www.bookpool.com/ct/165
0
 
LVL 1

Expert Comment

by:WeirdFishes
ID: 33346308
@ bigd563, aissim,

was it possible to disable a remote machines firewall with psservice? because i'm trying to and i get an error the network path was not found, it makes scence that i can't disable it as the firewall itself is blocking access. obviously when the firewall is off i can start and stop services with psservice....

i don't want to disable it through GPO yet as i've only started my new job this week and don't want to make any big changes to the network yet.

thanks in advanced..
0
 
LVL 12

Expert Comment

by:alandc
ID: 33350336
@WierdFishes,

You'll find that a GPO need not be applied to a large group.  The safest way is to have a test group and test machine to apply the GPO and test.  GPO is the best long term fix as per 'kamalgopi'. That said -- sysInternals tools are awesome!  But managing issues one-pc-at-a-time is a P.I.T.A. especially when (as the questions states -- you have a AD domain) and you can simply create a GPO called "no windows firewall" test first then pply it as needed.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

A hard and fast method for reducing Active Directory Administrators members.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

635 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