I don't use Windows for audio (or really at all these days), doing all my audio exclusively on Mac or Linux.
This Windows software seems to be making the rounds with a big debate about whether it's useful and has a real impact, or just inconsequential:
http://www.fidelizer-audio.com/
For it to actually have an impact, you would have to assume that a modern Windows PC can't successfully process audio while potentially executing other tasks in the background. That hasn't been the case for many years.
I suppose you could simply manually turn off and/or change priority the Windows Services and Processes that Fidelizer does via a script, but the chance of any audible change/improvement is essentially zero unless your Windows system has existent significant performance issues unrelated specifically to audio. Those who espouse the type of change Fidelizer makes to Windows will also frequently recommend running Windows Server OS instead of a desktop OS because in theory, you have more control over what processes and services the OS is running. Again, we are so far past the threshold of potential CPU saturation on modern hardware that this is a solution in search of a problem.
If you really wanted to ensure audio playback wasn't compromised via contention with other processes, you could set the Process Priority of elements involved in playback to "Realtime" or "High" via task manager, but unless your system is already running at heavy CPU loading, it won't make any difference.