FAQ 556: Error for Windows Management Instrumentation (WMI) when executing an FPGA build on a Windows 11 PC
Question
When executing an FPGA build on a Windows 11 PC, the build process aborts with the following error. How can I resolve this error?
The error displayed in the Matlab command window is:
The build process encountered an error with the Windows Management Instrumentation (WMI). It is possible that WMI performance counters are broken/disabled on your system. One possible fix is running "lodctr /r" on the windows command prompt. Please contact your IT administration for further advice on re-enabling performance counters.
Solution
The WMIC feature must be available on the Windows system, because it is used to monitor Vivado’s processing status.
Please try the following steps to resolve the error:
1. Executing the "lodctr /r" from the windows command prompt.
Executing the "lodctr /r" command restores the system’s performance counter configuration using the default backup files maintained by Windows in the System32 directory.
If the issue persists after performing this procedure, please perform the following step.
2. Ensure that the WMIC feature is installed and enabled.
Install and enable the WMIC feature by following the steps below.
Features on Demand (FoDs) are listed as optional features in Windows Settings. You can view the history of optional features that have been installed on the system and manage these components by adding, removing, or modifying existing features.
Locate optional features in Windows System settings. To do this:
- Select
Starton the taskbar (or theWindowsicon key on your keyboard). - Select the
Settingsapp to open it. - Select the
Systemtab. - Locate and select
Optional features(near the bottom of the list).
From the Optional features menu, you can view, install, uninstall, and manage FoDs like WMIC. If you are unsure whether WMIC is already installed, you can search through or sort the Installed features section to find WMIC.
If WMIC is already one of your optional features, you’ll see it in the list of Installed features with an option to Uninstall or Remove it.
If WMIC isn’t on the list of Installed features, you can easily add it by following these steps:
- At the top of the
Optional featurestab, locateAdd an optional feature. - In that field, select
View features. This will open a pop-up window.
- In the pop-up window, to
Add an optional feature, type “WMIC” into the search box. - When WMIC appears in the results, select it by checking the box next to it. (Note: WMIC will not appear in the results if it’s already installed.)
- Select
Nextto install WMIC feature in the same pop-up window.
You should now see WMIC among your features in Windows Settings > System > Optional features > Installed features.
The following sites may be helpful:
How to install WMIC Feature on Demand on Windows 11 | Windows IT Pro Blog
If installing WMIC as described above is difficult due to your internal policy, you can also avoid the error by using the alternative method shown below.
3. Applying the dSPACE Release Service Pack
Download and execute the installer whose Type is Service Pack from the list in the link below.
Updates & Patches Overview
Before downloading, check the Readme.txt and look for the following description to ensure that you select the correct package:
- Removed WMIC dependency from the FPGA build system which caused problems under Windows 11 24H2 (623187)
Tags
| Date | 2026-11-05 |
| Information Type | Frequently Asked Questions |