Is there any chance to make it permanent? For me the problem is about system sounds which are horribly late the highest possible latency, did not check it in games but so far in this new PC didn't notice anything bad.
Your mod changes it to proper condition.
So the CMD window is staying in system :)
This looks a bit not professional :)
But if it can not be another way, let it be :)
I will try on fresh copy of Window 10 remove all Realtec drivers with DDU and install latest Realtec USB drivers.