is a command-line tool that allows you to change the password used
to access VNC desktops on local or remote Win32 platforms. This
tool may also change the password stored into the VNC files
created by the VNC Viewer program.
Extract all files from the zip file to a folder on your computer (%windir% for example). Then open a command-line box and just launch the program.
The syntax to use VNCPWD.EXE from the command line is:
VNCPWD.EXE </h:hostname> </u:username> </p:password> </f:filename> </v:vncpassword> </l[:username]> </e:password> </> </y> </g> </?>
||"hostname" is a remote computer name
||"username" should be in form domain\user
||"password" is the password associated with username
||"filename" is the VNC Option filename
||"vncpassword" is the new VNC password to set
||Change password for remote "username"
||Encrypt the clear text "password"
||Force changes to be applied
||Change password also for the HKCU hive
The /g switch is not compatible with /h switch, as the HKCU hive is not accessible through the network.
With /l switch if no "username" is given the local one will be used.
After a password change you need to restart WinVNC server. If the application is running as a service, you can use either
stopsvc.exe and startsvc.exe or sc.exe. If WinVNC is running in application mode, you need to kill the process and restart it on the local or remote computer.
Will change the local computer VNC password to "test".
C:\VNCPWD /v:test /h:snoopy
Will change \\snoopy workstation VNC password to "test". You need to have administrator access to this computer.
C:\VNCPWD /v:test /h:snoopy /u:mydomain\smithj /p:123qwerty
Will change \\snoopy workstation VNC password to "test" using mydomain\smithj domain account associated with "123qwerty" password. You can omit the password if you want, you will be prompted to enter it later.
Will encrypt "test" using the VNC password encryption and then show you the result as an hexadecimal string.
Release 1.1.2 of 05/29/2003
- Fixing an issue with the distribution package (thanks to Christopher). This bug fix should solve the issues that some users recently get with changing local and remote passwords.
Release 1.1.1 of 02/15/2003
- Correct a display issue in the help message.
Release 1.1.0 of 11/17/2002
- First public release posted on my web site.
Release 1.0 of 10/19/2002
- Original version with HTML documentation. Not published on the Internet.
All files are copyright © Patrick Garnier, 2002, 2003, 2004. This software is provided as is - no warranty is given as to its suitability for any purposes to which you may wish to put it.