Link to home
Start Free TrialLog in
Avatar of rawinnlnx9
rawinnlnx9Flag for United States of America

asked on

Restore WMI to Default State and Port Range

I followed these steps to force WMI to use one port. Now I would like to reset it back to use dynamic port allocation. Anybody know how I would do this?

This is what I did:

At the command prompt:
1. Type winmgmt -standalonehost
2. Stop the WMI service by typing the command net stop "Windows Management Instrumentation"
3. Restart the WMI service again in a new service host by typing net start "Windows Management Instrumentation"
4. Establish a new port number for the WMI service by typing netsh firewall add portopening TCP 24158 WMIFixedPort.

How do I change to use WMIDynamicPort if that exists...?
ASKER CERTIFIED SOLUTION
Avatar of Ratnesh Mishra
Ratnesh Mishra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rawinnlnx9

ASKER

Outstanding. I'd say more but how many ways can you say outstanding?