A PowerShell script to set the priority of Audiodg.exe and/or Voicemeeter8x64.exe to High and pin them to a single CPU core.
Tested on: Windows 11 (PowerShell)
This script is designed to optimize the performance of Audiodg.exe and Voicemeeter8x64.exe by setting their process priority to High and limiting them to a single CPU core. This can help improve audio processing performance on Windows systems.
- Download the
.bat
file from the Releases page. - Press Win + R, type
shell:startup
, and press Enter. - Copy the downloaded
.bat
file into the Startup folder that opens.
- On the first run, the
.bat
file automatically downloads the corresponding PowerShell script. - If you run the script via Autostart, you must accept the PowerShell permission prompt (UAC) to allow it to run with the required privileges.
- The
.bat
file is set up to handle Voicemeeter. If you only need to adjust Audiodg, please use the.ps1
script for Audiodg directly.
- You only need to download the
.bat
file! - Changing the priority or affinity of Audiodg.exe may be blocked on some versions of Windows because it runs as a "Protected Process Light". In that case, "Access denied" is possible even for an administrator.
- Change your PowerShell Execution Policy to either
RemoteSigned
orUnrestricted
:orSet-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force
- Try running the script again. It should now work as intended.
Feel free to reach out if you encounter any issues or have questions! Contributions are welcome. Please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.