Hi CeeBee,

thanks for all. I still don´t know why your batch isn´t working for me, so I had to write it on my own and found a nice solution for doing this. Hope this will help others, too.

Code:
@echo off
c:
cd c:\windows\inf
REM 1st run to test if the result is correctly
for /f "delims=:" %%a in ('findstr "\<drivername.CAT\>" "*.inf"') do echo "%%a" 2>nul
REM 2nd run only remove next REM if you are sure what you are doing
REM for /f "delims=:" %%a in ('findstr "\<drivername.CAT\>" "*.inf"') do pnputil -f -d "%%a"