@echo off
setlocal enabledelayedexpansion
(for /f "tokens=8 delims=#&" %%i in ('reg query HKEY_LOCAL_MACHINE\SYSTEM\
ControlSet002\Control\DeviceClasses\{53f56307-b6bf-11d0-94f2-00a0c91efb8b}') do (
set s=%%i
if "!s:~15,!" neq "" if "!s:~16,!" equ "" echo %%i))>u.txt