Set system sound in Windows

Hello I am using Openhab 2.5.5 on Windows 10 and would like to change the system sound via a slider. I am using an old rule which used to work on Openhab 1.0:

rule “Volume control”


    Item Volume received command


    if(receivedCommand instanceof PercentType) {

        setMasterVolume(receivedCommand as PercentType)

    } else {

        if(receivedCommand==INCREASE) increaseMasterVolume(20)

        if(receivedCommand==DECREASE) decreaseMasterVolume(20)  


    postUpdate(Volume, masterVolume * 100)


This has no effect anymore. How can I change the volume?

These kind of actions Actions · openhab/openhab1-addons Wiki · GitHub are still available Multimedia | openHAB so the rule still should work.
Are you sure about the sink?

I forgot to mention that I have configured ‘System speaker’ as the default sink in PaperUI.