We use location based printing in our VDI environment. However, the printers disappear for random users and the only way to get the printers back is to restart the "TP AutoConnect Service" . The users does not have admin rights on their machine, so the way you restart the service is to VNC in their VDI, run services.msc as an admin user and restart the service.
But this process is not efficient.
I want a way where a script runs in the background and restarts the service every two hours or so without the users knowledge. The script should not prompt the user for any username or password. Probably a scheduled task?
Can the scripting gurus help me with it?
Thank you in advance.