Error while Fetching Info from WMI Repositories in Hyper-V Server
KB ID: 106001
Introduction:
Encountering an error while attempting to fetch information from WMI repositories in a Hyper-V Server may result from the WinRM service or remote PowerShell being disabled on the remote machine. This knowledge base article provides insights into the causes and offers a step-by-step solution.
This issue arises when the application faces difficulties retrieving information from a WMI namespace or class. Additionally, problems may occur if the password of the Hyper-V host contains special characters such as ‘ and “.
To resolve this issue, follow the steps below:
1. Ensure WinRM Service is Running:
- Open the Windows Services console by running "Services.msc."
- Locate the "Windows Remote Management (WS-Management)" service.
- If the service is disabled, enable and start it.
2. Configure Remote PowerShell:
- Open PowerShell on the remote host machine.
- Execute the command `Enable-PSRemoting` to enable Remote PowerShell.
- Confirm the enabling process.
- To verify if Remote PowerShell is enabled, use the command `Enter-PSSession` and enter your computer name or “localhost.” If it returns nothing, Remote PowerShell is enabled.
3. Use Wbemtest Utility:
- Open the Wbemtest application on the server.
- Click on Connect.
- In the namespace text box, enter \\{HostIP}\root\cimv2 (e.g., \\192.168.102.34\root\cimv2).
- Enter the Username, Password, and click on Connect.
- If any errors occur, address them before attempting to push the agent again.
4. Contact BDRsuite Support:
- If the issue persists, contact BDRSuite Support at vembu-support@vembu.com for further assistance.
Note: If you are trying to push the agent to the same local host, it is recommended to use "localhost" or "127.0.0.1" as the Host name for pushing the agent.