Hello Uwe,
Whenever Hauptwerk launches it simply asks Windows for the list of MIDI port names. It can have no direct knowledge of the drivers, or how they're connected to the PC. There won't be any difference between Hauptwerk and Pianoteq in those regards (except conceivably that Pianoteq might have been compiled with a different version of Microsoft's Windows development libraries, which might conceivably behave differently internally).
Does your friend have Windows set to launch Hauptwerk automatically when the PC boots? If so, sometimes Windows is probably just launching Hauptwerk before it has finished loading its USB-MIDI drivers (a common issue). In that case, try increasing 'Minimum time to wait on start-up' setting on Hauptwerk's 'General settings | General preferences | Advanced ...' screen tab, e.g. to 15 seconds.
Also make sure that Windows isn't somehow set to launch Hauptwerk twice when it boots, as covered in the links in this topic: viewtopic.php?f=4&t=13274&p=98024#p97985 .