Yes, was running as admin, and it wasn’t a recognised command in cmd.
However, have now googled a different script which does seem to work on at least some devices (checked by deliberately ticking the box, then running the script, then checking and it had been unticked).
Not all though, e.g. there’s a listing for logitech virtual keyboard (not sure why exactly? Must be something to do with my steering wheel?), which is not affected by this script… wonder if i can change a variable somewhere?
Anyway, this is the script which seems to do something at least…
Set-CimInstance -Query ‘SELECT * FROM MSPower_DeviceEnable WHERE InstanceName LIKE “USB\%”’ -Namespace root/WMI -Property @{Enable = $false}
Run in power shell as admin.