If at any point you see the error message 1137 in Hik Central:
The reason is that the HCP version is earlier than 2.6.3 and in these versions a Windows WMIC application is required, so the main recommendation is to have the software updated.
If you need to install WMIC, the first step will be to deactivate the license and activate it again. If the error persists, it may be because the Windows system does not have an application called WMIC installed, which can be common, especially on some Windows 11 systems.
To check if this application is installed, you can run the command prompt and execute these commands:
- wmic
- wmic cpu get processorid
If these commands return a message that the command is not recognized, it means it is not installed:
Therefore, the next step is to access Windows Optional Features or Optional Apps:
Then look for WMIC; if it is not installed, it will appear as an application that needs to be installed:
Once installed, it will appear as an added application and the commands in the command prompt will run correctly.
Finally, re-access the Hik Central server, deactivate the licenses, and activate them again; at that point, the error should disappear.
IMPORTANT: In the latest versions of Windows, the WMIC feature has been completely removed, so in that case, download the attached file from the FAQ and follow those steps or use the following link:
- Download the file wmic_dlc.zip.
- Extract the contents of the ZIP file to a local folder.
- Open PowerShell as administrator.
- Navigate to the extracted
wmic_dlcfolder. - Run the following command:
Set-ExecutionPolicy Bypass -Scope Process - If prompted to change the execution policy, select Yes.
- Run the following command:
.\install.ps1 - Confirm that the script reports:
WMIC has been installed successfully.
- The installation script copies the WMIC files to the following directory and registers the necessary WMIC aliases:
C:\Windows\System32\wbem. - Try the affected application, script, or workflow again.
- To verify that WMIC works, run the following command:
wmic