Workaround to Run VNC Server in Windows Vista

There is no built-in Remote Desktop feature in Windows Vista Starter, Windows Vista Home Basic, Windows Vista Home Basic N, and Windows Vista Home Premium editions of Windows Vista operating system. So in order to be able to remote control and access or take control of a Windows Vista PC from another computer, a desktop sharing system or remote control server has to be installed and running on Windows Vista machine. One of the popular desktop sharing system is VNC (Virtual Network Computing) in the flavors or variants of RealVNC, UltraVNC, TightVNC and etc. However, when you try to install and run the VNC Server as a service mode in Windows Vista, there will be problem trying to connect and remote control to the Windows Vista computer from another computer by using VNC client.

In the Event Viewer after failed while attempting to gain access control to remote Windows Vista computer, user can see the following error:

Unable to connect session to Console. Access Denied. or Connection closed unexpectedly. or No connection or connection reset by peer (10054).

Beside, on the Windows Vista machine which users try to install VNC Server (from RealVNC, UltraVNC or any other VNC based server), Windows Vista will display a few symptoms or error messages as below:

Access Denied if you’re not running or installing or configuring VNC server as an Administrator.

VNC Server (Service) icon in the Notification Area displays the message ‘Not Accepting Incoming Connections’ error message.

VNC Server (Service) icon in the Notification Area (system tray) does not display the server’s assigned IP address.

When trying to execute and run VNC server in user mode, same error message of ‘Not Accepting Incoming Connections’ appeared.

The problems are caused by Windows Vista new security feature called Session 0 Isolation. Previous versions of Windows ran system services in the same login session as the locally logged-in user (Session 0). In Windows Vista, Session 0 is now reserved for these services, and all interactive logins are done in other sessions, causing VNC server unable to accept incoming remote control connection request.

So in order to make VNC server on Windows Vista works properly, the workaround resolution (at least until the VNC developers to come out with proper fix or update to address the new security constraint in Windows Vista) is to run VNC server in user mode.

  • Ensure that you have the exceptions to allow incoming connections to winvnc4.exe or to port 5900 (or any other port number that you want to allocate to VNC server listening port), or simply turn off firewall.
  • VNC server is detected as potentially unwanted behaviour in integrated Windows Defender. Create a rule to ignore this warning.
  • If you want to newly or fresh install VNC server, do not install the VNC Service by not checking or selecting the “Register VNC Server Service” option, or else you will have “Not Accepting Connections” error even when trying to run the VNC Server in User Mode.
  • If you have already install VNC Service (register VNC Server as a service to start automatically when Windows Vista starts), unregister the VNC Service.
  • If you want to configure settings of VNC Server, right click on “Configure VNC Server” menu item and select “Run as” for administrative privileges so that the VNC configuration tool can access to the relevant parts of the registry.

Then start VNC Server in User Mode (may need to Run as Administrator too), and you will be able to connect, remote control and access to Windows Vista computer desktop from another computer properly.

Some users reported that RealVNC Personal Edition and Enterprise Edition (both need payment) supports Windows Vista, while RealVNC Free Edition still waiting for workarounds. And UltraVNC has released Vista supported and compatible VNC server/client.

On the other hand, check out solution for those who facing black screen on remote VNC connection to Vista.

40 Responses to “Workaround to Run VNC Server in Windows Vista”

