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

winvnc gen key new_rc4.key with msrc4plugin 1.2.4

Should you have problems with the DSM plugin, here's the place to look for help or report issues
Post Reply
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

winvnc gen key new_rc4.key with msrc4plugin 1.2.4

Post by redge »

issue winvnc generating new key (Gen Key) with MSRC4Plugin.dsm
rename msrc4plugin-122.dsm ---> msrc4plugin.dsm

msrc4plugin.dsm (1.2.4) use as is (don't need rename :-))

recommanded MSRC4Plugin.dsm 1.2.4, available with ultravnc 1.0.6.4

if winvnc run as service system (started with windows before user logon)
new_rc4.key could be found on %systemroot%\system32 or %windir%\system32

if winvnc run as application.
new_rc4.key located on %programfiles%\ultravnc

anyway,
is better to create the key from the ultravnc viewer.
new_rc4.key always generated where the vncviewer started.

rename new_rc4.key ---> rc4.key and copy to place where winvnc.exe exist (exemple, folder of UltraVNC but not subfolder )

rc4.key must be strictly identical at both side (for server and viewer)

dsmplugin settings are not dynamic.
after change settings to winvnc running as service system
need a reboot or net stop/start uvnc_service (=>uvnc 1.0.4, 1.0.5, 1.0.5.6, 1.0.6.4)
need a reboot or net stop/start winvnc (<=uvnc 1.0.2)
or
close/open winvnc if running as application for apply change.


same release of dsmplugin at both side (viewer and server)


OS vista, known limit:

vncviewer <1.0.5.6
if vncviewer is installed on %programfiles%\UltraVNC\
require vncviewer run as administrator, then viewer can success connect with msrc4plugin-122.dsm (or msrc4plugin.dsm)
(bug of dsmplugin logging 1.2.2)

fixed with uvnc 1.0.6.4 and msrc4plugin.dsm 1.2.4

this not a problem if vncviewer +msrc4plugin.dsm +rc4.key are on folder like C:\test where read/write allowed for any users

remember hint Vista OS:
folder %systemroot%, %windir%, windows and %programfiles%, program files,
read/write access is allowed only with run as administrator even you are administrator of computer !!!
----------
Last edited by redge on 2009-07-12 01:12, edited 13 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
ashokr
8
8
Posts: 10
Joined: 2008-04-19 13:39

Re: winvnc gen key new_rc4.key with msrc4plugin-122.dsm

Post by ashokr »

Thanks to ridge for the pointer.

Just also remember to rename the new_rc4.key to rc4.key for it to take effect.

I just left it as new_rc4.key without renaming and expected it to work. :wink:
pwppili
8
8
Posts: 10
Joined: 2009-02-04 06:17

Re: winvnc gen key new_rc4.key with msrc4plugin-122.dsm

Post by pwppili »

Hi,

I already did what is stated on your post after generating key for DSM. but i still get errors:

"Connection failed - Inavlid Protocol !

Possible causes:

- You've forgetten to select a DSMPlugin and the server uses a DMSPlugin."

I also defined it on the server. but still no luck.
regards,
PAUL
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: winvnc gen key new_rc4.key with msrc4plugin-122.dsm

Post by redge »

the error you reported could be a false error if had test on localhost

How did you test your secure connection ?
localhost or another remote computer ?

for success test loopback with ultravnc encrypted or not, you need enabled allow loopback connection on your winvnc admin properties.
Last edited by redge on 2009-02-04 23:18, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
pwppili
8
8
Posts: 10
Joined: 2009-02-04 06:17

Re: winvnc gen key new_rc4.key with msrc4plugin-122.dsm

Post by pwppili »

Hi,

Test on localhost host is OK. But when i tried it to connect to another PC on LAN, i got that error. both server has defined and checked DSM plugin.

thanks,
PAUL
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: winvnc gen key new_rc4.key with msrc4plugin-122.dsm

Post by redge »

Test on localhost host is OK. But when i tried it to connect to another PC on LAN, i got that error. both server has defined and checked DSM plugin.
did reboot the ultravnc server computer ? Required:
dsmplugin is not dynamic change.

did you check there no one side request rc4.key and opposite side, don't require rc4.key
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
pwppili
8
8
Posts: 10
Joined: 2009-02-04 06:17

Re: winvnc gen key new_rc4.key with msrc4plugin-122.dsm

Post by pwppili »

Ive restarted the VNC server didnt solve the problem,
both DMS plugin are installed and activated on both end.

PAUL
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: winvnc gen key new_rc4.key with msrc4plugin-122.dsm

Post by redge »

i don't know where is your issue.
do have screen shot or command line you use that fail
viewer and server required.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
rtfmoz
Posts: 3
Joined: 2009-08-20 03:29

Re: winvnc gen key new_rc4.key with msrc4plugin 1.2.4

Post by rtfmoz »

The problem is people,

Just like me, don't understand they have to rename a file. The product doesnt work, they dont understand why and they just go find another product that does not have this problem.

This is far to complex for newbies when they have no experience with the product. If no key exists then it should just be created as rc4.key and not new_rc4.key

Just my two thousand cents...

Regards

Kevin
mike_noodles
Posts: 2
Joined: 2009-08-20 16:29

Re: winvnc gen key new_rc4.key with msrc4plugin 1.2.4

Post by mike_noodles »

So did anyone ever find the solution to this problem, as I am having the same issue and have tried many different things, but no luck yet, any help would be appreciated. (same version and keys on both sides, both boxes checked, etc...)
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: winvnc gen key new_rc4.key with msrc4plugin 1.2.4

Post by redge »

you can use securevncplugin.dsm that not suffer this limitation

http://adamwalling.com/SecureVNC/
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply