Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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|improve this answer
    
Does the encrypted password key vary by machine? –  pate Apr 10 '10 at 18:38
    
The password key is a base64 encoding of whatever password you choose. –  Charles Gargent Apr 19 '10 at 7:05

Starting from UltraVNC 1.0.5 saves password information into file file %programfiles%\ultravnc\ultravnc.ini

[ultravnc]
passwd=?????????????

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.