my wacom driver often stop functioning after my computer went sleep

I know manually how to fix this like go to control panel service, and restart the driver from there..
but even that is too much work for me
do you know how to prevent this from happening? ( usually after my computer went sleep)
I cant find the permanent fix yet, but right now at least I use this bat file script to restart it

it works, but somehow I have to run it twice to make it work.
any idea why?
Replies
you probably need to insert a few seconds of pause between stopping and starting the service for it to work properly. wait, sleep - not sure what the command is called for .bat files but google should help.