Pages: 1 2

  1. warhammer300
    February 4th, 2010 11:07
    40

    *whew* Worked like a charm! Thanks for sharing. I briefly tried using Windows’ “Remote Assistance,” which was a nightmare. Glad to be able to use VNC again.

  2. Curt
    January 28th, 2010 07:49
    39

    Found that after disabling UAC and installing ultimate vnc the service can be started by doing this
    To setup a task to make the program run with full privileges automatically on startup:

    1. Launch the Task Scheduler
    Example: Start Menu – All Programs – Accessories – System Tools

    2. From the Actions panel on the right, select Create Task…
    a. Give the app a name of your choice in the “Name Section”

    3. Go to the Security Options on the General tab
    a. Select an user account with administrative privileges
    b. Select the radio button Run only when user is logged on
    c. Check the box Run with highest privileges

    4.Go to the Triggers tab and click New…
    a. In Begin the task, select At log on
    b. In the Settings options, select All users
    c. In the Advanced Settings options, check the box Enabled
    d. Click OK to close the dialog

    5. Go to the Actions tab and click New…
    a. For Action, select Start a program
    b. In the Settings options, browse for and choose BiblePassWord.exe
    in your Program Files folder.
    c. Click OK to close the dialog

    6. Go to the Settings tab
    a. Check the box Run task as soon as possible after a scheduled
    start is missed
    b. Uncheck the box Stop the task if it runs longer than

    7. Click OK to save and close the task properties

    Those steps should allow you to create a task which will automatically startup the program in Vista, with the highest privileges.

  3. rfcb
    November 7th, 2009 06:10
    38

    Figured this out too, but its just a poor workaround. Any task that creates a security window will lock out vnc sessions till the prompt times out (a min or two).

    Thanks for trying

  4. Cesar
    September 18th, 2009 01:01
    37

    Seriously, I’ve read this article so many times and it just irritates me!! Its not a workaround. It is a completely different tactic. Its like saying, “My favorite Ice Cream place is closed. How can I get that ice cream? I Know! I will go to the store and buy ice cream from there!”

    Yes, it IS better than nothing, but it is NOT a work around.

  5. UFO
    September 3rd, 2009 05:41
    36

    Ok, all that worked great, but as soon as the workstation is locked, VNC Viewer won’t accept incoming traffic. I cannot leave my workstation on, logged-in and unattended when I am not there, so I must set the screensaver to lock the workstation after a certain period of inactivity.
    In previous versions of windows, VNC would allow you to log into a locked workstation. Maybe this was because it was service-mode. Does anyone have a workaround?

  6. harpreet
    May 22nd, 2009 04:32
    35

    thank you so much for the workaround. finally its working now on my vista machine as well. thank you once again for the great tip.

  7. My Pick Of The Best Free iPhone Apps at Lemon Soju : Tokyo : Japan
    March 17th, 2009 13:07
    34

    [...] running under Vista, you need to run VNC server in user mode rather than server mode. You can click here for full details, but basically you need to unregister the VNC service if it’s running (there’s an [...]

  8. Shape Services VNC Plus v1.3.4 - Nokiaapps
    March 10th, 2009 07:39
    33

    [...] Workaround to Run VNC Server in Windows Vista My Digital Life Or you could get RealVNC Enterprise edition that officially supports Windows Vista. Screenshots from my Nokia 5800 XM: (Fullscreen 1680×1050 –> 640×360) … … And the link to the application, of course: Code: [...]

  9. Gui
    January 26th, 2009 03:45
    32

    Thanks. Now it works nicely.

  10. Jon
    December 26th, 2008 07:12
    31

    Excellent work around, followed it to the letter and it works a dream. Thanks a bunch. I was really starting to get pissed off having to walk next door, and now i dont have to ! Excellent !

  11. Maggie
    November 7th, 2008 09:06
    30

    After using this workaround I’ve also just managed to setup VNC Server (RealVNC in my case) to start automatically in Vista (Home Premium) like this:

    Start Button > All programs > RealVNC > VNC Server 4 (User-Mode)

    Right-Click “Run VNC Server”

    Choose “Pin to Start menu”

    (or you could just create a shortcut on you desktop)

    navigate to:

    “C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup” directory where username is your user logon.

    Start Button

    drag “RunVNCserver” into the directory (or the shortcut you created)

    It should now start automatically when you reboot.

    Hope it helps someone else ;-)

    Maggie

  12. Maggie
    November 7th, 2008 07:59
    29

    Great workaround. Thanks. I’ve been wanting to use this on Vista for quite a while but gave up a few months ago. Just decided to have another google and found your page; it’s now working great. Keep up the good work.

    (I had no problems moving around your page)

  13. Run VNC In Vista | The Computer Vet Weblog
    October 20th, 2008 11:30
    28

    [...] Details on the workaround can be found here. [...]

  14. Martin Alak
    July 18th, 2008 06:06
    27

    Something is seriously wrong with this page. If I try to use the arrow keys or page up/page down I get thrown to the bottom of the page.

  15. KUTA
    July 17th, 2008 23:07
    26

    i really like that stripper`s photo on right side.

    thanks much

Pages: 1 2

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to My Digital Life Comments RSS feed to receive notification of latest comments posted.

New Articles

Incoming Search Terms for the Article

vnc vista - vnc server vista - realvnc vista - vnc windows vista - vnc server windows 7 - vnc server not accepting connections - real vnc vista - vnc not accepting connections - tightvnc connection closed - vista vnc server - vnc server windows vista - vnc for vista - windows 7 vnc server - vnc not accepting connections vista - vista vnc - vnc server not accepting connections windows 7 - vnc server for vista - tightvnc vista service - realvnc windows vista - vnc server not accepting connections vista - windows vista vnc - realvnc the connection closed unexpectedly vista - tightvnc vista - Unable to connect session to Console: Access is denied - vnc on vista - tightvnc connection closed vista - vnc windows 2008 - tightvnc service vista - vnc connection closed unexpectedly vista - vnc vista service - vnc the connection closed unexpectedly vista - tightvnc windows 7 - windows vista vnc server - tight vnc vista - vnc connection reset by peer 10054 vista - vnc for windows vista - vnc server user not accepting connections vista - realvnc windows 7 - realvnc unable to connect session to console - winvnc vista - unable to connect session to console - vnc 2008 server - Real VNC for vista - ultravnc vista - vnc server 2008 - vnc on windows vista - windows 2008 vnc - tightvnc connection closed error - Unable to connect session to Console: Access is denied. (5) - realvnc on vista - realvnc in vista - vnc windows 7 connection closed - realvnc vista not accepting connections - realvnc server vista - vnc and vista - vnc server on vista - realvnc vista connection reset by peer - unable to connect session to console access is denied. 5 - vnc windows 7 - vnc not accepting connections windows 7 - vncserver for vista - vnc unable to connect session to console access is denied - realvnc windows 2008 - vnc server for windows 7 - real vnc windows vista - how to set up vnc server vista - realvnc and vista - vncserver windows 7 - windows vista real vnc - installing vnc on vista - real vnc on vista - realvnc vista service - vnc vista connection reset by peer - vnc service vista - vnc vista access denied -