- Add the directory "Windows-Volume-Lock" to "C:\Program Files"
- Run ".\shortcuts\Setup-Volume-Lock.lnk". Wait for it finish successfully
- Change the $defaultVolume variable in ".\scripts\run.ps1" to anything between 0-100
- Run ".\shortcuts\Start-Volume-Lock.lnk" to run the volume limiter
- Run ".\shortcuts\End-Volume-Lock.lnk" to end the volume limiter
- Bask in your power as your users attempt in futility to change their system volume
- Create a basic task in Task Scheduler and name is something like "Volume Limiter"
- Set the trigger to "log on of specific user", or whatver you like. System start or any user could work too
- Set the action to Start a Program, set the program/script to "powershell.exe", set arguments to '-WindowStyle Hidden -ExecutionPolicy Bypass -File "run.ps1"'
- Set start in to "C:\Program Files\Windows-Volume-Lock\scripts\"
- Test by selecting the task