Solved

WMI / Remote Registry ports for Windows Firewall

Posted on 2014-01-13
3
4,553 Views
Last Modified: 2014-01-29
In order to run Powershell scripts to gather registry info such as installed software, configuration info etc., which Windows firewall ports need to be opened?
0
Comment
Question by:AskJeeves2112
3 Comments
 
LVL 29

Assisted Solution

by:Sudeep Sharma
Sudeep Sharma earned 200 total points
ID: 39777019
In my opinion just windows file sharing which is on port 445 needs to be opened.

Sudeep
0
 
LVL 8

Accepted Solution

by:
Ratnesh Mishra earned 300 total points
ID: 39777212
I am not sure whether its possible in windows 7 and 2008 R2 and afterward OS as Microsoft has blocked up the loop holes in order to safeguard. However if you want you can set specific port for the query by following the article

http://msdn.microsoft.com/en-us/library/bb219447(v=vs.85).aspx

Extract of the article:-
To set up a fixed port for WMI
At the command prompt, type winmgmt -standalonehost
Stop the WMI service by typing the command net stop "Windows Management Instrumentation"
Restart the WMI service again in a new service host by typing net start "Windows Management Instrumentation"
Establish a new port number for the WMI service by typing netsh firewall add portopening TCP 24158 WMIFixedPort
0
 

Author Comment

by:AskJeeves2112
ID: 39819465
Thanks for your feedback!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Do you have a windows based Checkpoint SmartCenter for centralized Checkpoint management?  Have you ever backed up the firewall policy residing on the SmartCenter?  If you have then you know the hassles of connecting to the server, doing an upgrade_…
Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

808 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