Can I initiate the UVNC server and give the password at the same time from one command or from a control program?
If the answer is yes, what language do you use to do so?
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
one command
Re: one command
This can be achieved by using a Batch Script with some 3rd party utilities.
I submit herewith a sample.
You need to download two free tools:
- vncpwd -- tool to encrypt the VNC password.
- inifile -- tool to write the encrypted vnc password into the file "ultravnc.ini"
Here is the structure of the Batch Script (I call it as Start_UltraVNC.bat):
After all files (vncpwd.exe; vncpwd.dll; inifile.exe; winvnc.exe; ultravnc.ini; Start_UltraVNC.bat; etc) are available, put them into one folder.
Open a Command Prompt window, and goto this folder, and then run (for e.g) this command:
Start_UltraVNC.bat 123
This will start the uvnc server with password setted as "123"
I submit herewith a sample.
You need to download two free tools:
- vncpwd -- tool to encrypt the VNC password.
- inifile -- tool to write the encrypted vnc password into the file "ultravnc.ini"
Here is the structure of the Batch Script (I call it as Start_UltraVNC.bat):
Code: Select all
rem ===========================
rem Sample Batch File to start a UVNC server with specified password
rem Syntax: (the following example starts the UVNC server with password "123")
rem Start_UltraVNC.bat 123
rem ===========================
vncpwd.exe /v:%1 /f:ultravnc.ini
inifile.exe ultravnc.ini [connection] password > temp.bat
call temp.bat
inifile.exe ultravnc.ini [ultravnc] passwd=%password%00
start winvnc.exe
Open a Command Prompt window, and goto this folder, and then run (for e.g) this command:
Start_UltraVNC.bat 123
This will start the uvnc server with password setted as "123"