WMI through firewall

Discussion in 'Windows XP WMI' started by Fabricio Tofoli, Jul 14, 2004.

  1. What ports should I open on the XP personal firewall to make the computer
    accessible using WMI remotelly?

    Thanks,
    Fabricio
     
    Fabricio Tofoli, Jul 14, 2004
    #1
    1. Advertisements

  2. WMI cannot be made remotely accessible on XP Personal.

    --
    Philip Nunn [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Use of included script samples are subject to the terms specified at
    http://www.microsoft.com/info/cpyright.htm.
    "Fabricio Tofoli" <> wrote in message
    news:...
    > What ports should I open on the XP personal firewall to make the computer
    > accessible using WMI remotelly?
    >
    > Thanks,
    > Fabricio
    >
    >
     
    Philip Nunn [MSFT], Jul 22, 2004
    #2
    1. Advertisements

  3. Philip Nunn [MSFT] wrote:

    > WMI cannot be made remotely accessible on XP Personal.
    >

    Hi

    I wonder if the OP with "XP personal firewall" meant "XP personal" or
    did he mean "personal firewall" that comes with XP...


    --
    torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
    Administration scripting examples and an ONLINE version of
    the 1328 page Scripting Guide:
    http://www.microsoft.com/technet/scriptcenter/default.mspx
     
    Torgeir Bakken \(MVP\), Jul 22, 2004
    #3
  4. Torgeir has a good point! I may have misunderstood the question. Fabricio,
    if by personal firewall you mean the personal firewall on a Windows XP
    Professional machine (and not the firewall on a Windows XP Home Edition --
    aka Personal -- machine), then it is possible to remotely manage the box
    using WMI.

    Since, WMI uses DCOM for remoting, enabling DCOM across the firewall should
    allow it work. Below is a link I found on MSDN that may be of help.
    http://msdn.microsoft.com/library/en-us/dndcom/html/msdn_dcomfirewall.asp?frame=true

    A couple of other links that might be relevant:

    HOWTO: Configure RPC Dynamic Port Allocation to Work with Firewall
    http://support.microsoft.com/default.aspx?scid=kb;en-us;154596

    http://groups.google.com/groups?selm=



    --
    Philip Nunn [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Use of included script samples are subject to the terms specified at
    http://www.microsoft.com/info/cpyright.htm.
    "Philip Nunn [MSFT]" <> wrote in message
    news:...
    > WMI cannot be made remotely accessible on XP Personal.
    >
    > --
    > Philip Nunn [MSFT]
    > This posting is provided "AS IS" with no warranties, and confers no
    > rights. Use of included script samples are subject to the terms specified
    > at http://www.microsoft.com/info/cpyright.htm.
    > "Fabricio Tofoli" <> wrote in message
    > news:...
    >> What ports should I open on the XP personal firewall to make the computer
    >> accessible using WMI remotelly?
    >>
    >> Thanks,
    >> Fabricio
    >>
    >>

    >
    >
     
    Philip Nunn [MSFT], Jul 23, 2004
    #4
  5. Fabricio Tofoli

    morgrum

    Joined:
    Sep 29, 2009
    Messages:
    2
    Likes Received:
    0
    The only advice I've found on the net is to disable the XP firewall in order to allow the use of taskkill across a Windows network. This is not an acceptable answer. The correct answer is to create a firewall exception for the following ports (I figured this out using Windows Firewall's security log, btw):

    TCP 135
    TCP 4168
    UDP 9256

    You're welcome.
     
    morgrum, Sep 29, 2009
    #5
  6. Fabricio Tofoli

    ailia.wanted

    Joined:
    Jan 16, 2012
    Messages:
    1
    Likes Received:
    0
    [Solution]

    if you don’t want to turn off firewall on target machine then do this:

    on target machine go to cmd.exe and type following command:

    netsh firewall set service RemoteAdmin enable

    Read my complete article on remote WMI.

    Max
    [​IMG]
     
    ailia.wanted, Jan 16, 2012
    #6
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Jennings
    Replies:
    3
    Views:
    28,288
    SMSAdmin1
    Dec 29, 2004
  2. Shayne D. Swann

    WMI filtering for GPO Firewall settings

    Shayne D. Swann, Jul 25, 2005, in forum: Windows XP WMI
    Replies:
    0
    Views:
    1,101
    Shayne D. Swann
    Jul 25, 2005
  3. Jimmy B
    Replies:
    5
    Views:
    1,254
    Dave Patrick
    Jan 25, 2006
  4. Joe
    Replies:
    0
    Views:
    2,470
  5. Georgebaker

    Run WMI within WMI

    Georgebaker, Aug 13, 2009, in forum: Windows XP WMI
    Replies:
    0
    Views:
    697
    Georgebaker
    Aug 13, 2009
Loading...

Share This Page