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?
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
Starting from UltraVNC 1.0.5 saves password information into file file %programfiles%\ultravnc\ultravnc.ini
1) you can to understand how uvnc generates password 2) You can install vnc on you computer and copy passwd from local installed ini file, and past it into ultravnc.ini on remote host. 3) You can use Windows Authentification, and connect with windows creditionals.
I was looking for a way to change my users teamviewer passwords without having to log in or talk them through it (from a security and side too). For those having issues with remote VNC passwords, have you tried intelliadmin network administrator 3.0? You can remote enable/disable RDP/ CD ROMS/ USB and change VNC passwords provided you have the credentials of the deice you are connecting to.
You should run all those command with PSSEXEC
tasklist | findstr winvnc
taskkill /pid X
(X should be the PID number of the process winvnc.exe service you got in step 1).ultravnc.ini
file on the installation directory of WinVNC on the server. You can setup a UltraVNC service on your computer first and copy the password on thepasswd
field of the ultravnc.ini file in your local installation. The basic file has only 3 lines. We will add each line with one echo:net start uvnc_service