Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Running a .vnc file automatically

Post Reply
SUSANVV
Posts: 7
Joined: 2004-10-28 16:56
Location: New Jersey

Running a .vnc file automatically

Post by SUSANVV »

I connected to a server and then saved the connection info in a .vnc file. The file works fine when I double click on it but I need it to run from Tasks or from a .bat file that I run in Tasks. I keep getting the error message "Invalid VNC server specified". I am going to try a .bat file using vncviewer and the command line switches specified in the error message but there has to be an easier way. TIA for any help.

Sue Van :(
TechFan
Former moderator
Former moderator
Posts: 47
Joined: 2004-05-03 10:34

Post by TechFan »

Here is something that should work for you. . .create a batch file with:
start "path-to-file\filename.vnc"

Schedule that batch file instead of the .vnc file. It should work as long as you have the username and password set (assuming Win2k or later scheduler).
Post Reply