New
#1
Unable to set static WMI port (winmgmt -standalonehost). WMI Issue!
Hello,
I am having a issue when trying to set a static WMI port on my system.
When I run winmgmt -standalonehost and then stop the WMI service, I am unable to get it started again.
C:\WINDOWS\system32>winmgmt -standalonehost
Service configuration changes succeeded.
Please stop and restart Winmgmt service for changes to take effect.
C:\WINDOWS\system32>net stop winmgmt /y
C:\WINDOWS\system32>net start winmgmt
The service is not responding to the control function.
More help is available by typing NET HELPMSG 2186.
I have verified that the repository is OK...
C:\WINDOWS\system32>winmgmt /verifyrepository
WMI repository is consistent
Event viewer shows the following event's over and over..
Event ID:10005
DCOM got error "1053" attempting to start the service winmgmt with arguments "Unavailable" in order to run the server:
{8BC3F05E-D86B-11D0-A075-00C04FB68820}
Event ID: 7009
A timeout was reached (180000 milliseconds) while waiting for the Windows Management Instrumentation service to connect.
If I set the WMI back to shared host it will start.
Had anyone seen this issue and know of a fix?
I have tested on several different OS's and it seems to be happening on random computer's.
Some work fine and other's show this same exact issue.
Thank you!