Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

DSM not working with server as service

Should you have problems with the DSM plugin, here's the place to look for help or report issues
Post Reply
Flotsam
Posts: 2
Joined: 2006-06-22 07:35

DSM not working with server as service

Post by Flotsam »

Hi all,

I've just spent an hour or so messing about with UltraVNC 1.0.1, trying to get a DSM connection working between two PCs in my office. I've set everything up according to instructions, and everything works fine with no DSM. If I add the DSM plugin to both the server and viewer (again, as described) the setup works just fine when I launch the server as an 'application' (i.e. by double-clicking the icon), and the app even remembers to use the plugin the next time I launch (so I assume a flag is being kept in the registry or a config file).

But if I set the VNC server to run as a Windows service, it refuses to use the DSM plugin. I've tried both Reg and NonReg plugins, I've put the key file in all of the search paths (UltraVNC application folder, system32 etc..), I've tried modifying the registry for the service to include the DSM module at launch time (as per the command-line viewer '/dsmplugin MSRC4Plugin.dsm') but nothing will get the module loaded.

I'm not sure if this is relevant - if I launch the VNCserver as a service, the System Tray icon doesn't appear, so I can't directly configure the server to load the module, whereas I can if I launch as an 'application'. I'm not Windows savvy enough to know if this is normal behaviour for services.

Any help much appreciated.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: DSM not working with server as service

Post by redge »

How to configure dsmplugin for winvnc running as service ?
  • For show winvnc icon systray per usage (not always)
    Start... All programs.... UltraVNC .... UltraVNC Server ... Show Default settings
    or
    from command line/Start... Run
    "%programfiles%\UltraVNC\winvnc.exe" -defaultsettings
  • for show winvnc icon systray to all logged user on host computer of vnc server.
    Start... All programs.... UltraVNC .... UltraVNC Server ... Run Service Helper
    or from command line/Start... Run
    "%programfiles%\UltraVNC\winvnc.exe" -servicehelper
MSRC4Plugin_NoReg (manage dsmplugin without registry)
http://msrc4plugin.home.comcast.net/msr ... noreg.html

or

MSRC4Plugin (manage dsmplugin trough registry)
http://msrc4plugin.home.comcast.net/msrc4plugin.html


rc4.key
create/add exactly same filename/content to vncserver/vncviewer for all MSRC4plugin requiring rc4.key
at \UltraVNC folder <--- for winvnc and vncviewer running as application (logged user)
or
%windir%\system32\rc4.key <--- for winvnc running as service
%systemroot%\system32\rc4.key <--- for winvnc running as service


MSRC4 Plugin - FAQ
http://msrc4plugin.home.comcast.net/faq.html
[topic=3049][/topic]


if this explanation is clear/not clear,
tell me what need to be removed/added to one /many steps above
Last edited by redge on 2006-06-23 02:43, edited 2 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Flotsam
Posts: 2
Joined: 2006-06-22 07:35

Re: DSM not working with server as service

Post by Flotsam »

redge,

Thank you!

I am *LAME* :(

Lame lame lame...

I can't believe I didn't actually bother to check the Start-menu entry for UltraVNC - for some reason it never occurred to me that there was one.

Actually, I had been using the viewer application by directly doucle-clicking the application icon, and I'd been reading about UltraVNC SC and the NoReg plugin - I had 'zero evidence install' on the brain... At least, that's my excuse - and I'm going to stick with it!

LAME

Cheers!
Post Reply