You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
wmic path cim_logicaldevice
About this tag
The wmic path CIM_LogicalDevice command is used to query logical device information via Windows Management Instrumentation. Users on Windows 11 have reported that this command has become extremely slow, taking over 20 seconds to complete. This issue affects scripts and batch files that rely on wmic for device enumeration. The problem has been observed on version 10.0.22000.675. Troubleshooting steps may include checking for system performance issues or alternative methods for device queries.
Hi
I'm a Win 11 user, recently I found the wmic command can take me more than 20 seconds.
Does anyone know how to fix this?
Version: 10.0.22000.675
test.bat
echo %time%
wmic path CIM_LogicalDevice > 1.txt
echo %time%
Result:
C:\Users\bertl\Downloads\usbdeview-x64>echo 14:44:05.58...