Remotely set VNC service password

21,748

You can remotely set the registry key

[HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4] "Password"=hex:xx xx xx xx

to figure out what hex value to set you can set it on a test machine and copy the resultant value, or you could use a tool which there a many of to generate one for you

EDIT

it even looks like there is an app for this I havent tested this I have only just searched for it on google, but there are a load of results with similar promises

Share:
21,748

Related videos on Youtube

Petrus Theron
Author by

Petrus Theron

I solve business problems with software. Over the past 15 years I have risked significant personal wealth to work on multiple startups. My unique experience allows me to understand a human desire, design a product that satisfies that need - then build and deploy it single-handedly from concept to scale. Sometimes I write about it. I primarily work in Clojure/ClojureScript, but I have built small to medium-sized products (sub-million LOC) using Python, C#, C/C++, Java, Pascal and JavaScript. Products I built: 2007-2011 Rhythm Music Store: online music store / record label that that sold 80k MP3s online. MyNames: an API to register .CO.ZA domains and provision nameservers. Stack: Python, AngularJS. Krit.com: a mobile customer feedback tool that used geolocation and SMS to bridge the gap between customers and retail managers 2007-2016: iFix (now weFix) Repair Management System tracks 500k repairs and millions in revenues at 36+ branches. Acquired by weFix. ...several others. There are more. Happy to delve into technical details. Good with people and recruiting.

Updated on September 17, 2022

Comments

  • Petrus Theron
    Petrus Theron over 1 year

    After a Windows update I cannot connect to a Windows Server 2008 machine via RDP. As an alternative, I remotely installed UltraVNC using PsExec.

    The WinVNC service starts successfully but when I try to connect remotely, I receive the following error message:

    This server does not have a valid password enabled.
    Until a password is set, incoming connections cannot be enabled.
    

    Since I don't have desktop access to the machine, how do I set the password?

  • Petrus Theron
    Petrus Theron about 14 years
    Does the encrypted password key vary by machine?
  • Charles Gargent
    Charles Gargent about 14 years
    The password key is a base64 encoding of whatever password you choose.
  • Max
    Max over 8 years
    it seems that with version 1.0.9 , ultravnc does not like someone to tamper with ultravnc.ini password , giving the message " this server does have a valid password" after restarting the service. A workaround is to switch to registry mode : UseRegistry=1 in ultravnc.ini
  • Deer Hunter
    Deer Hunter over 8 years
    Are you affiliated with IntelliAdmin?