SysWorkSoft.net!HomeSupportDownload
Contacts
Links
System & network administration  

VNCPWD.EXE

VNCPWD.EXE 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.

VNCPWD.EXE - 1.1.2

Installation

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.

Syntax

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> </?>

where :

Switch Explain
/h:hostname "hostname" is a remote computer name
/u:username "username" should be in form domain\user
/p:password "password" is the password associated with username
/f:filename "filename" is the VNC Option filename
/v:vncpassword "vncpassword" is the new VNC password to set
/l[:username] Change password for remote "username"
/e:password Encrypt the clear text "password"
/y Force changes to be applied
/g Change password also for the HKCU hive
/? Shows help

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.

Examples

C:\VNCPWD /v:test

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.

C:\VNCPWD /e:test

Will encrypt "test" using the VNC password encryption and then show you the result as an hexadecimal string.

Update History

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.

License & Disclaimer

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.

© 1998-2006 SysWorkSoft.net