I have run the following command for my tighVNC server:

tvnserver.exe -controlservice -sharedisplay 1

It has worked, but when the computer has been restarted, the setting has been forgotten. What can I do to make changes persistent between reboots?

Best regards,


1 Answer 1


If you cannot set this option in the Properties of the tightVNC server, you may run this command on login.

Create a .bat file containing the command, and place a link to the file in the Startup group at:
C:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

  • Yes, that's the last resort. But as the TightVNC config is stored in the W10 register, for me it's strange that the configuration isn't persistent. I suposed that I was doing something wrong.
    – Héctor
    Commented May 25, 2021 at 15:29
  • Try to configure it with Run as Admin.
    – harrymc
    Commented May 25, 2021 at 16:40
  • Hasn't work, I supose I will do it with the bat file
    – Héctor
    Commented May 26, 2021 at 9:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .