valuelabs97
asked on
Windows 2008 Firewall
Hi
In our environment we have enabled the windows firewall in windows 2008 servers. After that we are not able run any VB script against those servers. What are port required for VB script using WMI and which port psexec use?
In our environment we have enabled the windows firewall in windows 2008 servers. After that we are not able run any VB script against those servers. What are port required for VB script using WMI and which port psexec use?
ASKER
davorin
Thank you. Will there be way to check what and all the ports enabled in a server
Thank you. Will there be way to check what and all the ports enabled in a server
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi davorin,
Even I included the WMI in the exception list, I am not able to connect the server remotely.
Even I included the WMI in the exception list, I am not able to connect the server remotely.
Have you added RPC port?
ASKER
Hi rishabv1,
I added RPC port too
I added RPC port too
Sorry for long delay.
Example of command user to show all rules (ports) open in inbound direction:
netsh advfirewall firewall show rule name=all dir=in
At the end you can add profile=domain to list only open ports at domain firewall profile. Other options are public and private.
For checking FW state for WMI should work:
netsh advfirewall firewall show rule name="WMI"
Are you opening this ports in network profile the server is using?
Example of command user to show all rules (ports) open in inbound direction:
netsh advfirewall firewall show rule name=all dir=in
At the end you can add profile=domain to list only open ports at domain firewall profile. Other options are public and private.
For checking FW state for WMI should work:
netsh advfirewall firewall show rule name="WMI"
Are you opening this ports in network profile the server is using?
ASKER
Hi davorin
Sorry for long delay
I have opened the ports. Still we are facing the same issue.
Sorry for long delay
I have opened the ports. Still we are facing the same issue.
ASKER
I tried the solutions but we are no longer working on this now. Hence abandoned this Thanks for the everyone's efforts on this
For WMI please look here:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa822854(v=VS.85).aspx