cezanne / usbip-win

USB/IP for Windows
GNU General Public License v3.0
1.92k stars 346 forks source link

Autostart usbipd.exe on Windows #309

Open v-bulynkin opened 2 years ago

v-bulynkin commented 2 years ago

Hello,

Could you please explain how to make usbipd.exe started on every boot automatically?

Everything is working fine if I kick it off by .\usbipd.exe -d (however, it doesn't detouch from active console), but I can't force it to start neither by making it a service (NSSM) nor through Task scheduler.

Moreover, what user can be used? That'd be great if it would be SYSTEM, NETWORK SERVICE or similar one.

Tbinn commented 1 year ago

Same issue here. @v-bulynkin, maybe you have any progress in that?

Kogotoro commented 1 year ago

NETWORK SERVICE

probably no (at least not on all win versions seems...) https://serverfault.com/questions/116379/is-it-possible-for-a-scheduled-task-to-run-as-network-service

and if u auto-start it then there is shoud be some dependants? (net service for example and probably some thing else?)