1
I need to disable/enable a device (a steering wheel) in Windows with a shortcut or a automated script instead of going to Device Manager and, if possible, avoiding the restart when I enable it.
I found this question which identified my question and I even tried this answer shortcut path but it didn't work (it's throwing an error and automatically closes cmd
).
I tried this with no success:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "Get-PnpDevice -FriendlyName \"Logitech MOMO Racing USB\" | Disable-PnpDevice -confirm:$false; Get-PnpDevice -FriendlyName \"Logitech MOMO Racing USB\" | Enable-PnpDevice -confirm:$false"
The reason being is because most older games tend to detect my steering wheel as some kind of gamepad and it causes weird behavior in-game.
What can I do to achieve this?
Note: I know it's way easier to unplug and plug again but the cables are not so accesible and I have the cables all wrapped and organized, that's why I'm looking for a software solution.