Re: script stopped working after installing SP2 - HELP
From: Sandra L Miller (slm_at_cs.arizona.edu)
Date: 10/04/04
- Next message: JP Martinez: "Sendkeys and Scheduler"
- Previous message: Torgeir Bakken \(MVP\): "Re: Admin"
- In reply to: Torgeir Bakken \(MVP\): "Re: script stopped working after installing SP2 - HELP"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 04 Oct 2004 10:54:51 -0700
Thank you. That did the trick. I set set "Allow remote
administration exception" for the firewall through Group Policy.
On 10/1/2004 8:33 AM Torgeir Bakken (MVP) wrote:
> Sandra L Miller wrote:
>
>> I have a script that goes out to each machine in Active Directory
>> and gathers some information. To determine if the machine is
>> currently up in Windows (rather than turned off or booted into
>> Linux (some are dual boot), I use the following subroutine:
>> [snip]
>>
>> This script has been working for a long time, but now we are starting
>> to deploy SP2. I have it installed on 7 lab machines. Those 7
>> machines are not showing up as "available", even though they are.
>> I can see them in My Network Places and I can log on to them with
>> Remote Desktop.
>>
>> I assume that there is another hole that we need to open in the
>> firewall, but I don't know what it is. Does anybody have any
>> insight?
>
> Hi
>
> You could set "Allow remote administration exception" for the firewall
> and see if that helps.
>
> Using netsh.exe, you can configure this from command line, like this:
>
> netsh.exe firewall set service type=remoteadmin mode=enable scope=subnet
> profile=domain
>
> If not a domain computer, you need to change to 'profile=standard'
> (or 'profile=all'). Scope can also be set to 'custom' and then you
> can add ip ranges to the command line as well, or 'all' (not
> recommended for security reasons).
>
> The netsh.exe syntax is documented in WF_XPSP2.doc.
>
> WF_XPSP2.doc "Deploying Windows Firewall Settings for Microsoft
> Windows XP with Service Pack 2" is downloadable from
> http://www.microsoft.com/downloads/details.aspx?familyid=4454e0e1-61fa-447a-bdcd-499f73a637d1
>
>
>
> An alternative to netsh.exe:
>
> This can be done with gpedit.msc for a local computer, or push it
> out with a AD GPO if possible.
>
>
> From PolicySettings.xls available here:
>
> Group Policy Settings Reference for Windows XP Professional Service Pack 2
> http://www.microsoft.com/downloads/details.aspx?familyid=ef3a35c0-19b9-4acc-b5be-9b7dab13108e&displaylang=en
>
>
> <quote>
> Administrative Templates\Network\Network Connections\Windows Firewall
> \<some> Profile
> Windows Firewall: Allow remote administration exception
>
> Allows remote administration of this computer using administrative
> tools such as the Microsoft Management Console (MMC) and Windows
> Management Instrumentation (WMI). To do this, Windows Firewall opens
> TCP ports 135 and 445. Services typically use these ports to
> communicate using remote procedure calls (RPC) and Distributed
> Component Object Model (DCOM). This policy setting also allows
> SVCHOST.EXE and LSASS.EXE to receive unsolicited incoming messages
> and allows hosted services to open additional dynamically-assigned
> ports, typically in the range of 1024 to 1034. If you enable this
> policy setting, Windows Firewall allows the computer to receive the
> unsolicited incoming messages associated with remote administration.
> You must specify the IP addresses or subnets from which these
> incoming messages are allowed. If you disable or do not configure
> this policy setting, Windows Firewall does not open TCP port 135 or
> 445. Also, Windows Firewall prevents SVCHOST.EXE and LSASS.EXE from
> receiving unsolicited incoming messages, and prevents hosted
> services from opening additional dynamically-assigned ports. Because
> disabling this policy setting does not block TCP port 445, it does
> not conflict with the Windows Firewall: Allow file and printer
> sharing exception policy setting. Note: Malicious users often
> attempt to attack networks and computers using RPC and DCOM. We
> recommend that you contact the manufacturers of your critical
> programs to determine if they are hosted by SVCHOST.exe or LSASS.exe
> or if they require RPC and DCOM communication. If they do not, then
> do not enable this policy setting. Note: If any policy setting
> opens TCP port 445, Windows Firewall allows inbound ICMP echo
> request messages (the message sent by the Ping utility), even if the
> Windows Firewall: Allow ICMP exceptions policy setting would block
> them. Policy settings that can open TCP port 445 include Windows
> Firewall: Allow file and printer sharing exception, Windows Firewall:
> Allow remote administration exception, and Windows Firewall: Define
> port exceptions.
>
> </quote>
>
>
-- Sandra L Miller Windows System Administrator Department of Computer Science University of Arizona "The opinions or statements expressed herein are my own and should not be taken as a position, opinion, or endorsement of the University of Arizona."
- Next message: JP Martinez: "Sendkeys and Scheduler"
- Previous message: Torgeir Bakken \(MVP\): "Re: Admin"
- In reply to: Torgeir Bakken \(MVP\): "Re: script stopped working after installing SP2 - HELP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|