My bad if you have the issue above the Registry keys modified by BASSMIDI driver are:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ Windows NT\CurrentVersion\Drivers32
Cf. Stackoverflow answer
How to re enable the default MIDI synth in Windows 10?