wmic path CIM_LogicalDevice command become extremely slow

Bert Lin

New Member
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
14:44:05.58

C:\Users\bertl\Downloads\usbdeview-x64>wmic path CIM_LogicalDevice 1>1.txt

C:\Users\bertl\Downloads\usbdeview-x64>echo 14:44:27.19
14:44:27.19
 
Top